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微软虚拟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发布,远程登录和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.在虚拟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.然后双击InternetProtocl ( TCP / IP协议)根据一般标签或Internet协议版本4 ( TCP/IPv4 )根据网络(用于Windows Vista )标签。

DNS Server Gateway IP for Virtual PC for Internet

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.当怀疑。



15 Responses to “Fix Virtual PC 2007 Shared Networking (NAT) Internet Not Working in Windows Server 2003, 2008 and Vista Guest OS” 15日的答复“修正2007年虚拟机共享网络( NAT )的互联网不工作在Windows Server 2003 , 2008和Vista的客户操作系统”

  1. Unable to Connect to Internet in Virtual PC with NAT Shared Networking NAT on Windows XP Guest » My Digital Life无法连接到互联网的虚拟PC机与共享网络的NAT网络地址转换的Windows XP客户»我的数字生活
    July 8th, 2008 01:48 2008年七月8日1点48
    1

    [...] 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 [...] [...] Server 2003或2008年作为客座作业系统在VPC的虚拟机,还有一个DNS服务器的问题,导致无法连接和浏览互联网的问题,决议要求在手动设置DNS服务器IP地址[ ... ]

  2. IB兴业
    July 15th, 2008 06:06 08年7月15号六点06
    2

    Thanks, I had to enter 192.168.131.254 as dns server谢谢,我已进入192.168.131.254作为DNS服务器

  3. free自由的
    July 26th, 2008 17:54 2008年7月26日17:54
    3

    unhg

  4. Sheetal
    July 31st, 2008 09:53 2008年7月31号09:53
    4

    Thanks谢谢

    This was helpful这是有益的

  5. mark标志
    August 21st, 2008 15:55 2008年8月21号15:55
    5

    good, this was helpful, thanks.好,这是有益的,谢谢。

  6. Yoshio Kurtz雄库尔茨
    September 3rd, 2008 08:48 2008年9月3日8点48分
    6 6日

    Nice tidbit and fix.尼斯tidbit和修复。 I was getting annoyed until I found this.我越来越生气,直到我发现这一点。

  7. Kamil D.卡米尔D.
    September 5th, 2008 21:44 2008年九月五日21:44
    7 7日

    I was very surprised, when it turned out, that NAT doesn’t work at all or STOPS WORKING AFTER FEW minutes.我感到非常惊讶,当事实证明,这的NAT不工作,或停止工作后几分钟。

    I’m still wondering, why does NAT work sometimes for two, three minutes…我仍然不知道,为什么有时工作的NAT两,三分钟...

  8. Sir William威廉爵士
    September 20th, 2008 10:13二〇 〇八年9月20日10:13
    8 8日

    Thank you!谢谢您! This worked but what a headache!这工作,但什么是头痛!

  9. RAVINDER
    October 7th, 2008 07:47 08年10月7日07:47
    9 9日

    Thanks a lot……………….谢谢... ... ... ... ... ... 。

  10. Gary加里
    October 21st, 2008 18:01 2008年10月21号18:01
    10 10个

    Gee, I tried all that and it still wont work.哎呀,我尝试一切,它仍然习惯的工作。 I have Server 2003 Enterprise on the Virtual PC.我已经Server 2003企业虚拟电脑。 The host os is Win XP professional.主机操作系统是温XP专业版。 Did the NAT part and changed the DNS.没有的NAT和改变部分的DNS 。 but still not working.但仍无法运作。 Any help please??任何帮助吗? ?

  11. OMV监查
    October 29th, 2008 02:47 08年10月29日02:47
    11 11日

    Thank you, senor!谢谢你,传感器!

  12. daniel sikorsky丹尼尔西科尔斯基
    October 31st, 2008 16:54 2008年十月31号16:54
    12 12日

    thanks so very much!!!!!!!!感谢这么多!!!!!!!!
    worked like a charm!!host is winxp, guest is vista vm machine!工作像一个魅力!主机是winxp ,住客是维斯塔VM的机器!

  13. sunil苏尼尔
    November 6th, 2008 19:59 2008年十一月六号19:59
    13

    I have installed windows 2003 server in in another drive D apart from windows xp which is in drive ci am unable to access internet in windows2003 server through wireless connection,我已经安装的Windows 2003服务器在另一个驱动器D除了从Windows XP这是驱动词时无法访问互联网在windows2003服务器通过无线连接,
    even trusted sites also.甚至还受信任的站点。
    Any help will be great help.任何帮助将是很大的帮助。

  14. Stan斯坦
    November 8th, 2008 02:42 2008年十一月8日2时42分
    14

    Didn’t work for me, either.没有工作对我来说,无论是。 Fresh install of Windows 2008 Enterprise as guest on VPC 7 SP1 on XP SP3 host.新安装的Windows 2008年企业作为客人VPC 7日SP1的XP SP3的东道国。

  15. Jessie杰西
    November 19th, 2008 01:13 08年11月十九日01:13
    15

    THANK YOU THANK YOU THANK YOU!!!谢谢谢谢谢谢! This worked with my Windows Vista VM on M7这与我的Windows Vista的虚拟机的M7型 : )

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> 您可以使用这些标签: href="" title="">的<a <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> “删除日期时间= “ ” “的<em> <i> <q cite=""> <strike>的<strong>

Subscribe to comments feature has been disabled. 订阅评论功能已被禁用。 To receive notification of latest comments posted, subscribe to 收到通知的最新评论张贴,订阅 Tip and Trick Comments RSS feed 提示和诡计评论RSS种子 or register to receive 接收登记 new comments in daily email digest. 中新评论的电子邮件,每天消化。
Custom Search

Incoming Search Terms for the Article收到的搜索字词的文章

virtual pc nat 虚拟PC自然 - - Virtual PC Shared Networking 虚拟PC联网共享 - - virtual pc networking 虚拟PC联网 - - virtual pc 2007 NAT 虚拟PC 2007的NAT - - virtual pc 2007 internet 虚拟PC 2007互联网 - - virtual pc internet 虚拟PC互联网 - - virtual PC 2007 networking 2007年虚拟机联网 - - virtualpc nat 虚拟自然 - - vpc networking vpc联网 - - virtual pc 2007 no internet 虚拟PC 2007没有互联网 - - virtual pc 2007 shared networking 虚拟PC 2007共享网络 - - nat virtual pc 自然虚拟PC - - virtual pc internet access 虚拟PC互联网接入 - - virtual pc no internet 虚拟PC没有互联网 - - networking virtual pc 网络虚拟PC - - virtual pc network not working 虚拟机不工作网络 - - virtual pc 2007 network 虚拟PC 2007网络 - - virtual pc nat not working 虚拟PC自然不工作 - - shared networking virtual pc 共享网络虚拟PC - - shared networking (NAT) 共享网络( NAT )的 - - shared networking nat 网络共享自然 - - virtual pc shared NAT 虚拟PC共享的NAT - - virtual pc 2007 ip address 虚拟PC 2007的IP地址 - - virtual pc networking not working 虚拟机不工作网络 - - connecting virtual machine to internet 虚拟机连接到互联网 - - vpc NAT vpc的NAT - - Virtual PC 2007 Connect to internet 虚拟PC 2007连接到互联网 - - virtual pc shared networking nat 虚拟PC联网共享自然 - - microsoft virtual pc shared NAT 微软虚拟PC共享的NAT - - virtual pc shared networking not working 虚拟PC共享网络不工作 - - virtual pc 2007 虚拟PC 2007 - - shared networking 共享网络 - - virtual pc 2007 shared network 虚拟PC 2007共享网络 - - virtual pc 2007 network connection 虚拟PC 2007的网络连接 - - virtual PC 2007 NAT not working 虚拟PC 2007年的NAT不工作 - - shared networking nat virtual pc 自然共享网络虚拟PC - - virtual pc access internet 虚拟PC上网 - - nat VPC 自然VPC - - internet virtual pc 互联网虚拟PC - - virtual PC shared network 虚拟机共享网络 - - Internet on Virtual pC 互联网上虚拟PC - - virtual pc 2007 network not working 虚拟PC 2007网络不工作 - - all 全部 - - virtual pc 2007 cannot connect to internet 虚拟PC 2007无法连接到互联网 - - virtual pc network 虚拟PC网络 - - virtual pc internet vista 虚拟PC互联网的前景 - - virtual pc dns 虚拟PC的DNS - - virtual pc internet not working 虚拟PC互联网不工作 - - virtual pc 2007 shared nat 虚拟PC 2007共享自然 - - networking in virtual pc 网络的虚拟PC - - Microsoft Virtual PC 2007 internet 微软虚拟PC 2007互联网 - - virtual pc 虚拟PC - - virtual pc 2007 network NAT 虚拟PC 2007网络的NAT - - 192.168.131.254 192.168.131.254 - - virtual pc not working 虚拟机不工作 - - internet virtual pc 2007 互联网虚拟PC 2007 - - how to connect internet in virtual pc 2007 如何连接互联网的虚拟PC 2007 - - virtual pc shared networking vista 虚拟PC共享网络维斯塔 - - virtual PC 2007 IP 2007年虚拟机的IP - - connecting virtual pc to internet 虚拟PC连接到互联网 - - internet not working Microsoft VPC 互联网没有微软VPC - - virtual pc 2007 internet access 虚拟PC 2007互联网接入 - - virtual pc connect to internet 虚拟PC连接到互联网 - - virtual machine shared networking 虚拟机共享网络 - - virtual PC 2007 shared networking (nat) 2007年虚拟机共享网络( NAT )的 - - how to access internet from virtual PC 如何访问互联网从虚拟PC - - virtual pc nat vista 虚拟PC自然境界 - - how to connect virtual pc to internet 如何连接的Virtual PC互联网 - - virtual pc cannot connect to internet 虚拟机无法连接到互联网 - - virtual pc 2007 network sharing 虚拟PC 2007网络共享 - - The virtual machine networking settings in Virtual PC 2007 虚拟机的网络设置,虚拟PC 2007 - - Virtual PC 2007 Vista Guest Internet 虚拟PC 2007 Vista的客户网络 - - virtual PC network connection 虚拟机的网络连接 - - virtual pc 2007 nat internet 虚拟PC 2007自然互联网 - - server 服务器 - -