Create LACP aggregates in Solaris 10

Posted June 2, 2009 by drice39 in Solaris networking

Link Aggregation Control Protocol (LACP) allows multiple network interfaces to work together to increase bandwidth and redundancy. LACP is simlar to IPMP (IP Multipathing) however IPMP is wasteful with IP addresses and can cause problems with ssh remote execution. Whereas LACP only requires one IP address, you need to ensure that your switches support LACP. In this example we are using the IP-hashing method, so ensure that your switch is setup for IP-hashing/Layer 3 hashing.

To create an aggregate:

dladm create-aggr -l active -PL3 -d e1000g0 -d e1000g1 1
ifconfig aggr1 plumb
ifconfig aggr1 192.168.1.100 netmask 255.255.255.0 up

To remove the aggregate:

dladm delete-aggr 1

To remove an interface:

dladm remove-aggr -d e1000g1 1

The Conversation

Follow the reactions below and share your own thoughts.

  • Ian Campbell

    IPMP is not wasteful with IP addresses; when using IPMP in probe-based configurations, it uses those additional addresses to test end-to-end connectivity with the next hop at a higher level than LACP, or even link based IPMP configuration. This provides better testing of the link, although with the additional address cost.

  • Babang Juwanto

    nice

  • Dan

    dladm create-aggr -l active -PL3 -d e1000g0 -d e1000g1 1 ifconfig aggr1 plumb

    This is really two separate commands:

    dladm create-aggr -l active -PL3 -d e1000g0 -d e1000g1 1
    ifconfig aggr1 plumb

    There either was a semicolon or a line-break left out. 😉

    It’s also helpful to note that the one at the end of the dladm command is the aggregate key. It’s used to create the device name – aggr1.