Question : Hyper-V support multiple VLANs on one NIC?

I have just installed W2K8 R2 and Hyper-V.
My server has 2 NICs and I have assigned a static IP to NIC1 for the server management.
I want to configure NIC2 as my VM network and want to have 5 VLANs available to assign to various VMs.  This works really well in VMWare ESX and vCenter.

Is this possible with Hyper-V?

I see various articles but no solution.  This article explains child partitions but I want to communicate outside of the Hyper-V host on multiple VLANs.  It calls out the question I need but no answer.
http://blogs.msdn.com/adamfazio/archive/2008/11/14/understanding-hyper-v-vlans.aspx

This one says that there is a WMI interface to do it, but does not say what that is!!
http://blogs.msdn.com/virtual_pc_guy/archive/2008/03/10/vlan-settings-and-hyper-v.aspx

Answer : Hyper-V support multiple VLANs on one NIC?

To setup VLANs in Hyper-V, you just need to enable virtual LAN identification on the VM NIC and assign the VLAN ID to the VM NIC, assuming your NIC supports VLAN tagging and you have your NIC connected to a trunk port on your swtich.

I set up a test network with 3 VLANs on one NIC and it worked flawlessly.

Here are some additional details on configurartion:
http://www.virtualizationadmin.com/articles-tutorials/microsoft-hyper-v-articles/networking/introduction-vlan.html

1.Open up the Hyper-V Manager console.

2.Highlight the virtual machine that you want to configure for VLAN tagged traffic.

3.On the right hand pane under actions for the virtual machine, click the action called Settings.

4.Find the network adapter connected to the External network and highlight the virtual network adapter entry under hardware section. On the right hand side, you will see the option to Enable virtual LAN identification, check that box and enter a value of "X" for the VLAN ID.

5.Press Ok to save the changes.

-Hope this helps
Random Solutions  
 
programming4us programming4us