Table of ContentsLibraryView in Frames

Removing an IP address from an interface

You must remove an IP address from an interface before you can assign it to an IPspace

Steps

  1. To remove an IP address from an interface, complete one of the following steps:
    If the interface is... Then...
    Currently configured with an IP address that belongs to a vFiler unit in a nondefault IPspace Remove the IP address configured for the interface from the vFiler unit as you would when changing resources for a vFiler unit.
    In the default IPspace Go to step 2.
    Configured with an autoconfigured IPv6 address Enter the following command to remove the IPv6 address:ifconfig interface inet6 -alias IPv6_address

    interface is the name of the interface.

    IPv6_address is the IPv6 address configured on the interface.

    Configured with an IP alias Enter the following command to remove the IP alias:ifconfig interface -alias address

    interface is the name of the interface.

    address is the IP address configured for the alias.

    Go to the next step.

    Not configured with an IP alias Go to step 2.
  2. Enter the following command: ifconfig interface 0.0.0.0

    interface is the name of the interface from which you want to remove the IP address.