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

Leave a Reply

Your email address will not be published. Required fields are marked *

eighteen − eight =

Related Posts

Solaris

How to Find and Remove Old or Inactive Files

How to Find and Remove Old or Inactive Files Become an administrator. Find files that have not been accessed for a specified number of days and list them in a file. # find directory -type Read more…

Virtualization

Downloading and licensing vSphere Hypervisor (ESXi 6.x & 7.x)

Downloading vSphere Hypervisor (ESXi 6.x & 7.x) To download and activate ESXi 6.x & 7.x: Navigate to the VMware vSphere Hypervisor (ESXi) Download Center. From the Select Version drop down, select the version Click Download. Read more…

Oracle

How to Collect a Snapshot on SPARC M series servers Mx000 and M10-x systems

Running snapshot The syntax varies slightly from the Mx000 to the M10-x .The M10 requires a “-a” option to collect logs from all chassis. The two most common usages are described below. The first example Read more…