[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] network-nat/vif-nat question
Hello, After unsuccessful attempts to configure DomU to obtain IP address from dhcpd on Dom0 listening on xenbr0 I have followed these instructions for network configuration: http://www.howtoforge.com/perfect_setup_xen3_debian_p6. I have Dom0 Debian Etch + DomU Debian Etch. /etc/xen/xend-config.sxp has the following lines: (network-script network-nat) (vif-script vif-nat) And here is DomU configuration: name="vm01" kernel = "/boot/vmlinuz-2.6.16-2-xen-k7" ramdisk = "/boot/initrd.img-2.6.16-2-xen-k7" root="/dev/sda1" memory=128 disk=['file:/xen/debian/vm01.img,sda1,w','file:/xen/debian/vm01-swap.img,sda2,w'] # network vif = [ 'ip=10.0.0.1' ] dhcp="off" ip="10.0.0.1" netmask="255.0.0.0" gateway="10.0.0.254" hostname="vm01.mydomain.com" extra="3" /etc/network/interfaces from DomU: auto lo iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.0.0.0 gateway 10.0.0.128 hostname vm01.mydomain.com I have made gateway="10.0.0.128" when I saw that vifX.0 is being assigned this address during DomU startup. After DomU boots it can ping DomO's public IP address, but not anything on Internet cause packets flow to Internet with 10.0.0.1 source IP. This is same issue I have suffered from trying to employ Dom0's dhcpd. What would you suggest? Please CC to my private e-mail cause I am not subscribed to the list. Thanks in advance. -- Sincerely, Andrew Pogrebennyk PortaOne, Inc., Support Engineer http://www.portaone.com/ _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |