preload
Nov 18

We use dladm to see which interfaces are up:


# dladm show-link
LINK CLASS MTU STATE OVER
bnx0 phys 1500 up --
bnx1 phys 1500 up --
bnx2 phys 1500 up --
bnx3 phys 1500 up --
bnx4 phys 1500 down --

Then we want to make bond with 2 of the interfaces:


# ifconfig bnx2 unplumb
# dladm create-aggr -d bnx2 -d bnx3 0
# ifconfig aggr0 plumb

Its up and running:


# dladm show-link aggr0
LINK CLASS MTU STATE OVER
aggr0 aggr 1500 up bnx2 bnx3

Now we give it an IP address:


# ifconfig aggr0 10.0.2.1 netmask 255.255.255.0 up