Solved

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

Posted on 2013-06-04
1
631 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 46

Accepted Solution

by:
Craig Beck earned 500 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powercli + List all VM's Per SCSILUN 15 91
Vyos VLANs 14 37
HP network exams 3 34
How to manage Hyper-V 2016 from Windows 7 Pro 2 11
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

820 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