VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

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:

  1. Edit host netwokring via the Virtual infrastructure Client.
  2. Click Host > Network > vSwitch_Properties.
  3. Click Ports > Portgroup > Edit.
  4. Click the General tab.
  5. Set the VLAN ID to 4095. VLAN ID 4095 stands for Trunk mode in ESX 3.x.
  6. Click OK.

Configuration of Windows TCP/IP

To configure the guest operating system for VGT:
  1. Download the e1000 NIC drivers  from the Intel website into the 32bit Windows virtual machine.
  2. Power off the virtual machine.
  3. 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.

  4. Power on the virtual machine
  5. Configure the e1000 network connection.

Attachments

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (11 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (11 Ratings)   
Actions