Sun Microsystems Gigabit Ethernet MMF/UTP Adapter manual Load the bonding driver

Models: Gigabit Ethernet MMF/UTP Adapter

1 122
Download 122 pages 59.52 Kb
Page 120
Image 120
▼To Configure Bonding for Multiple e1000 Interfaces

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:

alias bond0 bonding

options bonding max_bonds=2 mode=4 miimon=1000

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:

#modprobe bonding

3.Configure bond0 interface.

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

#ip addr add 192.12.38.64/24 brd + dev bond0

#ip link set dev bond0 up

#ifenslave bond0 eth2 eth3

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

Page 120
Image 120
Sun Microsystems Gigabit Ethernet MMF/UTP Adapter manual To Configure Bonding for Multiple e1000 Interfaces