|
From: Motycka J. <mai...@vc...> - 2011-03-29 06:49:37
|
Thank you very much for this quick workaround. It is functional for me too. I have made submission of a bug to the DL bugtrack system. Jiri Motycka -------- Original Message -------- Subject: Re: [Devil-Linux-discuss] multiple bonds devices From: Serge Leschinsky <ser...@gm...> To: dev...@li... Date: 03/29/2011 07:14 AM > Hello Motycka, > > It looks like it's not possible to configure it by network scripts. I'm not sure > that it's clear how to fix - we need some time to think. > > As a workaround (ugly, I know) you can change the mode for already created bond, > i.e. > for bond0 - MODULE_OPTS="max_bonds=2 mode=2 miimon=100" > > --------------------------------------------------- > root@dl1:/shm/etc/sysconfig/nic # grep -v "^#" ifcfg-bond0 > DHCP=no > ONBOOT=yes > DEVICE=bond0 > MODULE=bonding > BONDING_MASTER=yes > BONDING_SLAVES='eth0 eth1' > MODULE_OPTS='max_bonds=2 mode=2 miimon=100' > > --------------------------------------------------- > > then add the line to the end of ifcfg-bond1: > > echo "4"> /sys/devices/virtual/net/bond1/bonding/mode > > --------------------------------------------------- > root@dl1:/shm/etc/sysconfig/nic # grep -v "^#" ifcfg-bond1 > DHCP=no > ONBOOT=yes > DEVICE=bond1 > MODULE=bonding > BONDING_MASTER=yes > BONDING_SLAVES='eth2 eth3' > MODULE_OPTS='' > > echo "4"> /sys/devices/virtual/net/bond1/bonding/mode > --------------------------------------------------- > > > The result: > > root@dl1:/shm/etc/sysconfig/nic # for i in 0 1 ; do echo bond$i ; cat > /proc/net/bonding/bond$i | grep "Bonding Mode"; done > bond0 > Bonding Mode: load balancing (xor) > bond1 > Bonding Mode: IEEE 802.3ad Dynamic link aggregation > > > Could you please also submit a bug to not forget about proper fixing? > > > Serge > > > On 03/28/2011 07:04 AM, Motycka Jiri wrote: >> Hello. >> >> Do you knouw, if is possible to start up multiple bond devices with >> diffedent modules parameters? >> For example bond0 in mode XOR and bond1 in mode 802.3ad. >> >> I was only be able to startup 2 bond devices with same config. Bond0 >> ifcfg-file startup two devices (MODULE_OPTS="max_bonds=2 mode=2 >> miimon=100), but in ifcfg-bond1 config file MODULE_OPTS="mode=4 >> miimon=100" had no effect :(. >> >> Is there any possibility how to configure it? >> >> Thank you. >> Jiri Motycka >> >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> _______________________________________________ >> Devil-linux-discuss mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >> > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |