[CentOS] Xen with multiple virtual network interfaces with one bond

Coert Waagmeester lgroups at waagmeester.co.za
Wed Jun 17 12:25:44 UTC 2009


Sorry for mailing this to the wrong list. Rectified

On Wed, 2009-06-17 at 14:21 +0200, Coert Waagmeester wrote:
> 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
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list