Wednesday 10 December 2014

Link Aggregation in Solaris 11

A link aggregation consists of several interfaces on a system that are configured together as a single, logical unit. Link aggregation

What do you mean by Link Aggregation?


Its the process of configuring more than one interfaces in a server together to a single logical unit for increased network performance, increased Bandwidth & Link Protection. 


In other sense its also called as Trunking.


In this article i will explain on how to configure Link Aggregation on Solaris hosts where the uplink is coming from a LACP enabled switch.


Please see the below mentioned steps:


1) Identify the network cards to be created for the link aggregation

root@liael243:~# dladm show-link
LINK                CLASS     MTU    STATE    OVER
net0                phys      1500   up       --
net3                phys      1500   unknown  --
net5                phys      1500   unknown  --
net2                phys      1500   unknown  --
net1                phys      1500   unknown  --

------------------------------------------------------------------------------------------------------------------------------------------------

2) Create a aggregate group aggr1 using the below caommand for net 5 and net 1 

root@liael243:~# dladm create-aggr -i net1 -i net5 -P L3 -l active 

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

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

------------------------------------------------------------------------------------------------------------------------------------------------

3) Assign Ip to the aggregate port

root@liael243:~# ipadm create-ip aggr1
root@liael243:~# ipadm create-addr -T static -a local=10.63.35.50/22 aggr1/v4
root@liael243:~# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
net0/v4           static   ok           10.63.16.243/22
aggr1/v4          static   ok           10.63.35.50/22
lo0/v6            static   ok           ::1/128

net0/v6           addrconf ok           fe80::214:4fff:fef8:3a92/10



Simple!!!!! Link Aggregation is configured in your Solaris host.