The VLAN policy allows virtual networks to join physical VLANs.
Launch the vSphere Client and log in to a vCenter Server system.
- Log in to the vSphere Client and select the Networking inventory view.
- Right-click the distributed port group in the inventory pane, and select Edit Settings.
- Select Policies.
- Select the type of VLAN filtering and marking from the VLAN Type drop-down menu.
Option Description None Do not use VLAN.
Use this option in case of External Switch Tagging.
VLAN Tag traffic with the ID from the VLAN ID field.
Type a number between 1 and 4094 for Virtual Switch Tagging.
VLAN Trunking Pass VLAN traffic with ID within the VLAN trunk range to guest operating system. You can set multiple ranges and individual VLANs by using a comma-separated list.
Use this option for Virtual Guest Tagging.
Private VLAN Associate the traffic with a private VLAN created on the distributed switch.
- Click OK.