Go to main content

Oracle® VM Server for SPARC 3.6 Administration Guide

Exit Print View

Updated: September 2019
 
 

Using VLAN Tagging

The Oracle VM Server for SPARC software supports 802.1Q VLAN-Tagging in the network infrastructure.

The virtual switch (vsw) and virtual network (vnet) devices support switching of Ethernet packets based on the virtual local area network (VLAN) identifier (ID) and handle the necessary tagging or untagging of Ethernet frames.

You can create multiple VLAN interfaces over a virtual network device in a guest domain. Use the Oracle Solaris 10 ifconfig command or the Oracle Solaris 11 dladm and ipadm commands to create a VLAN interface over a virtual network device. The creation method is the same as the method used to configure a VLAN interface over any other physical network device. The additional requirement in the Oracle VM Server for SPARC environment is that you must use the ldm command to assign VLANs to a vsw or vnet virtual network device. See the ldm(8) man page. You do not have to configure VLAN IDs on a virtual switch in an Oracle Solaris 11 service domain.

When you create a virtual network device on a guest domain, you can assign it to the required VLANs by specifying a port VLAN ID and zero or more VLAN IDs for this virtual network using the pvid= and vid= arguments to the ldm add-vnet command. This information configures the virtual switch to support multiple VLANs in the Oracle VM Server for SPARC network and switch packets using both MAC address and VLAN IDs in the network VLAN IDs 2 through 4096 are valid. VLAN ID 1 is reserved as the default-vlan-id.

Use the ldm add-vnet, ldm set-vnet, ldm add-vsw, or ldm set-vsw command to specify the pvid and vid property values.