|
| PDF 文書ファイルをダウンロードする (1429 KB)
|
## /etc/hosts in global zone 10.10.8.2 hostname-zone-name1 10.10.8.3 hostname-global-name1 10.10.9.2 hostname-zone-name2 10.10.9.3 hostname-global-name2 |
For the network for each interface, add entries to the /etc/netmasks file.
## /etc/netmasks in global zone 10.10.8.0 255.255.255.0 10.10.9.0 255.255.255.0 |
For more information, see the netmasks(4) man page.
In the global zone, plumb the zone-specific physical interfaces.
Identify the physical interfaces that are already plumbed.
# ifconfig -a |
Configure the global zone addresses on each interface.
# ifconfig interface-nameN1 plumb # ifconfig interface-nameN1 10.10.8.3 up # ifconfig interface-nameN2 plumb # ifconfig interface-nameN2 10.10.9.3 up |
For each global zone address, create a hostname.interface-nameN file.
# /etc/hostname.interface-nameN1 10.10.8.3 # /etc/hostname.interface-nameN2 10.10.9.3 |
The global zone addresses are configured immediately upon system startup. The zone-specific addresses are configured when the zone is booted.
Assign a security template to each zone-specific network interface.
If the gateway to the network is not configured with labels, assign the admin_low security template. If the gateway to the network is labeled, assign a cipso security template.
You can create security templates of host type cipso that reflect the label of every network. For the procedures to create and assign the templates, see Configuring Trusted Network Databases (Task Map) in Solaris Trusted Extensions Administrator’s Procedures.
Halt every labeled zone to which you plan to add a zone-specific interface.
# zoneadm -z zone-name halt |
Start the Labeled Zone Manager.
# /usr/sbin/txzonemgr |
For each zone where you want to add a zone-specific interface, do the following:
In the Labeled Zone Manager for every completed zone, select Zone Console.
Select Boot.
In the Zone Console, verify that the interfaces have been created.
# ifconfig -a |
Verify that the zone has a route to the gateway for the subnet.
# netstat -rn |
To debug zone configuration, see the following: