How to Create a Logical Network in VMM
Updated: February 13, 2013
Applies To: System Center 2012 - Virtual Machine Manager, System Center 2012 SP1 - Virtual Machine Manager
With Virtual Machine Manager (VMM) in System Center 2012 or in System Center 2012 Service Pack 1 (SP1), you can easily connect virtual machines to a network that serves a particular function in your environment, for example, the “Backend,” “Frontend,” or “Backup” network.
To do this, you associate IP subnets and, if needed, virtual local area networks (VLANs) together into named units called logical networks. You can design your logical networks to fit your environment. Logical networks are an enhancement in System Center 2012, and they continue as part of networking in System Center 2012 SP1.
For more information about logical networks and how they work with other network configuration options in VMM, see Common Scenarios for Networking in Virtual Machine Manager and Configuring Logical Networking in VMM Overview.
|VMM does not automatically create port groups on VMware ESX hosts. Therefore, in order for logical networks to work correctly for managed ESX hosts, you must use VMware vCenter Server to configure port groups with the necessary VLANs that correspond to the network sites.|
Account requirements To complete this procedure, you must be a member of the Administrator or the Delegated Administrator user role. Delegated administrators can only associate a logical network to host groups that are included in their administrative scope.
To create a logical network
Open the Fabric workspace.
On the Home tab, in the Show group, click Fabric Resources.
In the Fabric pane, expand Networking, and then click Logical Networks.
On the Home tab, in the Create group, click Create Logical Network.
The Create Logical Network Wizard opens.
On the Name page, do the following:
Enter a name and optional description for the logical network.
For example, enter the name BACKEND, with the description Corporate network. Use for internal servers such as application and database servers.
If you have System Center 2012 SP1, select check boxes as appropriate by using the table that follows. Otherwise, skip to the next numbered step in this procedure.
Select one or more check boxes based on how you intend to use the VM networks that will be configured on top of this logical network. The following table provides guidelines. For additional descriptions of the ways in which you can use VM networks, see Common Scenarios for Networking in Virtual Machine Manager and Configuring VM Networks and Gateways in System Center 2012 SP1.
Use of the VM network or networks that will be created on top of this logical network Action
Hyper-V network virtualization: multiple VM networks with isolation
Select Allow new VM networks created on this logical network to use network virtualization.
VLAN-based configuration: manage VLANs that have been created for network isolation within the physical network
Select Network sites within this logical network are not connected.
If you are using private VLAN technology, also select Network sites within this logical network contain private VLANs. (Otherwise, do not select it.)
For information about additional steps for this configuration, see “VLAN-based configuration” in the list in Configuring VM Networks and Gateways in System Center 2012 SP1.
One VM network that gives direct access to the logical network: no isolation
If this logical network will support network virtualization (in addition to having a VM network that gives direct access to the logical network), select the check box to allow network virtualization. If this logical network will not use network virtualization at all, leave all check boxes cleared.
External networks: use VMM in coordination with a vendor network-management console
Do not create the logical network manually from within VMM. Instead, follow the steps in How to Add a Virtual Switch Extension Manager in System Center 2012 SP1. The logical network settings will be imported from the database in the vendor network-management console (also known as the management console for a forwarding extension).
- Enter a name and optional description for the logical network.
On the Network Site page, take the following steps.
Note For guidelines for configuring network sites, see “Network sites” in Configuring Logical Networking in VMM Overview. If you do not need to configure network sites, on the Network Site page, click Next, and then click Finish to complete the wizard.
To create a network site, click Add.
VMM automatically generates a site name that consists of the logical network name, followed by an underscore and a number.
Review the network site name and ensure that it is no longer than 64 characters. To change the default name, in the Network site name box, enter a new name for the network site.
For example, enter the name BACKEND - Seattle.
Under Host groups that can use this network site, select the check box next to each host group to which you want to make the logical network available.
For example, to make the BACKEND logical network available to the Seattle host group and all its child host groups, select the check box next to Seattle.
Under Associated VLANs and IP subnets, enter the VLANs and IP subnets that you want to assign to the network site. To enter VLAN and IP subnet information, click Insert row, click the field under VLAN or IP subnet, depending on what you want to configure, and then enter a VLAN, an IP subnet, or a subnet/VLAN pair. You can insert multiple rows.
If you have System Center 2012 SP1 and you previously selected the option for private VLANs, also enter the SecondaryVLAN for each VLAN that you enter.
For guidelines for configuring network sites, see “Network sites” in Configuring Logical Networking in VMM Overview.For example, add the IP subnet/VLAN pair that makes up the example BACKEND network in Seattle, as shown in the following table.
Note By default, if you leave the VLAN field empty, VMM assigns a VLAN of 0. This indicates to VMM not to use VLANs. In trunk mode, VLAN 0 indicates native VLAN. VLAN IP subnet
10.0.0.0/24Example of typical network site configuration
Important In your test environment, make sure that you use VLANs and IP subnets that are available in your network.
Optionally, create additional network sites by clicking Insert row and repeating the process.
For example, create a network site for the BACKEND logical network that is named BACKEND – New York, and assign it to the New York host group. Add the example IP subnet/VLAN pair that makes up the BACKEND network in New York.
IP subnet VLAN
Note Throughout the example scenarios, the BACKEND logical network is used as an example. Therefore, example IP subnets and VLANs are provided only for the BACKEND logical network.
When you complete this step, click Next.
- To create a network site, click Add.
On the Summary page, review the settings, and then click Finish.
The Jobs dialog box appears. Make sure the job has a status of Completed, and then close the dialog box.
Verify that the logical network appears in the Logical Networks and IP Pools pane. Also, if you added network sites, right-click the logical network, click Properties, click the Network Site tab, and verify that the intended network sites appear on the tab.
ConceptsConfiguring Logical Networking in VMM Overview
Configuring VM Networks and Gateways in System Center 2012 SP1
Common Scenarios for Networking in Virtual Machine Manager
Configuring Logical Networking in VMM Illustrated Overview
Configuring Networking in VMM Overview
Configuring VM Networks in VMM in System Center 2012 SP1 Illustrated Overview
For additional resources, see Information and Support for System Center 2012.
Tip: Use this query to find online documentation in the TechNet Library for System Center 2012. For instructions and examples, see Search the System Center 2012 Documentation Library.