Xen with multiple virtual network interfaces with one bond

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



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux