WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Strange networking behaviour

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Strange networking behaviour
From: "Janke Dávid" <janke.david@xxxxxxxxx>
Date: Tue, 15 Aug 2006 01:18:15 +0200
Delivery-date: Mon, 14 Aug 2006 16:18:59 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Lyy2CQWUUUfCbCBGszeXb9Qps1C10sw0YuEMvt7W+fXNsD1HbVG5uRFVYihmN5jicBT7PBPH+fHuudCp54hAgLYgo7MvVuErfy0Q5v6nE7Bzofy6JRWLYW3AryV/am36NLm+jnmPq+gsNGs6ri/NHvHXfGhN6VmzFSLSgupTIXg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Strange networking behaviour, Janke Dávid <=