Configure an Active-Standby IPMP Group
1. Create an IPMP interface
ipadm create-ip net0
ipadm create-ip net1
ipadm create-ipmp ipmp0
2. Add the physical interfaces net0 and net1 to the ipmp group.
ipadm add-ipmp -i net0 -i net1 ipmp0
3. Assign the test IP address for the interface for probe-based failure detection
ipadm create-addr -T static -a 192.168.112.5/24 net0
ipadm create-addr -T static -a 192.168.112.6/24 net1
4. Assign IP address to ipmp interface
ipadm create-addr -T static -a 192.168.112.10/24 ipmp0
5. Configure standby interface ( net1)
ipadm set-ifprob -p standby=on -m ip net1
6. Check the staus of the IPMP interfaces:
ipmpstat -a
[email protected]:~# ipmpstat -a
ADDRESS STATE GROUP INBOUND OUTBOUND
:: down ipmp0 -- --
192.168.112.2 up ipmp0 net0 net1 net0
ipmpstat -g
[email protected]:~# ipmpstat -g
GROUP GROUPNAME STATE FDT INTERFACES
ipmp0 ipmp0 ok 10.00s net1 net0
ipmpstat -t
[email protected]:~# ipmpstat -t
INTERFACE MODE TESTADDR TARGETS
net1 routes 192.168.112.5 192.168.112.1
net0 routes 192.168.112.6 192.168.112.1
Create an aggregation and assign IP address
1. create a aggregated network port using two physical interface
dladm create-aggr -l net2 -l net3 aggr0
2. View the aggreation details
dladm show-aggr
3. View the aggreation link
dladm show-link
4. Create/plumb the aggr interface
ipadm create-ip aggr0
5. Create a IP address in the aggreated link
ipadm create-addr -T static -a 192.168.10.10/24 aggr0/v4
6. Check the IP details
ipadm show-addr
7. Show information about the interfaces that are attached to the system.
ipadm show-if