Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

Use Case: Configuring a Private Virtual Network

This use case shows how to create a private virtual network and enable it to send network traffic outside the system.

This use case is based on the configuration shown in the following figure.

Figure 6  Use Case: Private Virtual Network Setup

image:This figure shows private virtual network setup.

The configuration on the Oracle Solaris host is as follows:

  • The primary interface of the global zone is net0.

  • The zones, zone1, zone2, and zone3, are configured with the VNIC anet resources and the etherstub ether0 is set as the lower link for the zones.

  • The VNIC vnic0 is configured over the etherstub ether0.

This use case is based on the following assumptions:

  • The primary interface, net0, is configured for the system with the IP address 192.0.2.20/27 and the default router IP address 192.0.2.1/27.

  • The first zone, zone1, is created as a new zone. The second zone zone2 already exists on the system and needs to be reconfigured with an anet resource.

  • The third zone, zone3, is reconfigured by using Live Zone Reconfiguration. For more information, see Chapter 6, Live Zone Reconfiguration in Creating and Using Oracle Solaris Zones.

The following table shows the IP addresses that are configured for the zones and their respective default routers in the private virtual network setup.

Table 2  IP Addresses Configured for the Zones in the Private Virtual Network Setup
Zone
IP Address of the anet Resource
IP Address of the Default Router
zone1
192.0.2.34/27
192.0.2.33/27
zone2
192.0.2.35/27
192.0.2.33/27
zone3
192.0.2.36/27
192.0.2.33/27