Coert Waagmeester
2009-Jun-17 12:25 UTC
[CentOS-virt] Xen with multiple virtual network interfaces with one bond
Hello all, I have been running xen for a while now with two interfaces: dummy0 for host only communication, and eth0 for the outside network. my script looks like this: (/etc/xen/scripts/network-bridge-more) ------------------------------------------------------------------ #! /bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=dummy0 bridge=xenbr0 "$dir/network-bridge" "$@" vifnum=1 netdev=eth0 bridge=xenbr1 ------------------------------------------------------------------ now i have a newer setup where eth0 and eth1 are bonded. If i change eth0 in the above script to bond0 it messes up the bond completely and stops working. I have use /etc/xen/scripts/network-bridge-bonding, and that works, but then I can only have one virtual network for my domU I have tried this: ------------------------------------------------------------------ #! /bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=dummy0 bridge=xenbr0 "$dir/network-bridge-bonding" "$@" vifnum=1 netdev=bond0 bridge=xenbr1 ------------------------------------------------------------------ but that also does not work. It also messes up my bond. Any tips would be greatly appreciated. Kind regards, Coert
Christopher G. Stach II
2009-Jun-18 03:42 UTC
[CentOS-virt] Xen with multiple virtual network interfaces with one bond
----- "Coert Waagmeester" <lgroups at waagmeester.co.za> wrote:> now i have a newer setup where eth0 and eth1 are bonded. > > If i change eth0 in the above script to bond0 it messes up the bond > completely and stops working.Use the regular configuration files for bonding, not the ones for Xen. This should be covered in the list archives. -- Christopher G. Stach II