Q-Logic 3100 Network Card User Manual


 
7–Linux Configuration for Bonding Mode and Virtual LAN (VLAN)
Linux Bonding Mode
NE0154601-00 A 7-3
The output for this command is:
MII Status: up (for eth15)
Round-Robin or Mode=0
This mode implements a round-robin scheme between the two Ethernet ports. To
set the round-robin mode, type the following command:
% modprobe bonding mode=0 miimon=100 updelay=50000 primary=eth16
After the command is executed, both links delay for 50 seconds before their states
are set to BOND_LINK_UP.
Type the following command to check the status of the bonding process:
% cat /proc/net/bonding/bond0
The output for this command is:
Ethernet Channel Bonding Driver: v3.0.1
Bonding Mode: load balancing (round-robin) MII Status: up MII
Polling Interval (ms): 100 Up Delay (ms): 50000 Down Delay (ms): 0
Slave Interface: eth16
MII Status: down
<========== down state
Link Failure Count: 0
Permanent HW addr: 00:0e:1e:00:11:d2
Slave Interface: eth15
MII Status: down
<========= down state
Link Failure Count: 0
Permanent HW addr: 00:0e:1e:00:11:d3
After 50 seconds, type the command again to verify the MII status of the Ethernet
ports:
% cat /proc/net/bonding/bond0