Справочник Пользователя для Q-Logic 3000

Скачать
Страница из 120
NE0154601-00  C
9-1
9
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 
 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.