How to Configure Network Settings on a Host by Applying a Logical Switch in System Center 2012 SP1
Updated: February 13, 2013
Applies To: System Center 2012 SP1 - Virtual Machine Manager
You can use the procedures in this topic to configure a network adapter on a Hyper-V host in System Center 2012 Service Pack 1 (SP1) by associating logical networks with the adapter and applying a logical switch and port profiles to the adapter. This topic also includes a procedure for viewing compliance information for network adapters on the host.
In Virtual Machine Manager (VMM) in System Center 2012 SP1, you can bring together the network settings that you configured in port profiles and logical switches by applying them to network adapters on a host. The network adapters can be physical network adapters or virtual network adapters on the host. The host property through which you apply port profiles and logical switches is called a virtual switch. This is the same concept as the Hyper-V Virtual Switch, described in Hyper-V Virtual Switch Overview.
Note |
|---|
| Use these procedures if you are running System Center 2012 SP1 and you prefer to apply port profiles and logical switches (that you have already configured) to network adapters. If you prefer to specify each network adapter setting individually, or you are running System Center 2012, do not use these procedures. Instead, use the procedures in How to Configure Network Settings on a Hyper-V Host in VMM. |
Perform the procedures in this topic in the following order:
-
Specify whether a network adapter is used for virtual machines, host management, neither, or both
-
Configure network settings on a host by applying a logical switch
-
View compliance information for a network adapter (Repeat this procedure as needed.)
Prerequisites
Before you can perform this procedure, you must first configure multiple networking elements, including logical networks, port profiles, and logical switches. For more information, see Configuring Ports and Switches for VM Networks in System Center 2012 SP1. It is especially important to review prerequisites if you want to configure single-root I/O virtualization (SR-IOV) for network adapters on the host.
Also, before you can perform this procedure, you must add the host or hosts to VMM. For more information, see Adding Hyper-V Hosts and Host Clusters to VMM and Managing VMware ESX and Citrix XenServer in VMM.
Note |
|---|
| By default, when you add a host to VMM management, VMM automatically creates logical networks on host physical network adapters that do not have logical networks defined on them. If a virtual network is not associated with the network adapter, when VMM connects a virtual machine to the physical network adapter, VMM automatically creates an external virtual network and associates it with the logical network. For more information about the default behavior, see How to Configure Global Network Settings in VMM. |
Specify whether a network adapter is used for virtual machines, host management, neither, or both
Regardless of any port profiles and logical switches you are using in your network configuration, you must specify whether a network adapter in a host is used for virtual machines, host management, neither, or both.
To specify whether a network adapter is used for virtual machines, host management, neither, or both
-
Open the Fabric workspace.
-
In the Fabric pane, expand Servers, expand All Hosts, and then locate and click the host group where the host resides.
-
In the Hosts pane, click the host that you want to configure.
-
On the Host tab, in the Properties group, click Properties.
-
In the Host Name Properties dialog box, click the Hardware tab.
-
Under Network Adapters, click the physical network adapter that you want to configure. If you want to use this network adapter for virtual machines, ensure that the Available for placement check box is selected. If you want to use this network adapter for communication between the host and the VMM management server, ensure that the Used by management check box is selected.
Important |
|---|
|
Configure network settings on a host by applying a logical switch
In Virtual Machine Manager (VMM) in System Center 2012 SP1, you can bring together network settings that you configured in port profiles and logical switches, by applying them to network adapters on a host.
Note |
|---|
| Use this procedure if you are running System Center 2012 SP1 and you prefer to apply port profiles and logical switches (that you have already configured) to network adapters. If you prefer to specify each network adapter setting individually, or you are running System Center 2012, do not use this procedure. Instead, use the procedures in How to Configure Network Settings on a Hyper-V Host in VMM. |
To configure network settings on a host by applying a logical switch
-
Open the Fabric workspace.
-
In the Fabric pane, expand Servers, expand All Hosts, and then locate and click the host group that contains the host.
-
In the Hosts pane, click the host that you want to configure.
-
On the Host tab, in the Properties group, click Properties.
-
In the Host Name Properties dialog box, click the Virtual Switches tab.
-
On the Virtual Switches tab, do the following:
-
Select an existing logical switch from the list, or click New Virtual Switch and then click New Logical Switch.
-
In the Logical switch list, select the logical switch that you want to use.
-
Under Adapter, select the physical adapter that you want to apply the logical switch to.
-
In the Uplink Port Profile list, select the uplink port profile that you want to apply. The list contains the uplink port profiles that have been added to the logical switch that you selected. If a profile seems to be missing, review the configuration of the logical switch and then return to this property tab.
-
As needed, repeat the steps for creating a new logical switch.
Important If you apply the same logical switch and uplink port profile to two or more adapters, the two adapters might be teamed, depending on a setting in the logical switch. To find out if they will be teamed, open the logical switch properties, click the Uplink tab, and view the Uplink mode setting. If the setting is Team, the adapters will be teamed. The specific mode in which they will be teamed is determined by a setting in the uplink port profile. -
When you have finished configuring settings, click OK.
Caution While VMM creates the virtual switch, the host may temporarily lose network connectivity. This may have an adverse effect on other network operations in progress.
-
Select an existing logical switch from the list, or click New Virtual Switch and then click New Logical Switch.
If certain network optimization capabilities are available on a host that is running Windows Server 2008 R2 or Windows Server 2012, VMM automatically detects the capabilities and displays a message. These capabilities are Virtual Machine Queue (VMQ) and TCP Chimney Offload. After VMM has detected that either or both of these capabilities are available, in the Host Properties dialog box, the Virtual switches tab will display the message Network optimization is available on this virtual switch. For information about these network optimization capabilities, see Using TCP Chimney Offload and Using Virtual Machine Queue. For information about these network optimization capabilities in the context of VMM, see the “Network Optimization Support” section in Configuring Virtual Networks in VMM (which describes the capabilities in an earlier version of VMM).
View compliance information for a network adapter
Compliance information indicates whether the settings on the host are consistent with the configuration in VMM. For example, compliance information indicates whether all IP subnets and VLANs that are included in a network site in a logical network are assigned to a network adapter.
To view compliance information for a network adapter
-
Open the Fabric workspace.
-
In the Fabric pane, expand Networking, and then click Logical Networks.
-
On the Home tab, in the Show group, click Hosts.
-
In the Logical Network Information for Hosts pane, expand the host, and then click a network adapter.
-
In the Network Compliance column, view the compliance status.
-
A value of Fully compliant indicates that the settings on the host are consistent with the configuration in VMM. For example, Fully compliant indicates that all IP subnets and VLANs that are included in the network site are assigned to the network adapter.
-
A value of Partially compliant indicates that there is only a partial match between the settings on the host and the configuration in VMM.
In the details pane, the Logical network information section lists the assigned IP subnets and VLANs for the network adapter. If an adapter is partially compliant, you can view the reason in the Compliance errors section. -
A value of Non compliant indicates that the settings on the host are missing from the configuration in VMM. For example, Non compliant indicates that none of the IP subnets and VLANs that are defined for the logical network are assigned to the physical adapter.
Tip In addition to the compliance information, you can also view detailed information about the network adapter, such as the assigned IP address and MAC address, and the associated virtual networks. -
A value of Fully compliant indicates that the settings on the host are consistent with the configuration in VMM. For example, Fully compliant indicates that all IP subnets and VLANs that are included in the network site are assigned to the network adapter.
See Also
Tasks
How to Configure Network Settings on a Hyper-V Host in VMMConcepts
Configuring Ports and Switches for VM Networks in System Center 2012 SP1Configuring Ports and Switches in VMM in System Center 2012 SP1 Illustrated Overview
Configuring Networking in VMM Overview
Adding Hyper-V Hosts and Host Clusters to VMM
-----
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.
-----
