Solved

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

Posted on 2013-06-04
1
618 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 45

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now