1753534 Members
5955 Online
108795 Solutions
New Discussion юеВ

Bonding in rhel

 
AVV
Super Advisor

Bonding in rhel

Hello,

I am having a blade server with two nic cards and I tried to bonding of those and succeeded. But the mode i wanted is active/passive, right now it seems to be active/active (Bonding Mode: load balancing (round-robin)). Can someone help me in this.

RHEL 5.3 64 Bit.
5 REPLIES 5
Alexander Chuzhoy
Honored Contributor

Re: Bonding in rhel

Have you added the following to /etc/modprobe.conf:
options bonding miimon=100 mode=active-backup
Thomas Callahan
Valued Contributor

Re: Bonding in rhel

You need to set the options in /etc/modprobe.conf as stated above.

Note that if you have more than 1 bonding device, you need to also should set "options bonding max_bonds=x" where x is the number of bonding devices you want to use. mode=1 will set active/passive
Tim Nelson
Honored Contributor

Re: Bonding in rhel

I had issues with bonding reverting to round-robin for a still unknown reason.

if you think you are set up correctly and /proc/net/bonding/bond0 says bonding mode is active-backup, but it still uses round-robin, then use all the options listed below.

options bonding mode=1 miimon=100 downdelay=200 updelay=200 max_bonds=1 primary=eth0


Please post your experience.
Gerardo Arceri
Trusted Contributor

Re: Bonding in rhel

For RHEL 5.3 the right way of settign bonding options is by doing it on the /etc/sysconfig/network-scripts/ifcfg-bondX, you should add a line like this one to get an active-backup configuration
BONDING_OPTS="mode=1 miimon=100 primary=ethX"

For moreinfo refer to:
kbase.redhat.com/faq/docs/DOC-9708

No need to specify the settings on /etc/modprobe.conf
AVV
Super Advisor

Re: Bonding in rhel

mode=1 setting in /etc/modprobe.conf works well.Thx