cancel
Showing results for 
Search instead for 
Did you mean: 

LLT over vlanned trunks on Solaris

Sandeep_Agarwal
Level 3
Employee
It seems that some customers want to create a trunk out of two links and then create vlans over that trunk and then run LLT over those two vlans.

This is how to do this on Solaris:

Create a trunk (aggregation first) out of the two bge links:
dladm create-aggr -d bge2 -d bge3 1 <--- to create a aggr1

Create vlans out of aggr1:
dladm create-vlan doesn't seem to work on Solaris 10u7 (beta).
So just do the following:
ifconfig aggr10001 plumb 1.1.1.1 up <----- to create /dev/aggr10001 (vlan id 10000)
ifconfig aggr20001 plumb 2.1.1.1 up <----- to create /dev/aggr20001 (vlan id 20000)

Then create /etc/llttab as follows:
link link1 /dev/aggr:10001 - ether - -
link link1 /dev/aggr:20001 - ether - -

And now you are up and running with LLT over vlanned trunks.