Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Removing an IP Interface Configuration

Use the delete-ip subcommand to remove a configured IP interface. This command is particularly important when you are performing certain datalink configuration tasks. For example, renaming a datalink fails if there are IP interfaces configured over that datalink. Before attempting to rename the datalink, you would need to use the ipadm delete-ip command to remove the existing IP configuration. The following example shows the commands that you would use to perform this task:

# ipadm delete-ip interface
# dladm rename-link old-name new-name
# ipadm create-ip interface
# ipadm create-address parameters

See also Renaming a Datalink for additional information. To reconfigure an IP interface after a datalink has been renamed, see How to Configure an IPv4 Interface.