How do I configure VLANs on Intel® Ethernet Adapters in Hyper-V*?
Use Hyper-V* Manager to configure VLANs on the virtual switches and NICs. Using Intel® PROSet and Intel® Advanced Network Services (Intel® ANS) to configure VLANs is not required. Using Hyper-V to configure the VLANs will simplify configuration and is considered the best practice.
If you configure Intel ANS VLANs, then you must configure one Intel ANS VLAN for each VLAN configured in Hyper-V. Configuring an Intel ANS VLAN will create filters in the hardware, which will pass packets tagged with the figured VLAN IDs. Packets with VLAN IDs that aren't configured in ANS will be dropped. If you don't configure Intel ANS VLANs, then VLAN hardware filters aren't created, and traffic for all VLANs will be permitted.
See Understanding Hyper-V VLANs for more information.
Which versions of Hyper-V support Virtual Machine Device Queues (VMDq) and SR-IOV?
|Operating System||VMDq |
|Windows Server 2008 with Hyper-V*||No||No|
|Windows Server 2008 R2 with Hyper-V*||Yes||No|
|Windows Server 2012 with Hyper-V*||Yes||Yes|
How do I configure VMDq to work with the VLANs in Hyper-V?
Enable Virtual Machine Queues in the Advanced properties tab for your Intel Ethernet Adapter in Windows Device Manager. No additional configuration of the physical device is needed. Hyper-V will automatically configure the virtual queue and VLAN filters for the adapter's driver. Also see the Microsoft Support Article: Network connectivity is lost on Hyper-V VMs if VMQ feature is enabled on HOST network cards.
What are the steps for configuring VLANs for a virtual machine?
- If you haven't already done so, create a virtual network using the Hyper-V* Virtual Network Manager. You can access the Virtual Network Manager from the Actions pane in Hyper-V* Manager.
- Enter a name for the virtual network.
- Select external for the connection type and choose an available physical adapter from the list.
- Optionally, you can enable use of the virtual adapter for the management (host) operating system and configure a VLAN for the host OS.
- In the Network Adapter settings for the Virtual Machine (VM), select the Network to be used by the VM. In the example below, V1 Network is selected. See steps 1 through 3 for creating, naming, and configuring a virtual network.
- Select Enable virtual LAN identification and enter a VLAN ID. In the example below, 12 was entered as the VLAN ID.
Which Intel Ethernet Adapters support VMDq?
|Description||Virtual Machine |
Queues per Port
|Intel® Ethernet Converged Network Adapter X540 (-T1 and -T2) |
Intel® Ethernet Server Adapter X520 Series (-DA2, -SR1, -SR2, -LR1)
Intel® Ethernet Server Adapter X520-T2
|Intel® 10 Gigabit AF DA Dual Port Server Adapter |
Intel® 10 Gigabit AT2 Server Adapter
Intel® 10 Gigabit AT Server Adapter
Intel® 10 Gigabit CX4 Dual Port Server Adapter
Intel® 10 Gigabit XF LR Server Adapter
Intel® 10 Gigabit XF SR Server Adapter
Intel® 10 Gigabit XF SR Dual Port Server Adapter
|Intel® Ethernet Server Adapter I350 |
Intel® Ethernet Server Adapter I340
Intel® Gigabit ET2 Quad Port Server Adapter
Intel® Gigabit ET Quad Port Server Adapter
Intel® Gigabit ET Dual Port Server Adapter
Intel® Gigabit EF Dual Port Server Adapter
Can I use Intel ANS teaming with VMDq in Hyper-V*?
Yes, You must use Intel PROSet version 15.0 or later. Teaming was not compatible with VMDq and Hyper-V in versions of Intel PROSet prior to version 15.0.
Use Virtual Machine Load Balancing (VMLB) teaming mode instead of Adapter Fault Tolerance (AFT), Adaptive Load Balancing (ALB), and Receive Load Balancing (RLB) teaming modes. VMLB teaming mode is selectable only when Hyper-V is available.
|Intel® VMDq Explanation|
|Intel VMDq Demonstration|
|Virtual Machine Device Queues (VMDq)|
|Intel® Virtualization Technology (Intel® VT) for Connectivity (Intel® VT-c)|
|Understanding Hyper-V VLANs (Microsoft TechNet Article)|
|Network connectivity is lost on Hyper-V VMs if VMQ feature is enabled on HOST network cards (Microsoft Support Article)|