I am looking to establish a network bond for local traffic and one for the xen traffic before the bridge is created. When bonding the ports can the Cisco switch ports also be bundled as well so I have redundancy there as well or will this cause a problem? Thanks in advance _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''ve successfully done this. it''s fairly easy: * in gentoo make net.bond0 and net.bond1 and in xen use bond0 instead of eth0, call the bridge also bond0. I did had to change the network-bridge script. because it gave issues. I''ll see if i can post a diff. Sincerely, Maarten Op Tuesday 27 October 2009 14:16:55 schreef Joseph Coleman:> I am looking to establish a network bond for local traffic and one for the > xen traffic before the bridge is created. When bonding the ports can the > Cisco switch ports also be bundled as well so I have redundancy there as > well or will this cause a problem? > > Thanks in advance-- BA N.V. - http://www.ba.be _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''ve successfully done this. it''s fairly easy: * in gentoo make net.bond0 and net.bond1 and in xen use bond0 instead of eth0, call the bridge also bond0. diff for bonding to work: renaming the interface did not work, so i deleted and recreated it; that also didn''t work, because my dom0 has no ip address on the bond, so this is the fix: --- /etc/xen/scripts/._cfg0000_network-bridge 2009-10-23 15:42:37.000000000 +0200 +++ /etc/xen/scripts/network-bridge 2009-10-19 14:23:09.870223434 +0200 @@ -111,7 +111,9 @@ # use the info from get_ip_info() ip addr flush $1 ip addr add ${addr_pfx} dev $1 - ip link set dev $1 up + fi + ip link set dev $1 up + if [ -n "$addr_pfx" ] ; then [ -n "$gateway" ] && ip route add default via ${gateway} fi fi @@ -226,6 +228,7 @@ # Remember slaves for bonding interface. if [ -e /sys/class/net/${netdev}/bonding/slaves ]; then slaves=`cat /sys/class/net/${netdev}/bonding/slaves` + ifenslave -d ${netdev} ${slaves} fi # Remember the IP details for do_ifup. get_ip_info ${netdev} Sincerely, Maarten Op Tuesday 27 October 2009 14:16:55 schreef Joseph Coleman:> I am looking to establish a network bond for local traffic and one for the > xen traffic before the bridge is created. When bonding the ports can the > Cisco switch ports also be bundled as well so I have redundancy there as > well or will this cause a problem? > > Thanks in advance-- BA N.V. - http://www.ba.be _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- BA N.V. - http://www.ba.be _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Oct 27, 2009 at 8:16 PM, Joseph Coleman <joe.coleman@infinitecampus.com> wrote:> I am looking to establish a network bond for local traffic and one for the > xen traffic before the bridge is created. When bonding the ports can the > Cisco switch ports also be bundled as well so I have redundancy there as > well or will this cause a problem?AFAIK you only need to configure 802.3ad on the switch if you use 802.3ad bonding mode (mode 4). Other modes (including the default balance-rr) does not need it. See README for bonding, which should be installed by default (/usr/share/doc/iputils-20020927/README.bonding on RHEL5). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users