(Note 1) In Solaris 11, the vanity name (net4) is specified as fjgi2.
(Note 2) Reboot the Exclusive-IP Non-Global Zone to make this setting effective.
If the Exclusive-IP Non-Global Zone has not booted, execute the following command.
# zoneadm -z zonename boot
If the Exclusive-IP Non-Global Zone has booted, execute the following command.
# zoneadm -z zonename reboot
- The following example shows how to remove an interface from an Exclusive-IP Non-Global Zone (zonecfg remove net)
zonecfg -z zonename (Specify Zone Name.)
zonecfg:zonename> remove net physical=Interface (Specify network interface.)
zonecfg:zonename> exit (End of command.)
Example: Removing fjgi2 from an Exclusive-IP Non-Global Zone (zone2).
# zonecfg -z zone2
zonecfg:zone2> remove net physical=fjgi2
zonecfg:zone2> exit
(Note 1) In Solaris 11, the vanity name (net4) is specified as fjgi2.
(Note 2) Reboot the Exclusive-IP Non-Global Zone to make this setting effective.
If the Exclusive-IP Non-Global Zone has not booted, execute the following command.
# zoneadm -z zonename boot
If the Exclusive-IP Non-Global Zone has booted, execute the following command.
# zoneadm -z zonename reboot
D.3 Notes
- When a VLAN interface is used in Shared-IP Non-Global Zones, please make the VLAN interface for the fjgi interface in the Global
Zone with the VLAN interface creation procedure (ifconfig(1M) command or dladm(1M) command (Solaris 11 only), etc).
Example: Adding fjgi1000 to a Shared-IP Non-Global Zone (zone1).
- Solaris 10 8/07 or later
Execute the following commands in the Global Zone.
# ifconfig fjgi1000 plumb
# zonecfg -z zone1
zonecfg:zone1> set ip-type=shared
zonecfg:zone1> add net
zonecfg:zone1:net> set address=192.168.160.1/24
zonecfg:zone1:net> set physical=fjgi1000
zonecfg:zone1:net> end
zonecfg:zone1> exit
(Note) Reboot the Shared-IP Non-Global Zone to make this setting effective.
If the Shared-IP Non-Global Zone has not booted, execute the following command.
# zoneadm -z zonename boot
If the Shared-IP Non-Global Zone has booted, execute the following command.
# zoneadm -z zonename reboot
- Solaris 11
Execute the following commands in the Global Zone.
# dladm create-vlan -l net2 -v 1
# zonecfg -z zone1
zonecfg:zone1> set ip-type=shared
zonecfg:zone1> add net
zonecfg:zone1:net> set address=192.168.160.1/24
- 69 -