Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Sample configuration of virtual machine(VM) VLAN Tagging (VGT Mode) in ESX
Purpose
This article provides a sample configuration of a VLAN tagging at virtual machine level.
Resolution
Overview
- 802.1Q VLAN trunking driver is required inside the virtual machine.
-
64bit windows guest operating system automatically loads 802.1q E1000 driver.
-
32bit guest operating system – requires manual configuration of the VMX file to point to E1000 driver.
-
Physical switch is set to trunk mode by using VLAN ID 4095.
-
Windows: Only 64bit Windows ships with E1000 Drivers.
-
Linux: Use dot1q module.
Configuration of VirtualSwitch (vSwitch)
To set vSwitch in trunk mode:
- Edit host netwokring via the Virtual infrastructure Client.
-
Click Host > Network > vSwitch_Properties.
-
Click Ports > Portgroup > Edit.
-
Click the General tab.
-
Set the VLAN ID to 4095. VLAN ID 4095 stands for Trunk mode in ESX 3.x.
-
Click OK.
Configuration of Windows TCP/IP
To configure the guest operating system for VGT:
-
Power off the virtual machine.
-
Configure the virtual machine to use the e1000 virtual NIC. Enter a new line (or replace the existing virtual NIC) in the VMX file of the virtual machine:
Ethernet[0].virtualDev = "e1000"
Increment the number in brackets if multiple virtual NICs are needed.
-
Power on the virtual machine
-
Configure the e1000 network connection.
Attachments
Feedback
Actions
- KB Article: 1004252
- Updated: Aug 14, 2009
- Products:
VMware ESX
VMware ESXi - Product Versions:
VMware ESX 2.0.x
VMware ESX 2.1.x
VMware ESX 2.5.x
VMware ESX 3.0.x
VMware ESX 3.5.x
VMware ESXi 3.5.x Embedded


