zonecfg:zone1:net> set physical=net1002
zonecfg:zone1:net> end
zonecfg:zone1> exit
(Note 1) zonecfg create -b command must be executed to create a Shared-IP Non-Global Zone.
(Note 2) net2 is the vanity name of fjgi0.
(Note 3) 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
-When a LinkAggregation is used in Shared-IP Non-Global Zones, please make the LinkAggregation Group for the fjgi interface in
the Global Zone with the LinkAggregation creation procedure written in "Chapter 4 LinkAggregation Feature".
-Solaris 10 8/07 or later
Example: Adding aggr1 which is a LinkAggregation Group with fjgi0, fjgi1, fjgi2 and key=1 to a Shared-IP Non-Global Zone
(zone1).
Execute the following commands in the Global Zone.
# /usr/sbin/dladm create-aggr -d fjgi0 -d fjgi1 -d fjgi2 1
# ifconfig aggr1 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=aggr1
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
Example: Adding aggr1 which is a LinkAggregation Group with fjgi0 (this vanity name is net2), fjgi1 (this vanity name is net3),
fjgi2 (this vanity name is net4) to a Shared-IP Non-Global Zone (zone1).
Execute the following commands in the Global Zone.
# /usr/sbin/dladm create-aggr -l net2 -l net3 -l net4 aggr1
# ifconfig aggr1 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=aggr1
zonecfg:zone1:net> end
zonecfg:zone1> exit
(Note 1) zonecfg create -b command must be executed to create a Shared-IP Non-Global Zone.
(Note 2) 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
- 70 -