无法在Windows10上打开/创建内部网络Vagrant

Mat*_*ron 162 virtualbox vagrant windows-10

我将Windows 10升级到昨天的最后一次更新,现在,当我启动 vagrant up命令时出现此错误:

==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in the
'poweroff' state. Please verify everything is configured
properly and try again.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run `vagrant up` while the
VirtualBox GUI is open.

The primary issue for this error is that the provider you're using
is not properly configured. This is very rarely a Vagrant issue.
Run Code Online (Sandbox Code Playgroud)

当我尝试使用GUI时出现此错误:

Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter' (VERR_INTNET_FLT_IF_NOT_FOUND).
Failed to attach the network LUN (VERR_INTNET_FLT_IF_NOT_FOUND).
Run Code Online (Sandbox Code Playgroud)

我重新安装了VirtualBox 5.0.10和扩展包,重新配置了Host-Only Ethernet Adaptater,但总是出现同样的错误......

任何的想法 ?

Jus*_*tMe 428

我找到了解决方案

  1. 打开Windows网络连接
  2. 右键单击VirtualBox Host only创建的适配器
  3. 选择属性
  4. 检查"VirtualBox NDIS6桥接网络驱动程序"
  5. 禁用并启用适配器

图片

  • 就我而言,它只是被禁用了. (31认同)
  • 我无法相信 - 几个小时都在寻找这个.对我来说也是残疾人.(现在,Genymotion以及Xamarin Android Player可以正确创建界面.不知怎的,这在更新过程中破了,重新安装VBox没有解决它.)非常感谢! (8认同)
  • 我在网络连接中找不到VM:/ (2认同)

ven*_*mus 133

新的NDIS6驱动程序存在已知问题,您可以安装它以使用旧的NDIS5驱动程序

尝试使用参数重新安装它(以管理员身份运行)

> VirtualBox-5.0.11-104101-Win.exe -msiparams NETWORKTYPE=NDIS5

这对我有用.


mac*_*qcq 35

我尝试了上述选项,但徒劳无功.最后我卸载了docker-toolbox(1.11.x)和virtualbox(5.16.x)并在docker-toolbox安装程序GUI中检查了以下选项(默认情况下,未选中NDIS5选项)

未选中NDIS5驱动程序选项

此外,网络连接中的virtualadapter具有"桥接网络驱动程序"选项UNCHECKED,这对我来说很好

未选中


小智 24

打开网络和共享中心,然后转到侧栏中的更改适配器设置.右键单击适配器列表中的仅主机适配器,然后单击配置按钮 - >驱动程序选项卡 - >更新驱动程序按钮.选择"浏览我的电脑...",然后在下一个对话框中选择"让我选择......".您应该看到列表中只包含主机驱动程序.选择它并单击下一步.更新驱动程序后,请再次尝试在VM中使用仅主机网络.

  • 不知道你是怎么想出来的,谢谢!这解决了我的问题。5.2.14 (2认同)
  • 将 Windows 从 1803 升级到 1809 后,这也适用于 VirtualBox 6.0.10 (2认同)
  • 这对我使用 minikube v1.3.1 在 VirtualBox 6.0.14 上有效 (2认同)
  • 当我将 vbox 从 5.x 更新到 6.1 时,这对我有用。谢谢。 (2认同)
  • 在 Windows 10.0.19041.1 上使用 Virtual Box 6.0.10 并进行最新更新时,遇到了此问题。在尝试了上述所有其他选项后,这才是真正有效的选项。谢谢 ! (2认同)

Mon*_*eus 9

重启你的电脑


遗憾的是,https: //stackoverflow.com/a/33733454/2191572 在使用 VirtualBox 5.2.6 的 Windows 10 x64 中对我不起作用

该框已被选中,只需重新启动即可修复它。

在多年告诉人们重启之后,我没有遵循我自己的黄金建议;脸,遇见手掌。

  • Windows 10 更新后出现此问题。简单的重启也让我成功了:) (3认同)

use*_*819 7

从 升级Windows 7到后,我遇到了同样的问题Windows 10。尝试了所有无效的流行答案。最后,我明白了 Windows 已经更改了适配器的名称。Virtual Box配置为Realtek PCIe GBE Family Controller在设备管理器将其设为Realtek PCIe GBE Family Controller #2. 选择合适的控制器解决了这个问题。

在此处输入图片说明 在此处输入图片说明


Jar*_*red 5

卸载Virtualbox并安装最新版本,在此答案时为5.12.我安装了自动安装Virtualbox 5.10的Vagrant.我在安装Windows 1511更新,卸载Vagrant提供的Virtualbox并安装最新版本后遇到了这个问题.


小智 5

更新Windows时发生了相同的错误。尝试了一切。没事。

最后,转到“设备管理器”->“禁用网络适配器”并启用“仅Virtualbox主机”适配器

而且有效!

  • 我的 VirtualBox 适配器都已启用,但禁用并重新启用它们有效。 (2认同)