Assign a GLDv3-compliant network adapter to the virtual switch if each logical
domain must communicate outside the box through the virtual switch.

In Oracle Solaris 10, add a virtual switch service on network adapter driver to the control domain.

primary# ldm add-vsw net-dev=net-drivervsw-service primary

For example, the following command adds a virtual switch service (primary-vsw0) on network adapter driver nxge0 to the control domain (primary):

primary# ldm add-vsw net-dev=nxge0 primary-vsw0 primary

In Oracle Solaris 11, add a virtual switch service (primary-vsw0) on network adapter driver net0 to the control domain (primary):

primary# ldm add-vsw net-dev=net-drivervsw-service primary

For example, the following command adds a virtual switch service (primary-vsw0) on network adapter driver net0 to the control domain (primary):

primary# ldm add-vsw net-dev=net0 primary-vsw0 primary

The following applies to the Oracle Solaris 10 OS only and should not be performed on an Oracle Solaris 11 system.

This command automatically allocates a MAC address to the virtual switch. You can specify your own MAC address as an option to the ldm add-vsw command. However, in that case, it is your responsibility to ensure that the MAC address specified does not conflict with an already existing MAC address.