Export (0) Print
Expand All

Configure networking for virtual machines

Updated: July 16, 2009

Applies To: Windows 7

You can configure networking to provide virtual machines with different types of network connectivity. A virtual machine can have as many as four network adapters enabled, each of which can be configured to use a different type of networking. You can use the following types of networking in a virtual machine:

  • Internal network. This option provides networking between virtual machines only. This type of network connection is useful when you want to provide a networking communications channel to the virtual machines on one physical computer while isolating the virtual machines from all external networks, both wired and wireless, as well as the host operating system.

  • <Network adapter name> (on host operating system). This option is sometimes referred to as “bridged mode”. It uses a physical network adapter to connect the virtual machine to a physical TCP/IP-based network as a separate computer. The virtual machine appears and operates like a separate physical computer on the network. You use this option by selecting the name of the physical network adapter that is connected to the network you want to use. You can choose from both wired and wireless network adapters.

  • Shared networking (NAT). This option is available for the first network adapter in the virtual machine. It allows the virtual machine to share one connection to a physical TCP/IP network with the host operating system. When you use this option, the virtual machine is not listed as a separate computer on the network. This is useful if you regularly move the host between different network configurations, if you want to connect the virtual machine to the Internet through a broadband or dial-up connection used by the host, including a virtual private network (VPN) connection, or if there is a shortage of IP addresses. However, performance is not as fast as the performance offered by bridged mode.

    If the Windows 7 host uses a wireless WAN (WWAN) device to connect to the Internet and you want a virtual machine to be able to use this connection, you must configure the virtual machine to use shared networking (NAT).

noteNote
A network adapter that is disconnected from all available networks is listed as Not Connected. You can connect a network adapter to a network regardless of the state of the virtual machine. However, a virtual machine must be off before you can add or remove a network adapter—it cannot be running or hibernated. For information about closing a virtual machine, see Close a virtual machine.

To configure networking for a virtual machine

  1. Open the settings for the virtual machine. Do one of the following:

    • In the Virtual Machines folder, right-click the name of the virtual machine, and then click Settings.

    • From the virtual machine window, click the Tools menu, and then click Settings.

  2. In the left pane of the Windows Virtual PC Settings page, click Networking.

  3. To add or remove a network adapter, click the new number of network adapters you want. When you add a network adapter, it is disconnected.

  4. To connect the network adapter to an available type of connection, select it from the drop-down list next to an available network adapter.

  5. Click OK to save the change.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft