Hi all!
I'm experiencing strange behaviour of the network on a domU.
(dom0 is Ubuntu 6.06 and domU is Debian Sarge)
The domU has tho NIC-s configured with the following file (etc/xen/vm01):
---------------------------------------------
kernel = "/boot/vmlinuz-2.6.16-xen"
ramdisk = "/boot/initrd.img-2.6.16-xen"
memory = 196
name = "xen01"
vif = ['ip=192.168.1.111, bridge=xenbr0','ip=192.168.1.112, bridge=xenbr0']
hostname = "xen01"
disk = [ 'file:/opt/xen/domains/vm01/rootimage,hda1,w',
'file:/opt/xen/domains/vm01/swapimage,hda5,w',
'file:/opt/xen/domains/vm01/varlibimage,hda6,w',
'file:/opt/xen/domains/vm01/wwwimage,hda7,w' ]
root = "/dev/hda1 ro"
---------------------------------------------
When I boot domU with only one NIC configured in the domU's
/etc/network/interfaces everything is fine. When I boot domU with both
NIC's configured in the domU's /etc/network/interfaces then I can't
even ping hosts on the internet ("inter-dom" networking semms to work,
but is strange, half a minute to get an ssh prompt). Here's the
interfaces file:
---------------------------------------------
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.111
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.1.1
auto eth1
iface eth1 inet static
address 192.168.1.112
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.1.1
---------------------------------------------
BUT! When, after booting, I disable eth1 (ifconfig eth1 down)
everything works! AND! If I reenable eth1 everything is still working.
A patch to the networking script inside domU (/etc/init.d/networking)
seems a bit "brute force".
Am I missing something???? Why is the network not working after
booting but after disabling and reenabling eth1? Is it some xen bridge
related issue?
Thanks,
David
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|