The following shows the procedure for deleting configuration information:
Inactivate the concerned virtual interface using the "stphanet" command. For information, see Section "7.3 stphanet Command".
Delete the configuration information of the concerned virtual interface. For information, see Section "7.1 hanetconfig Command".
Delete the following settings and files:
When using IPv4 addresses
[Solaris 10]
Delete the corresponding /etc/hostname.interface file, and then delete host names defined in the /etc/inet/hosts file.
[Solaris 11 or later]
Delete the settings by using the ipadm(1M) command, and then delete host names defined in the /etc/inet/hosts.
When using IPv6 addresses
[Solaris 10]
Delete the corresponding /etc/hostname6.interface file, and then delete host names defined in the /etc/inet/ipnodes file. Moreover, delete a router public-relations setup from the virtual interface defined in the /etc/inet/ndpd.conf file. When only a router public-relations setup from a virtual interface exists in a /etc/inet/ndpd.conf file, delete the /etc/inet/ndpd.conf file.
[Solaris 11 or later]
Delete the settings by using the ipadm(1M) command, and then delete host names defined in the /etc/inet/ipnodes file. Moreover, delete a router public-relations setup from the virtual interface defined in the /etc/inet/ndpd.conf file. When only a router public-relations setup from a virtual interface exists in a /etc/inet/ndpd.conf file, delete the /etc/inet/ndpd.conf file.
When a shared-IP zone is used
If a virtual interface of fast switching has been used in a shared-IP zone, it is necessary to delete the configuration as follows;
Stop the non-global zone.
Inactivate the concerned virtual interface using the "stphanet" command.
Delete the configuration information of the concerned virtual interface.
Delete the following settings and files:
When using IPv4 addresses
[Solaris 10]
Delete the corresponding /etc/hostname.interface file, and then delete host names defined in the /etc/inet/hosts file.
[Solaris 11 or later]
Delete the settings by using the ipadm(1M) command, and then delete host names defined in the /etc/inet/hosts.
When using IPv6 addresses
[Solaris 10]
Delete the corresponding /etc/hostname6.interface file, and then delete host names defined in the /etc/inet/ipnodes file. Moreover, delete a router public-relations setup from the virtual interface defined in the /etc/inet/ndpd.conf file. When only a router public-relations setup from a virtual interface exists in a /etc/inet/ndpd.conf file, delete the /etc/inet/ndpd.conf file.
[Solaris 11 or later]
Delete the settings by using the ipadm(1M) command, and then delete host names defined in the /etc/inet/ipnodes file. Moreover, delete a router public-relations setup from the virtual interface defined in the /etc/inet/ndpd.conf file. When only a router public-relations setup from a virtual interface exists in a /etc/inet/ndpd.conf file, delete the /etc/inet/ndpd.conf file.
Delete the zone or change the zone network settings. For information on how to change the zone network settings or delete the zone, see "C.5 Configuration Procedure for Redundant Line Switching Mode on Solaris Zones".