Fix Virtual PC 2007 Shared Networking (NAT) Internet Not Working in Windows Server 2003, 2008 and Vista Guest OS菲克斯萨虚拟PC 2007共享网络( NAT )的互联网不工作在Windows Server 2003 , 2008和Vista客户操作系统
After installing Windows Server 2003,在安装Windows Server 2003中, Windows Server 2008 Windows Server 2008的 and Windows Vista into Microsoft Virtual PC's virtual machine (VM) (update to和Windows Vista微软的Virtual PC的虚拟机( VM ) (更新 Virtual PC 2007 SP1虚拟PC 2007 SP1中 ) as guest operating system, and set the Networking Settings for the VM to use Shared Network (NAT) as the network adapter, the Internet appears to be not working where web browser (Internet Explorer, IE and Firefox) cannot connect, find, locate or browse to website. ) ,作为客户操作系统,并设置网络设置虚拟机使用共享网络( NAT )的作为网络适配器,互联网似乎是在不工作的网络浏览器( Internet Explorer中, IE和Firefox )不能连接,寻找,找到或浏览网站。
However, when IP address is used, access to the external server on Internet may work.然而,当IP地址使用,访问外部服务器在互联网上可以工作。 For example, ping, trace route, ftp, sftp, telnet and SSH using IP address instead of domain name or host name, user can successfully connecting to the remote server.例如,平,追查路线,的FTP , SFTP发布, Telnet和SSH的使用的IP地址而不是域名或主机名称,用户可以成功地连接到远程服务器。
NAT (网络地址转换( Network Address Translation网络地址翻译 ) is an easy shared networking technique that masquerading or transceiving network traffic through a router that involves re-writing the source and/or destination IP addresses and the TCP/UDP port numbers of IP packets as they pass through. )是一种简单共享网络技术,伪装或收发网络流量通过路由器,涉及重新编写的源代码和/或目的地IP地址和TCP / UDP端口号的IP数据包,因为它们通过。 In the case of Virtual PC, it uses a virtual NAT router which built on host computer's default active network connection to allow guest operating system to access Internet via the host's Internet connection.在案件的Virtual PC ,它使用了一个虚拟的NAT路由器是建立在主机电脑的默认活动的网络连接,允许客户操作系统访问互联网主机的Internet连接。
Shared Networking or NAT allows computers or hosts on a private network to access the Internet using a single IP address, without exposing the PCs (or virtual machines) to the external network, significantly reduce security risk.共享网络或NAT允许电脑或主机专用网络接入互联网使用一个IP地址,而不会使电脑(或虚拟机)到外部网络,显着地减少安全风险。 NAT is also useful to allow virtually unlimited number of IP addresses to connect to Internet, thus administrator is not limited by the amount of IANA assigned-IP address allocated space.网络地址转换也是有益的,允许几乎无限数量的IP地址连接到互联网,从而管理员不仅限于由IANA的数额分配, IP地址分配的空间。 Beside, Shared Network (NAT) allows user to easily plug and play or move the virtual machine or physical machine to different network configurations such as different Wi-Fi wireless access point, home or office network.另外,共享网络( NAT )的允许用户非常方便地即插即用或移动虚拟机或物理机到不同的网络配置,如不同的Wi - Fi无线接入点,家庭或办公室网络。
Most computers, including Virtual PC 2007 virtual machines can easily access Internet using Shared Networking, as easy as right after operating system is installed, which enable DHCP by default.大多数计算机,包括虚拟PC 2007虚拟机可以方便地接入互联网使用共享网络一样简单后安装操作系统,这使的DHCP默认。 So, the problem with Windows Server 2003, Server 2008 and Vista as guest OS cannot access Internet is by design.因此,这个问题在Windows Server 2003 , Server 2008的和Vista作为客户操作系统不能访问互联网是经过设计的。 The Internet not working issue is caused by when the guest operating system queries for DNS Server from Shared Network (NAT) virtual router, the guest OS is configured to use the same DNS servers which are used by the physical host computer.互联网是无法工作所造成的问题时,客户操作系统查询DNS服务器从共享网络( NAT )的虚拟路由器,客户操作系统配置为使用相同的DNS服务器所使用的物理主机电脑。
This is not the case with a Windows Server 2003 guest though.情况并非如此,以Windows Server 2003的客户了。 The problem is that Shared Networking configures the guest operating system to use the same DNS servers as are used by the physical computer.现在的问题是,共享网络配置客户操作系统使用相同的DNS服务器作为使用的物理计算机。 However, when actual DNS query resolving packets are been returned, it's actually returned from the IP address of “192.168.131.254″, which is the virtual gateway used by Shared Networking (NAT).但是,当解决实际DNS查询数据包被送回,但实际返回的IP地址“ 192.168.131.254 ” ,这是虚拟网关使用的共享网络( NAT )的。
Windows Server 2003, Windows Server 2008 and Windows Vista will reject any DNS resolution packets that are returned from a different source from than the DNS Server (both has different IP address) that it had requested the information from. Windows Server 2003中, Windows Server 2008的和Windows Vista将拒绝任何DNS解析数据包返回从不同的来源来自于DNS服务器(包括有不同的IP地址) ,它曾要求提供的信息。 As thus, all name resolution of domain name and URL fails, indirectly leads to the guest operating system appears to be cannot connect to Internet.至于因此,所有的名称解析的域名和网址失败,间接导致客户操作系统似乎无法连接到互联网。 Windows XP and older operating system is not affected by this behavior. Windows XP和旧作业系统不会受到此问题。
To fix the Shared Network (NAT) Internet no connection or not working issue, the resolution is to manually assign the IP address for the DNS Server for the guest operating system to 192.168.131.254 , the virtual gateway IP address used by Virtual PC.要解决共享网络( NAT )的互联网没有任何联系或不工作的问题,该决议是手动指派的IP地址的DNS服务器的客户操作系统192.168.131.254 ,虚拟网关的IP地址所使用的虚拟PC 。 To make the change (in guest operating system), open Network Connections folder (in Windows Vista, access via Network and Sharing Center ), and right click Local Area Connection network icon to select its Properties .为了使改变(在客户作业系统) ,打开网络连接文件夹(在Windows Vista中,可以通过网络和共享中心 ) ,并用鼠标右键单击本地连接网络图标,选择其属性 。 Then double click on Internet Protocl (TCP/IP) under General tab or Internet Protocol Version 4 (TCP/IPv4) under Networking (for Windows Vista) tab.然后双击Internet 上Protocl ( TCP / IP协议)在常规选项卡上或Internet协议版本4 ( TCP/IPv4 )根据网络 (为Windows Vista )标签。

Click to select the radio button of Use the following DNS server addresses , and then type in 192.168.131.254 into the IP address box for Preferred DNS Server.单击以选中单选按钮, 使用下面的DNS服务器地址 ,然后输入到192.168.131.254的IP地址框, 首选DNS服务器。 Click OK twice to exit, and voila, the Shared Network (NAT) now works as it should with Internet access.单击确定两次退出,并voila ,共享网络( NAT )的作品,因为它现在应与互联网接入服务。
If you're encountering this problem in Windows XP guest OS, it's probably caused by如果您遇到此问题在Windows XP客户操作系统,这可能造成的 invalid DNS server assigned by Virtual PC network adapter无效的DNS服务器指定的虚拟PC的网络适配器 too.也。
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要说明 :您正在阅读的机器翻译网页是“按原样”提供的保证。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不同于人工翻译,机器翻译不明白的语法,语义,句法,成语自然语言,因此,往往产生不准确的和低质量的文字这是误导性的和不可理解的。 Thus, please refer to因此,请参阅 original English article英文原版的文章 when in doubt.如有疑问。
Related Articles相关文章
- Windows Server 2008 or Vista Activation Fails When Configure Third Party Firewall to Use HTTPS Authentication to Access Internet Windows Server 2008的或Vista时激活失败配置第三方防火墙使用HTTPS认证上网
- How to Enable PAE in x86 32-bit Windows Server 2003 and 2000 to Use Large 4GB or More RAM Memory如何启用PAE的x86 32位Windows Server 2003和2000年使用大型4GB或更多的RAM内存
- How to Bridge Virtual PC 2007 to Use Host Computer Wireless Network Adapter如何弥合的Virtual PC 2007使用主机电脑无线网络适配器
- Volume Activation 2.0 Technical Guidance Updated for Windows Server 2008 and Vista SP1 Volume Activation 2.0技术指南更新为Windows Server 2008和Vista的SP1的
- ImageX 6001.18000 (x86 and x64 for Windows Server 2008 and Vista SP1) Standalone Download ImageX 6001.18000 ( x86和x64的Windows Server 2008和Vista的SP1 )的独立下载
- Microsoft Virtual PC (VPC) 2007 SP1 Free Download微软的Virtual PC ( VPC ) 2007 SP1的免费下载
- Compiled List of Windows Server 2008 and Vista SP1 MSDN/TechNet DVD ISO Images Released by Microsoft汇编清单的Windows Server 2008和Vista SP1中的MSDN / TechNet的的DVD ISO映像Microsoft发布的
- CoreConfigurator (Core Configurator) GUI Configuration Tool for Windows Server 2008 Server Core Free Download CoreConfigurator (核心配置) GUI配置工具的Windows Server 2008的服务器核心软件下载
- Workaround to Run VMWare Server on Windows Vista变通运行VMWare服务器在Windows Vista
- Windows Server 2008 Official Direct Download Links Windows Server 2008的官方直接下载链接










































May 14th, 2009 20:23 09年5月14日20:23
Thanks a lot ..非常感谢.. it worked for me ..它的工作对我来说..
May 12th, 2009 14:19 2009年5月12号14:19
Perfect solution to my puzzling no-inet issue with Windows 7 RC1完美的解决方案,我不解无Inet电子交易系统的问题与Windows 7的RC1
I now have a working Win7 RC using VPC on Vista.我现在有一个工作Win7钢筋混凝土用VPC在Vista上。 Very happy!非常高兴!
Thank you so much非常感谢你
May 7th, 2009 21:17 2009年5月7日21时17
Thanks a lot for your article.非常感谢您的文章。 I am running Wampp on my working pc and use virtual pc 2007 for testing ie6/ie7 display in web design.我的计算机运行的Wampp我的工作电脑和使用虚拟PC 2007的测试ie6/ie7显示在网页设计。
Was wondering why NAT was working with xp but not with Windows 7 until I found this.不知道为什么的NAT正在与XP中,但不与Windows 7之前,我发现这一点。 You really made my day!你真的让我的一天!
April 29th, 2009 03:02 2009年4月29日03:02
Agree as Windows 7 RC (build 7100)solution, thank you for this post同意的Windows 7区(建设7100 )解决方案,感谢你为这个职位
April 12th, 2009 11:48 2009年4月12号11点48
Thanks for the info, you made my day…感谢您的信息,你使我的一天...
April 2nd, 2009 21:20 2009年4月2日21:20
Thanks a lot, I used this tip to configure my network setting on a virtual windows 7, works great!!非常感谢,我用这个提示来配置我的网络设置在虚拟的Windows 7 ,伟大的工程!
=) = )