The Oracle Solaris 11 network virtualization features include etherstub, which is a pseudo network device. This device provides functionality similar to physical network devices but only for private communications with its clients. This pseudo device can be used as a network back-end device for a virtual switch that provides the private communications between virtual networks. By using the etherstub device as a back-end device, guest domains can also communicate with VNICs on the same etherstub device. Using the etherstub device in this way enables guest domains to communicate with zones in the service domain. Use the dladm create-etherstub command to create an etherstub device.
The following diagram shows how virtual switches, etherstub devices, and VNICs can be used to set up Network Address Translation (NAT) in a service domain.
Figure 8-6 Virtual Network Routing
primary# dladm create-etherstub stub0
primary# ldm add-vsw net-dev=stub0 primary-stub-vsw0 primary
primary# dladm create-vnic -l stub0 vnic0
primary# ipadm create-ip vnic0 primary# ipadm create-addr -T static -a 192.168.100.1/24 vnic0/v4static
See Setting IP Interface Properties in Connecting Systems Using Fixed Network Configuration in Oracle Solaris 11.1 and Packet Forwarding and Routing on IPv4 Networks in System Administration Guide: IP Services .