Export (0) Print
Expand All
0 out of 4 rated this helpful - Rate this topic

How to Configure Network Settings on a Host by Applying a Logical Switch in VMM

Updated: November 1, 2013

Applies To: System Center 2012 R2 Virtual Machine Manager, 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) or System Center 2012 R2, 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 or System Center 2012 R2, 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.

noteNote
Use these procedures if you are running System Center 2012 SP1 or System Center 2012 R2, 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:

  1. Specify whether a network adapter is used for virtual machines, host management, neither, or both

  2. Configure network settings on a host by applying a logical switch

After you perform the procedures in this topic, as a best practice, review the procedures in How to View Host Network Adapter Settings and Increase Compliance with Logical Switch Settings in VMM.

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 VMM. 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, and Scale-Out File Servers to VMM and Managing VMware ESX and Citrix XenServer in VMM.

noteNote
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

  1. Open the Fabric workspace.

  2. In the Fabric pane, expand Servers, expand All Hosts, and then locate and click the host group where the host resides.

  3. In the Hosts pane, click the host that you want to configure.

  4. On the Host tab, in the Properties group, click Properties.

  5. In the Host Name Properties dialog box, click the Hardware tab.

  6. 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.

ImportantImportant
  • Make sure that you have at least one network adapter that is available for communication between the host and the VMM management server, and that Used by management is selected for this network adapter.

  • If you have already applied a logical switch and an uplink port profile to a network adapter, if you click Logical network connectivity, you can see the resulting connectivity. However, if you plan to apply a logical switch and an uplink port profile, do not make individual selections in Logical network connectivity. Instead, use the following procedure.

Configure network settings on a host by applying a logical switch

In Virtual Machine Manager (VMM) in System Center 2012 SP1 or System Center 2012 R2, you can bring together network settings that you configured in port profiles and logical switches, by applying them to network adapters on a host.

noteNote
Use this procedure if you are running System Center 2012 SP1 or System Center 2012 R2, 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

  1. Open the Fabric workspace.

  2. In the Fabric pane, expand Servers, expand All Hosts, and then locate and click the host group that contains the host.

  3. In the Hosts pane, click the host that you want to configure.

  4. On the Host tab, in the Properties group, click Properties.

  5. In the Host Name Properties dialog box, click the Virtual Switches tab.

  6. On the Virtual Switches tab, do the following:

    1. Select an existing logical switch from the list, or click New Virtual Switch and then click New Logical Switch.

    2. In the Logical switch list, select the logical switch that you want to use.

    3. Under Adapter, select the physical adapter that you want to apply the logical switch to.

    4. 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.

    5. As needed, repeat the steps for creating a new logical switch.

      ImportantImportant
      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.

    6. When you have finished configuring settings, click OK.

      CautionCaution
      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.

If certain network optimization capabilities are available on a host that is running Windows Server 2008 R2, Windows Server 2012, or Windows Server 2012 R2, 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).

If you use logical switches to configure settings on network adapters on one or more hosts, you can later review whether the network adapter settings still comply with the logical switch settings. If the network adapter settings are out of compliance with the logical switch settings, you can bring them back into compliance by using the remediation feature in VMM. For more information, see How to View Host Network Adapter Settings and Increase Compliance with Logical Switch Settings in VMM.

See Also

-----
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.
-----
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.