In the script below in the part 1) :
- Take a clone of an existing VM
- Create a new private network
- Create and attached new interface to our VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (1) | |
$ xe vm-copy vm=vm-10 new-name-label=gateway-vm | |
$ xe network-list | |
$ xe vif-create network-uuid=b211707c-0f56-b33e-22b0-ad1816914b8a device=3 vm-uuid=4fb0febb-5659-f9b5-abf6-21cd63632c5b | |
$ xe vif-plug uuid=02600ba0-b040-733f-bcce-e64661dcb352 | |
$ xe console vm=gateway-vm | |
# (2) | |
root@gateway-vm:/etc/network# cat interfaces | |
iface eth2 inet static | |
address 192.168.32.1 | |
netmask 255.255.255.0 | |
# ifup eth2 | |
# ip addr | |
# ip route |
http://blogs.citrix.com/2013/03/18/virtual-hypervisor/
https://wiki.debian.org/NetworkConfiguration
http://docs.vmd.citrix.com/XenServer/4.0.1/reference/ch03s02.html
No comments:
Post a Comment