Unable to Connect to Internet in Virtual PC with NAT Shared Networking NAT on Windows XP Guest

When using a Windows XP as guest operating system in Virtual PC 2007 with Shared Networking or NAT (Network Address Translation) as network adapter, the system cannot connect to Internet and unable to browse the websites with any web browser, including Internet Explorer and Firefox.

The unable connect to Internet from Windows XP virtual machine in VPC happens without reason, and despite the networking via NAT works before the problem occurs. Beside, any connection using protocols that do not require domain name translation works. For example, FTP, secure FTP, telnet or SSH to remote server on Internet by using IP address instead of host name.

The problem happens in Windows XP guest operating system because of incorrect DNS server been assigned automatically. The error may arises from user has manually set the wrong IP address for the DNS server. In this case, verify that the DNS server can indeed resolve a domain name or URL correctly (i.e. ping a valid domain should at least return an IP address), and set the DNS Server address in Windows XP guest OS in virtual machine according to what is in used in host operating system that runs the Virtual PC.

Another possible cause is incorrect assignment by VPC virtual networking adapter. By default, Virtual PC virtual NAT router will allocate and assign to guest operating system the same DNS server that’s been used by host operating system if the network connection properties for TCP/IP protocol is set to obtain DNS server address automatically. However, for some reason, the DNS server used may be incorrect or invalid, such as when in the cause that user switch or change Internet connection used which has different DNS server, or change to new DNS servers without restarting the host computer.

In this kind of symptom, close the virtual machines and then exit and restart Microsoft Virtual PC Console. The problem should be fixed after that. If for any reason you can’t shutdown the guest operating system, just simply manually configure and set a fixed DNS Server IP address in the Internet Protocol (TCP/IP) Properties for the Local Area Network (LAN) Connections (may be in another name).

Note that if you’re installing Windows Vista, Windows Server 2003 or 2008 as guest operating system in VPC’s virtual machine, there is another DNS Server issue that cause unable to connect and browse the Internet problem, where resolution requires a manual set the DNS Server IP address to 192.168.131.254.

8 Responses to “Unable to Connect to Internet in Virtual PC with NAT Shared Networking NAT on Windows XP Guest”

  1. John V
    November 17th, 2009 04:36
    8

    Thanks!
    This makes my mobile work as internet acces point for my VPC. Good advice!

    Cheers.

  2. Hozz
    June 4th, 2009 19:31
    7

    Im running vista hp.. i had the problem with the vpc 2007 networking.. i just deleted the old virtual machine setup in the console .. created a new one and my networking was back… go figure.

  3. n/a
    April 21st, 2009 13:15
    6

    Thanks, the advice helped!

  4. Ice Cream
    February 18th, 2009 17:26
    5

    Oh well. Been waiting ages.

  5. Ice Cream
    November 14th, 2008 21:50
    4

    I want internet for my virtual machines!!!!! Mine are:
    Windows 2000
    Windows 7
    Windows 98
    Windows XP

    Plz tell me how to connect!!!

  6. mini - macmini 1.42ghz PPC G4 running virtual pc - Mac-Forums.com
    October 10th, 2008 00:35
    3

    [...] this __________________ In the land of the blind, the one-eyed man is stoned to death. – Joan D. [...]

  7. jose luis diaz
    September 27th, 2008 01:59
    2

    no puedo jugar con los juegos gratis ni siquiera mirar videos de youtube en internet.

  8. Fix Virtual PC 2007 Shared Networking (NAT) Internet Not Working in Windows Server 2003, 2008 and Vista Guest OS » Tip and Trick
    July 8th, 2008 01:50
    1

    [...] you’re encountering this problem in Windows XP guest OS, it’s probably caused by invalid DNS server assigned by Virtual PC network adapter [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

vmware nat internet - reason 429 unable to resolve server address - all - verifying nat xp - virtual pc not connecting to internet - virtual pc server 2008 wireless internet connection - nat not working virtual pc - ubuntu cannot connect to internet via virture PC - virtual pc connect to internet - virtual pc nat inurl:mydigitallife.info - virtual pc network - windows 7 and virtual machine internet problem - xp on virtual pc can not connect to internet - virtual pc network problem - virtual pc 2007 nat - windows virtual pc windows 7 internet - connect virtual pc to network - how to connect to the internet on my vm windows server 2003 - virtual xp network - connecting to vpc using nat - how do you setup an internet connection on vitual pc 2007 - virtual pc nat connect to host server - virtual pc nat - vmware wireless connection on xp home - vmware xp client unable to resolve dns - how to connect to the internet using virtual pc - "virtual pc" ubuntu network "shared networking (nat)" - cache:eRuijnWEu4gJ:www.tipandtrick.net/2008/fix-virtual-pc-2007-shared-networking-nat-internet-not-working-in-windows-server-2003-2008-and-vista-guest-os/ virtual pc 2007 - how to connect to internet from vpc - lan networking virtual pc 2007 - NAT windows server problems - network Windows 7 and Vista - shared networking Nat - shared network NAT VPC ubuntu - unable to connect secure online access - virtual machine shared networking unable to connect to internet - virtual pc connect internet - vIRTUAL PC UNABLE TO CONNECT TO INTERNET - vista resolve vm guest name - vmware server virtual machine internet problems - vmware nat windows nat - windows virtual pc windows 95 dns - windows 7 vmware no internet access - can\'t browse internet virtual pc windows 2003 - can't connect to my virtual machine via ssh - connect to internet from virtual machine - how to connect to internet a from virtual PC - microsoft virtual pc network conn - microsoft virtual pc 2007 network error - microsoft virtual machine cannot connect to internet -