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.
Related Articles
- Free Download: Microsoft Virtual PC 2007 with Support for Windows Vista as Guest OS
- Microsoft Money 2007 Unable to Connect to Internet to Sign In Online in Windows Vista Error
- Try Out and Install Windows Vista in Virtual Machine with Virtual PC 2007 and VMWare Server
- Unable to Logon to Win2003 Domain AD Due to Windows Cannot Connect to the Domain Error
- Unable and Cannot Connect to WPA and WPA2 Encrypted Wireless Wi-Fi Network in Windows XP
- How to Access and Run Internet Explorer 6 (IE6) and Outlook Express (OE) of Virtual XP Mode (VXP) VM in Windows 7
- OFXIE12007 Microsoft Money 2007 Unable to Connect Error
- Virtual PC for Windows 7 (for Virtual Machine or XP Mode) Free Download (KB958559)
- How to Tether and Connect iPhone (1G, 2G and 3G) as Modem for Internet Gateaway
- Social Networking Via Google Lively 3D Virtual World










































June 4th, 2009 19:31
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.
April 21st, 2009 13:15
Thanks, the advice helped!
February 18th, 2009 17:26
Oh well. Been waiting ages.
November 14th, 2008 21:50
I want internet for my virtual machines!!!!! Mine are:
Windows 2000
Windows 7
Windows 98
Windows XP
Plz tell me how to connect!!!
October 10th, 2008 00:35
[...] this __________________ In the land of the blind, the one-eyed man is stoned to death. – Joan D. [...]
September 27th, 2008 01:59
no puedo jugar con los juegos gratis ni siquiera mirar videos de youtube en internet.
July 8th, 2008 01:50
[...] you’re encountering this problem in Windows XP guest OS, it’s probably caused by invalid DNS server assigned by Virtual PC network adapter [...]