C H A P T E R 7 |
Configuring Link Aggregation |
This chapter describes how to configure link aggregation. This chapter contains the following sections:
Link aggregation enables one or more network links to be aggregated together to form a link aggregation group. This link aggregation group appears to MAC clients as a regular link. Link aggregation is defined by IEEE 802.3ad and provides the following benefits:
This section explains how to configure link aggregation in a Solaris environment.
To Configure Link Aggregation in a Solaris Environment |
1. Aggregate nxge0 and nxge1 to form an aggregation and use a random number as key.
a. Unplumb the interfaces to be aggregated:
b. Create a link aggregation group with a random number as a key without specifying mode. This example uses 33.
As the command returns, one line appears in the /etc/aggregation.conf file and indicates that the default mode is off. For example:
2. Plumb up the interface aggrkey, which is aggr33 is this case:
3. Show link aggregation status again.
The state should become attached:
4. Use the dladm show-aggr -s command to display statistics:
# dladm show-aggr -s key: 33 ipackets rbytes opackets obytes %ipkts %opkts Total 0 0 16 1182 nxge0 0 0 16 1182 - 100.0 nxge1 0 0 0 0 - 0.0 |
5. Use the dladm show-aggr -L command to display LACP specific information:
For more information refer to the man pages for dladm, man dladm.
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 the 2.6 kernels file by adding these lines:
Refer to Linux documentation for more information.
3. Configure the bond0 interface.
In this example, bond0 is the master of the two interfaces eth4 and eth5.
# ip addr add 192.12.38.64/24 brd + dev bond0 # ip link set dev bond0 up # ifenslave bond0 eth4 eth5 |
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.