The following diagram shows how a virtual switch can be used to configure Network Address Translation (NAT) in a service domain to provide external connectivity for guest domains.
Figure 16 Virtual Network Routing
If assigning an address, ensure that the virtual switch has a unique MAC address.
primary# ldm add-vsw [mac-addr=xx:xx:xx:xx:xx:xx] ldg1-vsw0 ldg1
See How to Configure the Virtual Switch as the Primary Interface for more information about creating the virtual switch.
See How to Configure the Virtual Switch as the Primary Interface for more information about configuring the virtual switch device for DHCP.
For more information about IP routing, see Packet Forwarding and Routing on IPv4 Networks in Oracle Solaris Administration: IP Services.