1. Execute the following commands in the Global Zone.
# /usr/sbin/dladm create-aggr -d fjgi0 -d fjgi1 -d fjgi2 2
# zonecfg -z zone2
zonecfg:zone2> set ip-type=exclusive
zonecfg:zone2> add net
zonecfg:zone2:net> set physical=aggr2
zonecfg:zone2:net> end
zonecfg:zone2> exit
(Note) 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
2. Execute the following command in the Exclusive-IP Non-Global Zone.
# ifconfig aggr2 plumb 192.168.170.1 up
- Solaris 11
Example: Adding aggr2 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 an Exclusive-IP Non-Global Zone (zone1).
1. Execute the following commands in the Global Zone.
# /usr/sbin/dladm create-aggr -l net2 -l net3 -l net4 aggr2
# zonecfg -z zone2
zonecfg:zone2> set ip-type=exclusive
zonecfg:zone2> add net
zonecfg:zone2:net> set physical=aggr2
zonecfg:zone2:net> end
zonecfg:zone2> exit
(Note) 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
2. Execute the following command in the Exclusive-IP Non-Global Zone.
# ifconfig aggr2 plumb 192.168.170.1 up
- For more information about Solaris Containers, please refer to "System Administration Guide: Solaris Containers-Resource
Management and Solaris Zones" of Oracle Documentation.
- 72 -