Pre-Requisites:
1. Ports need to be aggregated at hardware end ( Switch ) before performing Link aggregation at OS end.
2. You need to have GLP enabled NIC cards and your OS should have local-mac-address= true
NOTE: non GLP enabled NICs can go for IPMP at a cost of extra test IPs.
3. Login via console.
# ifconfig -a
lo0: flags=2001000849
inet 127.0.0.1 netmask ff000000
nxge0: flags=1000843
inet 192.168.106.247 netmask ffffff00 broadcast 192.168.106.255
ether 0:21:28:34:ad:22
#
# eeprom | grep mac
local-mac-address?=true
#
# dladm show-dev
nxge0 link: up speed: 1000 Mbps duplex: full
nxge1 link: up speed: 1000 Mbps duplex: full
nxge2 link: up speed: 1000 Mbps duplex: full
nxge3 link: up speed: 1000 Mbps duplex: full
#
# dladm show-aggr
No output would be displayed as no aggrigations avaliable.
# ifconfig nxge0 down unplumb
# dladm create-aggr -d nxge0 -d nxge1 -d nxge2 -d nxge3 1
One (1) at last represents the Key, upon which the aggr device is formed [ range: 1-999, noe zero (0) ]
# ls -l /dev/aggr1
lrwxrwxrwx 1 root root 30 May 31 02:59 /dev/aggr1 -> ../devices/pseudo/aggr@0:aggr1
#
This device is formed after create-aggr
# dladm show-aggr
key: 1 (0x0001) policy: L4 address: 0:21:28:34:ad:22 (auto)
device address speed duplex link state
nxge0 0:21:28:34:ad:22 1000 Mbps full up attached
nxge1 0:21:28:34:ad:23 1000 Mbps full up attached
nxge2 0:21:28:34:ad:24 1000 Mbps full up attached
nxge3 0:21:28:34:ad:25 1000 Mbps full up attached
#
# ifconfig aggr1 plumb
May 31 03:25:47 test1 last message repeated 1 time
May 31 03:25:47 test1 nxge: NOTICE: nxge2: xcvr addr:0x1b - link is up 1000 Mbps full duplex
May 31 03:25:48 test1 nxge: NOTICE: nxge3: xcvr addr:0x1a - link is up 1000 Mbps full duplex
May 31 03:25:48 teset1 nxge: NOTICE: nxge1: xcvr addr:0x1c - link is up 1000 Mbps full duplex
#
# ifconfig aggr1 192.168.106.247 netmask 255.255.255.0 up
# ping 192.168.106.1
192.168.106.1 is alive
# cat > /etc/hostname.aggr1
192.168.106.247
#
No comments:
Post a Comment