Creating multiple private virtual networks under Virtual PC

  • Comments 2

Under Virtual Server we give you the ability to create multiple private virtual networks for use by your virtual machines (this is very handy for creating complicated, but isolated, networking infrastructures).  Unfortunately under Virtual PC we only provide one private virtual network. 

This can be easily remedied. 

All you need to do is to install as many Microsoft Loopback adapters in the physical computer as you want private virtual networks (the details on how to install the Microsoft Loopback adapter are provided in the Virtual PC help files; to install multiple Microsoft Loopback adapters you just have to repeat the process).  You should then unbind everything but the Virtual Machine Network Services drivers from these new loopback adapters (unless you want the host to be able to join in on the networking - in which case you can just leave them alone) and launch Virtual PC.

The only problem now is that you will have a bunch of virtual networks with names like "Microsoft Loopback Adapter #5" - but this can be easily fixed by following the process outlined in my post yesterday.


N.B. If you do decide to leave TCP/IP enabled on the Microsoft Loopback adapter you should configure it to use a static IP address; otherwise there will be a noticeable pause whenever you first login to your physical computer as it attempts to get a DHCP lease on the loopback adapter (which will never succeed)

Leave a Comment
  • Please add 2 and 8 and type the answer here:
  • Post
  • Hi,

    i have VirtualPC installed on my laptop.
    when i'm connected to a DHCP network, the virtual machine networking works
    fine, gets IP from DHCP server.

    but when my laptop (host machine) is connected to the internet using a
    usb-adsl modem and gets a real IP, the virtual machine is not connected to
    the internet, even if i configure in the settings page to use NAT

    what is the way to have the virtual machine connected to the network in this
    connection scenario?

  • Zigi -

    This should work just fine. If you are seeing problems you may want to try configuring the guest operating system to use a DNS server of '' when you are using shared networking.

Page 1 of 1 (2 items)

Creating multiple private virtual networks under Virtual PC