Link aggregation and IPMP in Solaris 11

Link aggregations provide high availability and higher throughput by aggregating multiple interfaces at the MAC layer on other hand IPMP provides high availability at IP layer. Link aggregation interfaces need to be connected to same ethernet switch but for IPMP there is no such limitation. So IPMP provides the switch level redundancy. In this article I have shown the IPMP creation on top of aggregation. First we will create aggregation then on top of that will create IPMP.

Requirement of link aggregation:
An interface on which IP is assigned can’t be member of link aggregation
All interfaces in aggregation must run at same speed.
We must use the MAC address to true in eeprom.

  • Created aggr1 using net1 and net2.

root@solaris11:~# dladm create-aggr -l net1 -l net2 aggr1

root@solaris11:~# dladm show-aggr
LINK MODE POLICY ADDRPOLICY LACPACTIVITY LACPTIMER
aggr1 trunk L4 auto off short

root@solaris11:~# dladm show-link
LINK CLASS MTU STATE OVER
net0 phys 1500 up —
net4 phys 1500 unknown —
net5 phys 1500 unknown —
net6 phys 1500 unknown —
net1 phys 1500 up —
net2 phys 1500 up —
net3 phys 1500 unknown —
aggr1 aggr 1500 up net1 net2

Creating another aggregation aggr2 using same procedure. 

root@solaris11:~# dladm create-aggr -l net3 -l net4 aggr2

Bringing up the aggregations using ipadm command.

root@solaris11:~# ipadm create-ip aggr1
root@solaris11:~# ipadm create-ip aggr2

  • Creation of IPMP on top of aggregation.

root@solaris11:~# ipadm add-ipmp -i aggr1 -i aggr2 ipmp1

root@solaris11:~# dladm show-link
LINK CLASS MTU STATE OVER
net0 phys 1500 up —
net4 phys 1500 up —
net5 phys 1500 unknown —
net6 phys 1500 unknown —
net1 phys 1500 up —
net2 phys 1500 up —
net3 phys 1500 up —
aggr1 aggr 1500 up net1 net2
aggr2 aggr 1500 up net3 net4

We can verity the newly created ipmp in output of ipadm because it is at IP layer hence its not showing in output of dladm which majorly deal with device and data link layer.

root@solaris11:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
aggr1 ip ok ipmp1 —
aggr2 ip ok ipmp1 —
ipmp1 ipmp down — —
lo0 loopback ok — —
lo0/v4 static ok — 127.0.0.1/8
lo0/v6 static ok — ::1/128
net0 ip ok — —
net0/v4 static ok — 192.168.120.160/24
net0/v6 addrconf ok — fe80::20c:29ff:fe7f:ba49/10

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s