System Center 2012 Virtual Machine Manager selects a tagged VLAN when creating a new virtual machine

Article ID: 2680267
Expand all | Collapse all

Symptoms

Consider the following scenario:

You have a logical network that has two VLANs defined: One is VLAN 0 and the other is VLAN X.

When you create a virtual machine using System Center 2012 Virtual Machine Manager and assign it to VLAN 0, when you view the properties of the virtual machine you notice that it points to VLAN X.

Cause

This behavior is expected for new virtual machine placements.  Unless you manually specify the VLAN to use by using the set-scvirtualnetworkadapter command, placement will pick what it considers the best VLAN to use.

Resolution

If the VLAN are not for the same use you may want to create two different logical networks, one for each VLAN. By doing this, once the logical network is assigned it will select the only VLAN listed for that logical network.

When deploying the VM from template when you choose Static IP address from pool the process will auto select the vlan based on the pool selected. This helps control the VLAN for the VM.

If you create a VM and use DHCP the recommendation is to create a seperate logical network for each vlan. This way the same vlan is assigned everytime.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2680267 - Last Review: April 3, 2012 - Revision: 4.0
Keywords: 
KB2680267

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com