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

How to Configure Network Settings on a Hyper-V Host in VMM

Updated: November 1, 2013

Applies To: System Center 2012 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 SP1 - Virtual Machine Manager

You can use the procedures in this topic to configure network settings on a Hyper-V host in Virtual Machine Manager (VMM), and to view compliance information for physical network adapters on the host.

noteNote
Use these procedures if you are running System Center 2012, or if you are running System Center 2012 Service Pack 1 (SP1) or System Center 2012 R2 and you prefer to specify each network adapter setting individually. 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, do not use these procedures. Instead, use the procedures in How to Configure Network Settings on a Host by Applying a Logical Switch in VMM.

Perform the procedures in this topic in the following order:

  1. Associate logical networks with a physical network adapter on a Hyper-V host

  2. Configure settings for external, internal, and private virtual networks

  3. View compliance information for a physical network adapter (Repeat this procedure as needed.)

Prerequisites

Before you associate logical networks with a physical adapter on a host, make sure that the following prerequisites are met:

  • You must have already configured the logical networks that you want to associate with the physical network adapter.

  • If the logical network has associated network sites, one or more of the network sites must be scoped to the host group where the host resides.

For more information, see How to Create a Logical Network 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. For more information about the default behavior, see How to Configure Global Network Settings in VMM.

Associate logical networks with a physical network adapter on a Hyper-V host

To make a logical network available to a Hyper-V host in VMM, you must associate the logical network with a physical network adapter on the host. You perform this association on a per network adapter basis.

To associate logical networks with a physical network adapter on a Hyper-V host

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

  7. If you are running System Center 2012, in the pane on the right, view Logical network connectivity. If you are running System Center 2012 SP1 or System Center 2012 R2, under the physical network adapter, click Logical network connectivity. Then select the check box next to each logical network that you want to associate with the physical adapter. For example, if you configured the BACKEND logical network in the Preparing the Fabric in VMM section, and the BACKEND logical network is available to the host group where the host resides, select the check box next to BACKEND.

    With System Center 2012 SP1 or System Center 2012 R2, you can also view and modify the list of IP subnets and VLANs that are available for a given logical network on the network adapter. (For IP subnet and VLAN configuration with System Center 2012, see the next step.)

    With System Center 2012 R2, if your configuration meets certain requirements, you might also be able to view switch port details for the network adapter. The first requirement is that in VMM, you must have added top-of-rack (TOR) switch as a network service. The second requirement is that the switch must respond with information about the port that is connected to this network adapter.

    noteNote
    Be aware that all logical networks are listed here, not just the logical networks that are available to the host group where the host resides.

  8. If you are running System Center 2012 SP1 or System Center 2012 R2, ignore this step. If you are running System Center 2012, to configure advanced settings, click Advanced. In the Advanced Network Adapter Properties dialog box, you can configure the following:

    • The mode of the physical switch port that the network adapter is connected to. You can select either Trunk mode or Access mode.

      Trunk mode. Trunk mode enables multiple VLAN IDs to share the connection between the physical network adapter and the physical network. To give virtual machines external access through the same virtual network in multiple VLANs, you must configure both the port on the physical switch that the physical network adapter on the host is connected to, and the port of the virtual switch to use trunk mode. You must also provide the specific VLANs that will be used, and all of the VLAN IDs that are used by the virtual machines that the virtual network supports.

      Access mode. In access mode, the external port of the virtual network is restricted to a single VLAN ID. Use access mode when the physical network adapter is connected to a port on the physical network switch that is also in access mode. To give a virtual machine external access on the virtual network that is in access mode, you must configure the virtual machine to use the same VLAN ID that is configured in the access mode of the virtual network.

    • You can view and modify the IP subnets and VLANs that are available for a given logical network on the network adapter. By default, for a selected logical network, the IP subnets and VLANs that are scoped to the host group or inherited through the parent host group are assigned to the network adapter.

      To select the available IP subnets and VLANs, click a logical network in the Logical network list. Then, use the Add and Remove buttons to configure which IP subnets and VLANs are assigned to the adapter. When you are finished, click OK.

      noteNote
      If no IP subnets or VLANs appear in the Available or Assigned columns, this indicates that no network site exists for the selected logical network that is scoped to the host group or inherited by the host group. For more information about network sites, see Configuring Logical Networking in VMM Overview and How to Create a Logical Network in VMM.

      In the Logical network list, if the Unassigned option is available, you can view any VLANs that the physical network adapter is connected to, but are not included in a network site. You can either remove these VLANs from the network adapter, or you can define them in a network site.

Configure settings for external, internal, and private virtual networks

Use the following procedure to control the types of connectivity available to virtual machines by using External, Internal, or Private settings (more details about these settings are in the procedure). Also use this procedure to configure host access through VLANs. You configure these settings through a host property that in System Center 2012 is called a virtual network and in System Center 2012 SP1 and System Center 2012 R2 is called a virtual switch.

Before applying the External setting, you must associate logical networks that you have configured in VMM with a physical network adapter, as described in the previous procedure.

To configure settings for external, internal, and private virtual networks

  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, perform the following steps:

    • For System Center 2012: Click the Virtual Networks tab. Then, under Virtual Networking, click the virtual network that you want to configure, or click Add to add a new virtual network.

    • For System Center 2012 SP1 or System Center 2012 R2: Click the Virtual Switches tab. Then click an existing virtual switch, or click New Virtual Switch and then click New Standard Switch.

      If you do not want to apply each setting individually (that is, you do not want to use a standard switch), and you instead want to apply a logical switch to the network adapter, see the procedures in How to Configure Network Settings on a Host by Applying a Logical Switch in VMM.

  6. In the Name box, enter a name, or accept the default.

  7. In the Network binding list, click the network type. You can configure the following types:

    • External

      Use this type when you want to allow virtual machines to communicate with each other and with externally located servers, and optionally with the host operating system. The External type is bound to a physical network adapter. This type can be used to allow virtual machines to access a perimeter network and not expose the host operating system.

    • Internal

      Use this type when you want to allow communication between virtual machines on the same host and between the virtual machines and the host. The Internal type is not bound to a physical network adapter. It is typically used to build a test environment where you want to connect to the virtual machines from the host operating system, but do not want to allow virtual machines on the host to communicate with external networks.

    • Private

      Use this type when you want to allow communication between virtual machines on the same host but not with the host or with external networks. The Private type does not have a virtual network adapter in the host operating system, nor is it bound to a physical network adapter. The Private type is typically used when you want to isolate virtual machines from network traffic in the host operating system and in the external networks.

  8. If you click External, do the following:

    1. In the Network adapter list, click the physical network adapter that you want to associate with the external virtual switch (or external virtual network, as it is called in System Center 2012).

    2. Review the Logical network field, which indicates the logical networks that are associated with the network adapter. To associate logical networks with the physical network adapter, see Associate logical networks with a physical network adapter on a Hyper-V host, earlier in this topic.

    3. If you are running System Center 2012 SP1 or System Center 2012 R2, skip this step. Otherwise, to enable the host to use the virtual network to communicate with virtual machines and also with the external network, select the Host access check box.

      WarningWarning
      If you clear this check box for the physical network adapter that is used for management, you may lose connectivity to the host.

    4. To access the host through a VLAN, select the Access host through a VLAN check box (if available), and then select a VLAN number. The list of available VLANs is scoped to the VLANs that are configured as part of the logical network, and are assigned to the network adapter.

      WarningWarning
      If you specify a VLAN for a single network connection to the host, network connectivity may be lost and you may lose the ability to manage the host. We recommend that you always use at least two physical network adapters on a host: one network adapter dedicated to the physical computer for remote management and communication between the host and the VMM server, and one or more network adapters dedicated to the external virtual networks that are used by virtual machines.

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 of these capabilities are available, in the Host Properties dialog box, the Virtual Networks tab (in System Center 2012) or the Virtual Switches tab (in System Center 2012 SP1 or System Center 2012 R2) will display a message saying Network optimization is available on the virtual network or 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 physical 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 physical network adapter

  1. Open the Fabric workspace.

  2. In the Fabric pane, expand Networking, and then click Logical Networks.

  3. On the Home tab, in the Show group, click Hosts.

  4. In the Logical Network Information for Hosts pane, expand the host, and then click a physical network adapter.

  5. In the Network Compliance column, view the compliance status.

    • A value of 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 IP subnets and VLANs that are included in the network site and those that are assigned to the network adapter.

      In the details pane, the Logical network information section lists the assigned IP subnets and VLANs for the physical 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 none of the IP subnets and VLANs that are defined for the logical network are assigned to the physical adapter.

    TipTip
    In addition to the compliance information, you can also view detailed information about the physical network adapter, such as the assigned IP address and MAC address, and the associated virtual networks.

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.