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

New Articles

Incoming Search Terms for the Article

virtual pc network problem - vmware nat internet - virtual pc can't connect to internet - virtual pc nat - virtual pc network - virtual pc connect to internet - virtual pc cannot connect to internet - reason 429 unable to resolve server address - how to connect virtual pc to internet - connecting virtual pc to internet - virtual pc network connection - how to connect to internet on virtual pc - virtual pc internet - microsoft virtual pc network problem - virtual pc networking - dns vitual pc - nat vmware internet - windows 7 virtual machine network - virtual pc nat problem - virtual pc cannot ping dns server - vmware internet nat - virtualpc nat - virtual pc windows 7 internet access - virtual pc cannot connect to network - vmware virtual machine cannot connect to internet - Virtual PC network connection problems - unable to connect to vpn in "virtual machine" server 2003 - "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 - virtual pc shared networking Windows 7 - virtual pc 2007 nat - 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 pc NAT - 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 - virtual pc nat not working - how to connect virtual machine to internet mac mini - how to connect wireless internet to virtual image window server 2003 - internet sharing on virtual machine - cannot access internet from guest computer -