Purpose
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 a standard vSwitch portgroup to trunk mode:
- Edit host networking via the Virtual infrastructure Client.
- Click 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.
- Click Home > Inventory > Networking.
- Right click on the dvPortGroup and choose Edit Settings.
- Within that dvPortGroup navigate 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.
- 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<n>.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 20008 R2 guest operating system:
- Extract the Intel drivers downloaded to the temp folder using this command:
Prowinx64.exe /s /e /f "C:\temp - Right-click the network adapter and click Update Driver Software.
- Select Browse my computer for driver software.
- Click Let me pick from a list of device drivers on my computer.
- Select 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.
Note: You can also find the instructions in the manual/readme file for the driver.
Source:
No comments:
Post a Comment