You must create a zone to build a virtual network. You can create any number of zones that you require based on the system support. Each zone has its own virtual interface. The zones in the system can communicate with each other. The virtual network as a whole connects to destinations on the larger external network.
To build a virtual network, you have to configure etherstubs or VNICs and also configure zones. Although these are independent sets of procedures, both must be performed to complete the building of the virtual network.
The procedures in this section are based on the following assumptions:
The virtual network on the system consists of three zones and are in different stages of configuration. The first zone is created as a new zone, the second zone already exists on the system and needs to be reconfigured to use a VNIC, and the third zone is designated to be a private virtual network and needs to be enabled to send the network traffic beyond the system.
The system's physical interface is configured with the IP address 192.168.3.70.
The router's IP address is 192.168.3.25.
When building the virtual network, some steps are performed in the global zone and some steps are performed in a non-global zone. For clarity, the prompts in the examples after each step indicate in which zone a specific command is issued. However, the actual path that the prompts display might vary depending on the prompts specified for your system.
For a demonstration of configuring a virtual network, see Configuring a Virtual Network in Oracle Solaris - Part 1 and Configuring a Virtual Network in Oracle Solaris - Part 2.