Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NIC Bonding not behaving as it should

Amit ShilMay 5 2013 — edited Jun 22 2013
Hi Folks, am trying to setup NIC bonding on my VM (OEL5u6) having two virtualised NICs, i have done the setup which is quite simple however my active-backup mode is not working as expected.

My Bonded interface

[root@Gateway network-scripts]# cat ifcfg-bond0
DEVICE=bond0
IPADDR=192.169.25.2
NETMASK=255.255.255.248
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
BONDING_OPTS='mode=active-backup miimon=1000'
TYPE=Ethernet

individual interfaces

[root@Gateway network-scripts]# cat ifcfg-eth2
DEVICE=eth2
HWADDR=08:00:27:1e:57:cf
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
[root@Gateway network-scripts]# cat ifcfg-eth4
DEVICE=eth4
HWADDR=08:00:27:46:69:69
MASTER=bond0
SLAVE=yes
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

Bonding status (looks good)

[root@Gateway network-scripts]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 1000
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 08:00:27:1e:57:cf

Slave Interface: eth4
MII Status: up
Link Failure Count: 0
Permanent HW addr: 08:00:27:46:69:69


I am doing a continous ping from another host in the same n/w to this bonded interface IP to check if the ping streak breaks when i test this setup

Testing -

[root@Gateway network-scripts]# ifenslave -c bond0 eth4

and that's it my SSH connection is gone, and ping is broken with "Request timed out"

when i check the bond status now -

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth4
MII Status: up
MII Polling Interval (ms): 1000
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 08:00:27:1e:57:cf

Slave Interface: eth4
MII Status: up
Link Failure Count: 0
Permanent HW addr: 08:00:27:46:69:69


am afraid there's not much help in the message log to debug this.

Any views what's wrong and how to resolve? appreciate ur replies. Thanks

Regards Amit
This post has been answered by Dude! on Jun 2 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2013
Added on May 5 2013
21 comments
19,149 views