The ipadm delete-addr command deletes a specific address configuration from an IP interface. This command is useful when you simply want to remove an IP address from the system or as part of changing an IP address that is configured on an interface. If you want to change the IP address that is configured on an interface, then you must first remove the original address configuration before assigning a new address configuration. See How to Modify an Existing IP Address.
For instructions on creating an IP address for an interface, see How to Configure an IPv4 Interface.
The following procedure describes the steps for reconfiguring a system's existing IP address.
Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
$ ipadm delete-addr addrobj
$ ipadm create-addr -a IP-address addrobj
To add another interface to the system, see How to Configure an IPv4 Interface in Configuring and Managing Network Components in Oracle Solaris 11.4.
$ hostname new-hostname