我在公司的一台电脑上安装了Windows7。我也在它上安装了VirtualBox,并在这个虚拟机上安装了Ubuntu。
现在,从虚拟机(Ubuntu)内部,我可以访问公司的内部网站,并收到对DNS、网关和DHCP服务器的响应,但我仍然不能通过web浏览器访问外部的任何内容或访问internet。
我的配置如下:
。
任何帮助都是非常感谢的。我已经试过了我能想到的一切。谢谢。
发布于 2011-09-23 19:54:06
问题是我的公司使用代理服务器,我不得不在虚拟机中定义它。不过还是谢谢你的帮助。
发布于 2012-02-08 01:23:16
我也有这样的问题。但在我的例子中,Ubuntu11.10是在Windows7Enterprise上的VirtualBox上,并且受到严格保护的企业网络。但我认为问题是站在东道一边的。
我所做的如下:
1. On VirtualBox's Network setting, choose "NAT", and **check** "Cable connected"
2. On host machine's network adapter settings, re-check that "VirtualBox Host-Only Network" has DHCP, all other settings are set to automatic.
3. On host machine's own "Local Area Connection", went to **"Properties">>"Sharing"**, and **check** "Allow other network users ...". And "OK"
4. On virtual machine, Disconnect once by "Uncheck"ing "Enable Networking", then "check" again.
对了!,那时互联网运行得很好。
发布于 2011-09-09 17:17:51
设置您的虚拟机使用NAT,我打赌,这可以解决您的问题。
https://stackoverflow.com/questions/7365104
复制相似问题