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.


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

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

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

    Thanks, the advice helped!

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

    Oh well. Been waiting ages.

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

  5. 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. [...]

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

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

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

New Articles

Incoming Search Terms for the Article

virtual pc network problem - virtual pc can't connect to internet - Virtual PC NAT - vmware nat internet - virtual pc cannot connect to internet - virtual PC network - connecting virtual pc to internet - virtual pc network connection - virtual pc internet - connect vpc to internet - virtual Pc NAT problem - reason 429 unable to resolve server address - unable to ftp with window virtual pc - dns virtual pc - windows 7 virtual pc internet - virtual pc connect to internet - virtual pc networking - dns vitual pc - how to connect virtual pc to internet - virtual pc cannot ping dns server - virtual pc 2007 nat - vmware + nat + internet - windows 7 virtual pc network problems - MICROSOFT VIRTUAL PC NETWORK - NAT virtual pc - virtual pc configure nat - virtual pc 2007 internet not working - server 2003 unable connect internet - vista nat problem - vpc shared nat windows xp - virtual pc cannot ping host pc - virtual pc windows 2000 nat - "windows virtual pc" nat - cannot connect virtual PC to internet - ics resolves dns cannot access internet - Microsoft Virtual PC 2007 Internet not working - virtual pc windows 7 no internet - how to connect to internet on virtual pc - how to connect to internet from guest windows xp and host window server 2003 - virtual pc using network - virtual pc ip addressing - vmware setup nat internet - windows 7 virtual machine network - my virtual machine cannot connect to the internet - virtual pc 2007 network not working - virtual machine connect to internet - windows 7 virtual pc cannot ping remote - microsoft virtusl pc network adapter resources code - virtual windows vista no NAT - how to connect virtual machine to internet mac mini -