To configure bonding for multiple e1000 interfaces – Sun Microsystems Ethernet MMF/UTP Adapter User Manual

Page 120

Advertising
background image

86

Sun PCI-Express Dual Gigabit Ethernet MMF/UTP Adapter Installation and User’s Guide • June 2006

▼

To Configure Bonding for Multiple e1000
Interfaces

1. Modify the /etc/modules.conf file for 2.4 kernels or the /etc/modprobe.conf

file for 2.6 kernels file by adding these lines:

where:

■

bond0

is the bonding device.

■

max_bonds

is the number of bond interfaces to be created.

■

mode

specifies the bonding policies.

■

miimon

is the frequency in milliseconds that MII link monitoring will occur.

Refer to Linux documentation for more information.

2. Load the bonding driver:

3. Configure bond0 interface.

In this example, bond0 is the master of the two interfaces eth2 and eth3.

alias bond0 bonding

options bonding max_bonds=2 mode=4 miimon=1000

# modprobe bonding

# ip addr add 192.12.38.64/24 brd + dev bond0

# ip link set dev bond0 up

# ifenslave bond0 eth2 eth3

Advertising