Solved

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

Posted on 2013-06-04
1
639 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

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.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

751 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