On 2008-04-16, Gerrard Geldenhuis <[EMAIL PROTECTED]> wrote:
> Try setting your bonding options in ifcfg-bond0 like the following:
>
> DEVICE=bond0
> BOOTPROTO=static
> ONBOOT=yes
> IPADDR=192.168.0.1
> NETMASK=255.255.255.0
> BONDING_OPTS="mode=active-backup miimon=5 updelay=250"
>
> You should be able to do that for each bond although I have not tested
> it so don't know if it will work.
>
Great, thanks! That seems to be what I was looking for. And
then /etc/sysconfig/network-scripts/ifup-eth is echoing the
BONDING_OPTS into the individual bonds:
for arg in $BONDING_OPTS ; do
key=${arg%%=*};
value=${arg##*=};
echo $value > /sys/class/net/${DEVICE}/bonding/$key
done
-jf
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list