Linux NIC Bonding Issue (CentOS 4 / RHEL 3)

Posted by jinanwow on Server Fault See other posts from Server Fault or by jinanwow
Published on 2010-03-25T15:42:12Z Indexed on 2010/03/25 15:43 UTC
Read the original article Hit count: 470

Filed under:
|
|
|

I am having an issue with bonding NICs on CentOS 4. It appears the bonding driver does work, but it is stuck in round-robin mode and I am trying to get to active-backup.

The current config is:

ifcfg-bond0

DEVICE=bond0
IPADDR=192.168.204.18
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
TYPE=Bonding
BONDING_OPTS="mode=1 miimon=100"

ifcfg-eth1

DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
MASTER=bond0
SLAVE=yes

ifcfg-eth3

DEVICE=eth3
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
MASTER=bond0
SLAVE=yes

cat /proc/net/bonding/bond0

Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)

Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:17:a4:8f:94:b1

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:1b:21:56:b8:69

cat /etc/modprobe.conf

alias eth0 tg3
alias eth1 tg3
alias eth3 e1000
alias eth2 e1000
alias bond0 bonding
options bond0 mode=1 miimon=100

I have tried moving the bonding information out of the ifcfg-bond0 into the modprobe configuration file. It seems that it is stuck in RR and I am trying to get it into the Active-backup (mode 1) state.

Any ideas what would be causing this issue?

© Server Fault or respective owner

Related posts about linux

Related posts about bonding