【问题标题】:Virtualbox Windows 7 guest, Ubuntu host, no internet connection -- working prior to upgradeVirtualbox Windows 7 来宾,Ubuntu 主机,没有互联网连接——升级前工作
【发布时间】:2015-07-12 18:16:53
【问题描述】:

我尝试在 Ubuntu 14.04 上安装新的 Virtualbox 5.0(从 4.3.10 升级)。我已经在 Ubuntu 14.04(及更早版本)上成功运行 Virtualbox(4.3.10 及更早版本)多年,但与 Virtualbox 5.0 没有任何联系。我阅读了 6 个小时的线程并尝试了 NAT 和桥接以及所有可以想象的内容。

另一个变量:我刚刚将我的 VM vdi 复制到了我的新 Seagate Expansion 5TB USB 外置驱动器,我一开始试图从那里运行。

但是现在:即使在完全删除 VB 5.0 并重新安装 VirtualBox 4.3.10 并在我的一个常规 SATA 驱动器上返回 vdi 之后,我的 Win7 客户机也无法连接互联网。我根本无法 ping 任何 IP。

在 Win7 设备管理器的网络适配器下,我有 4 个项目,都以黄色感叹号开头: Intel(R) PRO/1000 MT 桌面适配器(这也在 vb 设置中设置) WAN 微型端口 (IP) WAN 微型端口 (IPv6) WAN 微型端口(网络监视器)

当我卸载英特尔台式机适配器,然后重新安装它时,黄色感叹号消失了,好像它工作正常,但我的非工作互联网连接没有任何变化。

这是来自我的 Ubuntu 主机的 ifconfig(注意:一些条目来自之前未完成的 VPN 设置,但它们从未对我的 VM 造成任何问题,除了我提到的之外,没有其他任何变化):

ifconfig
eth0      Link encap:Ethernet  HWaddr f4:6d:04:25:67:7f  
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f66d:4ff:fe25:677f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1383682 errors:0 dropped:0 overruns:0 frame:0
          TX packets:988203 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1148303939 (1.1 GB)  TX bytes:240381867 (240.3 MB)
          Interrupt:18 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:568 errors:0 dropped:0 overruns:0 frame:0
          TX packets:568 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:69229 (69.2 KB)  TX bytes:69229 (69.2 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.9.0.1  P-t-P:10.9.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tun1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.8.0.1  P-t-P:10.8.0.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

virbr0    Link encap:Ethernet  HWaddr 2e:2a:79:b5:5c:15  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

这是来自 Windows 7 客户机的 ipconfig:

这也是来自 win7 客户机的 ipconfig 结果:`

:\Users\Chris>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Chris-Win7-Ult
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.monkeybrains.net:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\Chris>

最后,应该不是问题,但我在 D-link Dir-601 路由器后面运行所有东西,并且已经运行了很多年。

【问题讨论】:

  • 这也是来自 win7 客户机的 ipconfig 结果:

标签: windows-7 virtualbox ubuntu-14.04


【解决方案1】:

ipconfig 显示没有任何网络适配器对 Windows 来宾可见。 AFAIK,VirtualBox 为每个新的网络适配器生成一个新的 MAC,所以,也许,你的“英特尔(R) PRO/1000 MT 桌面适配器”的 MAC 被重新生成了。 Windows 需要具有旧 MAC 地址的 NIC。解决问题的简单方法:从 VM 配置中删除“Intel(R) PRO/1000 MT Desktop Adapter”并添加一个新的,但另一个模型。应该有帮助。

【讨论】:

    【解决方案2】:

    apt-get 清除所有内容并再次完全重新安装 VB 4.3.10 似乎已经解决了问题。对不起,我没有解释。

    【讨论】:

      猜你喜欢
      • 2014-02-06
      • 2013-07-06
      • 1970-01-01
      • 1970-01-01
      • 2010-09-08
      • 1970-01-01
      • 2016-09-07
      • 2017-04-29
      • 2021-06-01
      相关资源
      最近更新 更多