Computer Hardware User Manual
60 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010
Configuring Link Aggregation in a
Linux Environment
This section explains how to configure link aggregation in a Linux environment.
▼ To Configure Bonding for Multiple nxge
Interfaces
1. Modify 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 eth4 and eth5.
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 eth4 eth5