Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Delete IP Addresses From an IPMP Interface

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.

  1. Become the root role.
  2. Determine the IP addresses that you want to remove.
    • Display a list of data addresses as follows:
      # ipadm show-addr ipmp-interface
    • Display a list of test addresses as follows:
      # ipadm show-addr

      Test addresses are identified by address objects whose names include the underlying interfaces where the addresses are configured.

  3. Remove the IP addresses from an IPMP group.
    • Remove data addresses as follows:
      # ipadm delete-addr addrobj

      where 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.

    • Remove test addresses as follows:
      # ipadm delete-addr addrobj

      where addrobj must include the name of the correct underlying interface to delete the correct test address.

Example 3-6  Removing a Test Address From an Interface

The following example uses the configuration of the active-standby IPMP group ipmp0 that is shown in Example 3–2. This example removes the test address from the underlying interface net1.

# ipadm show-addr net1
ADDROBJ           TYPE     STATE     ADDR
net1/v4           static   ok        192.168.10.30

# ipadm delete-addr net1/v4