Q-Logic 3100 Network Card User Manual


 
NE0154601-00 A 7-1
7 Linux Configuration for
Bonding Mode and Virtual
LAN (VLAN)
Linux Bonding Mode
Ensure that the steps required for installing the RPM source, creating the binary,
and installing the binary have been performed as described in “QLogic Adapter
Driver Installation (RPM Format)” on page 6-5 before setting up Linux bonding
mode.
Type the following command to verify that the QLogic adapter driver has been
installed:
% lsmod | grep nx_nic
Type the following command to install the driver (if it has not yet been installed):
% modprobe -v nx_nic
The steps for setting the Linux bonding mode are as follows. Note that these are
example commands. The actual commands may be different depending on the
system configuration.
1. % modprobe bonding mode=1 miimon=100 updelay=50000
primary=eth16
2. % ifconfig bond0 25.145.1.199 netmask 255.255.255.0
broadcast 25.145.1.255 up
3. % ifenslave bond0 eth15 eth16
Type the following command to bring down the bond:
% ifconfig bond0 down
NOTE:
These commands and steps have been tested under RHEL5. Other Linux
distributions and versions may enable and utilize bonding differently.