Openindiana: Splitting an LACP aggregated link

Recently I have found a reason to have 2 links to my Openindiana file server instead of 1, namely iSCSI traffic clogging up the single aggregated link.

Until I get 2 more links on this box, I’m going to need them to be split up.

More after the bump…

Originally, aggr1 was configured with LACP across e1000g0 and e1000g1 as 192.168.0.3.  I want e1000g0 to be 192.168.0.3 and e1000g1 to be 192.168.0.5.

To see the current configuration:
dladm show-aggr -s

To remove the second interface from aggr1:
dladm remove-aggr -l e1000g1 aggr1

Configure the second interface with an IP:
ifconfig e1000g1 plumb 192.168.0.5 up

Stop any services you have configured to bind on that IP:
(for me, bind and minecraft - everything else sits on 0.0.0.0):
svcadm disable bind
echo “stop” > /rspool/minecraft/minecraft_IN.fifo

Log out of the aggregated IP, and SSH into the second interface (in this case, 192.168.0.5).

Unplumb aggr1:
ifconfig aggr1 unplumb

Delete aggr1:
dladm delete-aggr aggr1

Plumb the first interface with the original IP:
ifconfig e1000g0 plumb 192.168.0.3 up

Start services back up:
svcadm enable bind
/rspool/minecraft/minecraft.sh