The following describes how to delete a virtual NIC in the Solaris Zones environment using the configuration in "3.2.2.1 Exclusive-IP zones" as an example:
Deleting an IP address in an exclusive-IP zone
If an IP interface remains, delete the IP interface on the virtual NIC with the ipadm delete-ip command after logging in to the exclusive-IP zone with the zlogin command. This is because the virtual NIC cannot be deleted with the rvnetadm command.
Example: When logging in to the exclusive-IP zone "zone0" and delete the IP interface generated in the virtual NIC "fjvnet0"
# zlogin zone0 <- Login to zone0. # ipadm delete-ip fjvnet0 <- Delete the IP interface on fjvnet0.
See
For details on the ipadm(1M) command, see the Solaris manual.
Stopping the exclusive-IP zone
Stop the exclusive-IP zone.
See
For details on how to stop it, see the Solaris manual.
Deleting the network setting in the exclusive-IP zone
Remove the assignment of the virtual NIC to the exclusive-IP zone with the zonecfg command.
Example: When removing the assignment of the virtual NIC "fjvnet0" for the exclusive-IP zone "zone0."
# zonecfg -z zone0 <- Begin configuring zone0. zonecfg:zone0> remove net physical=fjvnet0 <- Specify a virtual NIC interface. zonecfg:zone0> verify <- Check setup consistency. zonecfg:zone0> commit <- Register the setting. zonecfg:zone0> exit <- Complete the zone setting.
See
For details on the zonecfg(1M) command, see the Solaris manual.
Disabling a network monitoring function
Disable a network monitoring function with the rvnetadm stop-observ command.
# /opt/FJSVrvnet/bin/rvnetadm stop-observ
See
For details on the rvnetadm command, see "A.1 rvnetadm command."
Deleting a virtual NIC
Delete a virtual NIC on the global zone with the rvnetadm delete command.
Example: When deleting the virtual NIC "fjvnet0"
# /opt/FJSVrvnet/bin/rvnetadm delete -n fjvnet0
See
For details on the rvnetadm command, see "A.1 rvnetadm command."
The following describes how to delete a virtual NIC in the Kernel Zones environment using the configuration in "3.2.2.2 Kernel Zones" as an example:
Deleting an IP interface in a Kernel Zone
If an IP interface remains, delete the IP interface on the virtual NIC with the ipadm delete-ip command after logging in to the Kernel Zone with the zlogin command. This is because the virtual NIC cannot be deleted with the rvnetadm command.
Example: When logging in to the Kernel Zone "zone0" to delete the IP interface that was generated in the NIC "net0" connected to the virtual NIC "fjvnet0."
# zlogin zone0 <- Log in to zone0. # ipadm delete-ip net0 <- Delete the IP interface on net0.
See
For details on the ipadm(1M) command, see the Solaris manual.
Stopping the Kernel Zone
Stop the Kernel Zone.
See
For details on how to stop it, see the Solaris manual.
Deleting the network setting of the Kernel Zone
Remove the assignment of the virtual NIC to the Kernel Zone with the zonecfg command.
Example: When canceling to assign the virtual NIC "fjvnet0" for the Kernel Zone "zone0."
# zonecfg -z zone0 <- Start the zone setting of zone0. zonecfg:zone0> remove net physical=fjvnet0 <- Specify the virtual NIC interface. zonecfg:zone0> verify <- Check integrity. zonecfg:zone0> commit <- Register a zone. zonecfg:zone0> exit <- Zone setting is completed.
See
For details on the zonecfg(1M) command, see the Solaris manual.
Disabling a network monitoring function
Disable a network monitoring function with the rvnetadm stop-observ command.
# /opt/FJSVrvnet/bin/rvnetadm stop-observ
See
For details on the rvnetadm command, see "A.1 rvnetadm command."
Deleting a virtual NIC
Delete the virtual NIC on the global zone with the rvnetadm delete command.
Example: when deleting the virtual NIC "fjvnet0"
# /opt/FJSVrvnet/bin/rvnetadm delete -n fjvnet0
See
For details on the rvnetadm command, see "A.1 rvnetadm command."