Overview
- 802.1Q VLAN trunking driver is required inside the virtual machine
-
64bit Windows guest operating system automatically loads the 802.1q E1000 driver
-
32bit guest Operating Systems require manual configuration of the VMX file to point to the E1000 driver
-
Physical switch is set to trunk mode by using VLAN ID 4095
-
Windows: Only 64-bit Windows ships with the E1000 Drivers
Configuration of VirtualSwitch (vSwitch)
To set a standard vSwitch portgroup to trunk mode:
- Edit host networking via the Virtual infrastructure Client.
-
Navigate to Host > Configuration > Networking > vSwitch > Properties.
-
Click Ports > Portgroup > Edit.
-
Click the General tab.
- Set the VLAN ID to 4095. A VLAN ID of 4095 represents all trunked VLANs.
- Click OK.
To set a distributed vSwitch portgroup to trunk mode:
- Edit host networking via the Virtual infrastructure Client.
- Navigate to Home > Inventory > Networking.
- Right-click on the dvPortGroup and select Edit Settings.
- Within that dvPortGroup, go to Policies > VLAN.
- Set VLAN type to VLAN Trunking and specify a range of VLANs or specificy a list of VLANs to be passed to the Virtual machines connected to this portgroup.
Note: To improve security, virtual Distributed Switches allow you to specify a range or selection of VLANs to trunk rather than allowing all VLANS via VLAN 4095.
Configuration of Windows TCP/IP
To configure the guest operating system for VGT:
-
Download the
e1000 NIC drivers from the Intel website into the 32-bit Windows virtual machine.
Note: The preceding link was correct as of September 15, 2015. If you find the link is broken, provide feedback and a VMware employee will update the link.
-
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:
Ethernetn.virtualDev = "e1000"
Replace n with the number of the Ethernet adapter. For example, the entry for the first Ethernet adapter that has number 0 is:
Ethernet0.virtualDev = "e1000"
-
Power on the virtual machine.
-
Configure the e1000 network connection.
To install the driver manually within a Windows 2008 R2 guest operating system:
- Download ProWinx64 from Intel located here Network Adapter Driver for Windows
Note: Intel has moved some drivers to historical status, if the above link does not have the correct driver, see this link for specific driver versions:
http://www.intel.com/support/network/sb/CS-023752.htm?wapkw=e1g6032e
Note: The preceding link was correct as of September 15, 2015. If you find the link is broken, provide feedback and a VMware employee will update the link.
- Run this command to extract the Intel drivers downloaded to the temp folder:
Prowinx64.exe /s /e /f "C:\temp
If 7zip is installed, run this as alternate command on Windows PowerShell
Get-ChildItem "*.exe" | foreach { C:\Windows\System32\7z.exe e -y $_.fullname
- Right-click the network adapter and click Update Driver Software.
- Click Browse my computer for driver software.
- Click Let me pick from a list of device drivers on my computer.
- Click Have Disk.
- Click Browse.
- Browse to C:\temp\pro1000\winx64\ndis61\e1g6032e.inf.
- Click Next to install the driver.
- Repeat Steps 2-8 for each network adapter you have for the virtual machine.
- After all the adapters are updated, run the Intel setup program. You should now be able to install the advanced network services software with VLANs.
Notes:
- You can also find the instructions in the manual/readme file for the driver.
- The Intel driver download contains ProWin64.exe. This is not a separate install.
- This process applies to the vmxnet3 driver as well. However to have multiple vlans you need to use multiple vmxnet3 NIC's.