[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] unpredictible multiple bridge behaviour.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.