DataLinks
From pressy's brainbackup
DataLinks / Trunking
Basic Config
local-mac-address? true root@server # ifconfig -a unplumb root@server # dladm show-dev root@server # dladm create-aggr -d e1000g0 -d e1000g3 1 root@server # dladm show-aggr 1 root@server # ifconfig aggr1 plumb ..... root@server # dladm add-aggr -d e1000g1 -d e1000g2 1 root@server # dladm show-aggr 1 key: 1 (0x0001) policy: L4 address: 0:14:4f:1:c8:b0 (auto) device address speed duplex link state e1000g0 0:14:4f:1:c8:b0 1000 Mbps full up attached e1000g3 0:14:4f:1:c8:b3 1000 Mbps full up attached e1000g1 0:14:4f:1:c8:b1 1000 Mbps full up attached e1000g2 0:14:4f:1:c8:b2 1000 Mbps full up attached root@server # dladm remove-aggr -d e1000g0 1 root@server # echo "10.11.12.13" > /etc/hostname.aggr1
MODS
root@server # dladm modify-aggr -P [L2|L3|L4] 1 -> L2 hashing on MAC-Headers -> L3 hashing on IP-Headers -> L4 hashing on TCP|UCP-Headers root@server # dladm modify-aggr -l active -T [short|long] 1 -> LACP-TimingValue root@server # dladm show-aggr -L