VLAN configuration on virtual switches, physical switches, and virtual machines
search cancel

VLAN configuration on virtual switches, physical switches, and virtual machines

book

Article ID: 311764

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article describes the various VLAN tagging methods used with ESXi.

Virtual LAN (VLAN) implementation is recommended in ESXi networking environments because:
  • It integrates ESXi into a pre-existing network
  • It secures network traffic
  • It reduces network traffic congestion
  • iSCSI traffic requires an isolated network

Resolution

Video tutorial for various VLAN tagging methods used with ESXi:



VLAN tagging methods used with ESXi:

There are three methods of VLAN tagging that can be configured on ESXi:

External Switch Tagging (EST)

Virtual Switch Tagging (VST)

Note: The Native VLAN is not tagged and thus requires no VLAN ID to be set on the ESXi portgroup.
 

Virtual Guest Tagging (VGT)

  • All VLAN tagging is performed by the virtual machine.
  • You must install an 802.1Q VLAN trunking driver inside the virtual machine.
  • VLAN tags are preserved between the virtual machine networking stack and external switch when frames are passed to/from virtual switches.
  • Physical switch ports are set to trunk port.
  • See this example snippet of code from a Cisco switch port configuration:

    switchport trunk encapsulation dot1q
    switchport mode trunk
    switchport trunk allowed vlan x,y,z
    spanning-tree portfast trunk



Additional Information