Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hyper-V 2012: Why VLAN ID number instead of using a friendly port group name?

Posted on 2013-06-04
1
Medium Priority
?
653 Views
Last Modified: 2014-11-12
Excerpt from an article.

Here is where my dislike of Hyper-V network steps in. When one creates a new VM and it must be assigned a particular VLAN it has to be done by VLAN ID number and not using a friendly port group name.

I assume for most admins this configuration setting is not a large inconvenience as they may only have 3 or 4 VLANs. However, what if you have 10 or 15 or 50 VLANs in your environment? Every time you create a machine you have to know which VLAN ID number corresponds to the proper network segment for your new Management VM, or your new SQL server VM.

I think I can use -VMName instead of -ManagementOS for LAN, NLB and DAG to add them to appropriate VMs.  

But in all books an articles I'm reading the VLAN assigned to a VM is done by VLAN ID number.  

Is there something I should be aware of about using -VMName instead of selecting a VLAN ID for each VM I'm adding?

Thanks
0
Comment
Question by:quadrumane
1 Comment
 
LVL 47

Accepted Solution

by:
Craig Beck earned 2000 total points
ID: 39223057
It's really about how the network and Hyper-V interact.  If you connect all of your host NICs to VLAN-tagged switch ports you would have to set the VLAN ID for each Guest, as the article says.  Or, you could assign one NIC in your host to VLAN1 at the switch, another port to VLAN 2 at the switch, etc, etc, then assign them to your Guests as you require.

Unless something has drastically changed between Hyper-V2 and HyperV3, assigning the VLAN ID can only be done in one place, using the VLAN ID.  There is no concept of port groups as such - that's done at the network level.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question