Go to main content

Configuring and Managing Network Components in Oracle® Solaris 11.4

Exit Print View

Updated: December 2019

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.

For example, you can use the following commands to perform this task:

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

See How to Move IP Configuration From One Network Device to Another Device for procedure that includes renaming a datalink. For instructions to reconfigure an IP interface after a datalink has been renamed, see How to Configure an IPv4 Interface.