Configure Networking

Applies To: Windows Server 2008

You can configure networking for virtual machines by adding, removing, and modifying their network adapters as necessary. Each network adapter can be connected to one of the virtual networks available on the server running Hyper-V™.

Note

You can use Virtual Network Manager to add, remove, and modify virtual networks. For more information, see Managing Virtual Networks.

To add a network adapter

  1. Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.

  2. In the results pane, under Virtual Machines, select the virtual machine that you want to configure.

  3. In the Action pane, under the virtual machine name, click Settings.

  4. In the navigation pane, click Add Hardware.

  5. On the Add Hardware page, choose a network adapter or a legacy network adapter. For more information about each type of adapter, see "Additional Considerations," below.

  6. Click Add. The Network Adapter or Legacy Network Adapter page appears.

  7. Under Network, select the virtual network you want to connect to.

  8. If you want to configure a static MAC address or virtual LAN identifier, specify the numbers you want to use.

  9. Click OK.

To modify or remove a network adapter

  1. Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.

  2. In the results pane, under Virtual Machines, select the virtual machine that you want to configure.

  3. In the Action pane, under the virtual machine name, click Settings.

  4. In the navigation pane, click the name of the network adapter.

  5. On the Network Adapter or Legacy Network Adapter page, do one of the following:

    • To modify the configuration, make your changes and then click Apply.

    • To remove the network adapter, click Remove.

  6. Click OK.

Additional considerations

  • By default, membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. However, an administrator can use Authorization Manager to modify the authorization policy so that a user or group of users can complete this procedure.

  • A network adapter requires a virtual machine driver in order to work. On all supported operating systems, install integration services in the guest operating system to install the virtual machine driver. For instructions, see Install a Guest Operating System [Longhorm].

  • A legacy network adapter works without installing a virtual machine driver. The legacy network adapter emulates a physical network adapter, multiport DEC 21140 10/100TX 100 MB. A legacy network adapter also supports network-based installations because it includes the ability to boot to the Pre-Execution Environment (PXE boot). However, the legacy network adapter is not supported in the 64-bit edition of Windows Server 2003.

Additional references