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] unpredictible multiple bridge behaviour.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] unpredictible multiple bridge behaviour.
From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
Date: Wed, 21 Mar 2007 16:41:30 +0100
Delivery-date: Wed, 21 Mar 2007 08:40:34 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Qk+Idnd5R/Fi5vS/bFb3iuuAnrfE6rZA7zqrK2CN5qD9Rf0TeCQkI++8cQyWTKM5fRudXK3pokf7I26Ssz/5pFyMV5nZdL8XkjVDuEMwq+ryUuaVGjjwsIaVqE/yP/bBHX4fXitPVP7yyCJhlXvmu98xQerQtJs/ycy8C4luj9U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Cr3iP28s1/lI/mcGM0klQdSTLZnYuWQKMYNLxerYOQa7Harz09HyUUXKedlqvfH7YNa+bL2crbF56DPkaiocEzDPPNiuZffl1iOOTbIKTxfe72nNd6Tx1WFr9qwWd/WKCBn5LrnQ79gVxysJmNXIJ3Vib30Do7St7MMIT3NnO5c=
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,

I'm using two bridges.
Since upgrading from 3.0-2 to 3.0-4 the vif's are randomly
interchanged when passed to domU.

sometimes vif1.0 gets assigned to eth0 and vif1.1 to eth1 on domU
sometimes vif1.1 gets assigned to eth0 and vif1.0 to eth1 on domU

I've tried two 'my-network-bridge' scripts.

1.
#!/bin/bash
case "$1" in
start)
/etc/xen/scripts/network-bridge start bridge=xenbr0 netdev=eth0
vifnum=0 antispoof=no
/etc/xen/scripts/network-bridge start bridge=xenbr1 netdev=eth1
vifnum=1 antispoof=no
;;
stop)
/etc/xen/scripts/network-bridge stop bridge=xenbr0 netdev=eth0 vifnum=0
/etc/xen/scripts/network-bridge stop bridge=xenbr1 netdev=eth1 vifnum=1
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

and 2.
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0
"$dir/network-bridge" "$@" vifnum=1

Both with the same result.

Any ideas?
Thanks.
Chris.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>