Configuring Channel-Bonding Interfaces - NEC Express5800/ftServer Administrator's Manual

Linux operating system
Table of Contents

Advertisement

Ethernet Devices
eth080010
eth080011
In
Example
5-6, there are two online channel-bonding interfaces (masters), bond0 and
bond1, each composed of two physical interfaces (slaves). The output shows the four
physical slave interfaces in the system and also shows their status and the name of the
bond to which they belong. Note that three other channel-bonding interfaces are
defined by default, but they are not configured and are therefore offline.
You can monitor additional information about the currently installed channel-bonding
and physical interfaces by running the Linux ifconfig tool.

Configuring Channel-Bonding Interfaces

You configure and administer channel-bonding interfaces using standard Linux
procedures. Configuration of channel-bonding interfaces is controlled by the ifcfg-*
files in the /etc/sysconfig/network-scripts directory. You modify existing
channel bond configurations by editing the bond's ifcfg-bondn file or the bond's
slaves' interface ifcfg-eth* files. Additionally, you use standard Linux network
utilities like ifdown, ifup, service, ifconfig, ip, and route.
By default, the system supports five channel-bonding interfaces. In the unlikely event
that you must configure more than five bonding master interfaces (up to a maximum of
10), modify the options line in the /etc/modprobe.d/ft-network.conf file so that
max_bonds=x, where x is the desired number of channel-bonding interfaces. Perform
the following procedure to activate configuration-file modifications.
To activate configuration-file modifications
1. Type the ifdown command to stop all network interfaces.
2. Type the rmmod command to unload the bonding kernel module. This disables
network access.
3. Type the modprobe command to reload the bonding module. This enables
network access with the newly designated number of channel-bonding interfaces.
4. If necessary, type an ifup bondN command for each bonded interface you wish
to restart.
All channel-bonding interfaces must operate in the same mode. If you want to change
the mode from the default setting (mode 1, active-backup mode), modify the options
line in the /etc/modprob.d/ft-network.conf file so that mode=x, where x is the
desired mode of operation. To activate configuration-file modifications, perform the
preceding procedure.
5-28
Express5800/ftServer: System Administrator's Guide for the Linux Operating System
bond0
DUPLEX
bond1
DUPLEX
UP
-
UP
-
-
-

Advertisement

Table of Contents
loading

Table of Contents