Custom bridge script; upgrade from Fedora 6 to Fedora 8

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

 



Hi,

Since upgrading from Fedora 6 to Fedora 8 my custom bridge script stopped working. I need to have both eth0 and eth1 bridged into each XM. My xen machines are just defined in old-style /etc/xen/foo configuration files, like

vif = [ 'mac=00:16:3e:42:08:1d, bridge=xenbr0', 'mac=00:16:3e: 42:08:1e, bridge=xenbr1' ]

I've changed that to

vif = [ 'mac=00:16:3e:42:08:1d, bridge=eth0', 'mac=00:16:3e:42:08:1e, bridge=eth1' ]

but when I do a "xm create foo" I still end up with the new interfaces on the wrong bridge!

# brctl show
bridge name	bridge id		STP enabled	interfaces
eth0		8000.0030488c8a26	no		peth0
eth1		8000.0030488c8a27	no		peth1
xenbr0		8000.feffffffffff	no		vif1.0
xenbr1		8000.feffffffffff	no		vif1.1

If I manually move the vifX.X interfaces to the eth0/eth1 bridges then everything works.

This is my custom bridge script:

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" netdev=eth1 bridge=eth1
"$dir/network-bridge" "$@" netdev=eth0 bridge=eth0

Any ideas?


 - ask

--
http://develooper.com/ - http://askask.com/


--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux