Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

RE: [rhelv5-list] Re: running bonds with different configs ?

Zavodsky, Daniel (GE Money)

2008-04-16

Replies: Find Java Web Hosting

Author LoginPost Reply
So that's how it is done! It seems that the documentation on Red Hat
site is outdated...

Thanks,
 Daniel


-----Original Message-----
From: rhelv5-list-bounces@(protected)
[mailto:rhelv5-list-bounces@(protected)
Sent: Wednesday, April 16, 2008 1:17 PM
To: rhelv5-list@(protected)
Subject: [rhelv5-list] Re: running bonds with different configs ?

On 2008-04-16, Gerrard Geldenhuis <Gerrard.Geldenhuis@(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
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list



_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.