To delete IP addresses from an IPMP group, use the ipadm delete-addr command. For IPMP configuration, data addresses are hosted on the IPMP interface and test addresses are hosted on underlying interfaces. The following procedure shows how to remove IP addresses that are either data addresses or test addresses.
# ipadm show-addr ipmp-interface
# ipadm show-addr
Test addresses are identified by address objects whose names include the underlying interfaces where the addresses are configured.
# ipadm delete-addr addrobj
addrobj must include the name of the IPMP interface. If the address object that you type does not include the IPMP interface name, then the address that will be deleted is not a data address.
# ipadm delete-addr addrobj
addrobj must include the name of the correct underlying interface to delete the correct test address.
The following example uses the configuration of the active-standby IPMP group ipmp0 that is shown in Example 18, Configuring an Active-Standby IPMP Group. This example removes the test address from the underlying interface net1.
# ipadm show-addr net1 ADDROBJ TYPE STATE ADDR net1/v4 static ok 192.0.2.25/27 # ipadm delete-addr net1/v4