Operating System - Linux
1824877 Members
3771 Online
109675 Solutions
New Discussion юеВ

miimon setting for network bonding

 
Kenneth Leung_2
Frequent Advisor

miimon setting for network bonding

I have binded 2 NIC (eth0, eth6) into a network bdnding NIC (bond0), with IP address 130.20.61.41.

The following line was added in the /etc/modules.conf under bond0

options bond0 mode=1 miimon=500 max_bonds=3

Recently, our application suffer timeout ping 130.20.61.254 via bond0 occassionally. I just want to ask if it is ok to set the "option" value at modules.conf under bond0, or put the setting under the ifup scripts for eth0 / eth6.

Pls help. Many thanks
2 REPLIES 2
Alexander Chuzhoy
Honored Contributor

Re: miimon setting for network bonding

Yes you can use the options value in the /etc/modules.conf file.
Below is the line from my modprobe.conf:
options bonding miimon=100 mode=active-backup

It means that if one card fails-second starts to work. mode=1 in your file means the same.
I assume that you use an older version of RedHat (/etc/modules.conf is called /etc/modprobe.conf on newer versions).

David I Whitehouse
New Member

Re: miimon setting for network bonding

If you
cat /proc/net/bond0/info

you'll see that the options you configured in /etc/modules.conf have been applied.

EG Output:

Bonding Mode: fault-tolerance (active-backup)
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Multicast Mode: all slaves

Slave Interface: eth1
MII Status: up
Link Failure Count: 0

Slave Interface: eth0
MII Status: up
Link Failure Count: 2