Sun Microsystems 10 manual Zone 1 /etc/hostname.bge1 Zone 2 /etc/hostname.bge2

Models: 10

1 121
Download 121 pages 49.77 Kb
Page 92
Image 92

Version 3.1-enSolaris 10 Container Guide - 3.1 5. Cookbooks

Effective: 30/11/2009

5.2.7.3. Zones in separate network segments using exclusive IP instances

[dd/ug] Two local zones, zone1 and zone2, are located in separated network segments and provide services for these network segments.

Each local zone should have its own physical interface.

No additional network is connected to the network segment.

Routing is not used.

There should be no communication between the local zones.

Communication between the global zone and the local zones is not intended.

Implementation:

A separate GLDV3 interface (e.g. bge1 and bge2) is provided for each zone. These interfaces must not be used elsewhere in the global zone.

zone1-zonecfg: add net physical=bge1

zone2-zonecfg: add net physical=bge2

The zone configuration for zone1 and zone2 is indicates the use of exclusive IP instances. zonecfg: set ip-type=exclusive

The IP addresses are defined inside of the zones.

Zone 1: /etc/hostname.bge1

Zone 2: /etc/hostname.bge2

No routing entries in the zones.

Option: To enable communication between the global and the local zone, an interface that is located in the network of the local zone must be configured in the global zone.

By the use of exclusive IP instances, communication between the zones or between the zones and the global zone takes place only if corresponding routing entries exist in the zones and if a physical network connection exists between the zone interfaces.

192.168.201.0192.168.202.0

NetworkNetwork

bge1 - 192.168.201.1

bge2 - 192.168.202.1

ip type: exclusive

ip type: exclusive

Zone 1

Zone 2

bge0 - 192.168.1.1

ip type: shared

Global Zone

192.168.1.0

Network

Figure 33: [dd] Zones in separate network segments using exclusive IP instances

85

Page 92
Image 92
Sun Microsystems 10 manual Zone 1 /etc/hostname.bge1 Zone 2 /etc/hostname.bge2