Vagrant 无法在Windows10上打开/创建内部网络漫游程序

Vagrant 无法在Windows10上打开/创建内部网络漫游程序,vagrant,virtualbox,windows-10,Vagrant,Virtualbox,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 'st

我昨天将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.
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).
当我尝试使用GUI时,出现以下错误:

==> 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.
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).
我已经重新安装了VirtualBox 5.0.10和扩展包, 已重新配置仅限主机的以太网适配器,但始终存在相同的错误

有什么想法吗?

我找到了解决办法

  • 打开Windows网络连接
  • 右键单击创建的VirtualBox主机专用适配器
  • 选择属性
  • 选中“VirtualBox NDIS6桥接网络驱动程序”
  • 禁用并启用适配器

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

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

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

    这对我有用

    更新:较新的版本使从安装向导中选择NDIS驱动程序变得更容易-只要在需要时选择NDIS5


    参考:

    这两个答案并没有解决我的问题,但结合它们,我能够解决问题。 我的情况是,我试图在Windows 7 pc上安装并运行Docker,但不断出现错误: “看起来好像出了什么问题…按任意键继续…”

    经过大量挖掘,我能够将这个问题与Docker创建的主机网络适配器联系起来。 我安装了NDIS6驱动程序,但它已启用。我试图取消选中,禁用,重新检查,启用等,但它没有帮助

    然后我卸载了VB,并按照第一个答案重新安装了NDIS5驱动程序。
    这是未经检查的,因此通过检查,我可以跳过此问题。

    卸载Virtualbox并安装最新版本,在回答此问题时,它是5.12。我安装了Vagrant,它自动安装了Virtualbox 5.10。在安装Windows 1511更新、卸载Vagrant提供的Virtualbox并安装最新版本后,我遇到了此问题。

    我有Windows 8.1,但Virtualbox 5.0.16.105871有此问题。我尝试了我在这里找到的每一个建议,虚拟盒子网站和其他论坛。没有一个对我有用。尝试使用仅主机接口启动VM时出现此错误:

    Failed to open a session for the virtual machine LinuxVMDev0.
    
    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).
    
    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
    
    最后,对我有效的唯一解决方案是:

  • 卸载5.0.16
  • 安装没有此问题的版本4.3.36(至少在我的电脑中)
  • 在不卸载4.3.36的情况下,以默认方式安装5.0.16版
  • (始终以管理员身份安装,即以管理员身份运行安装程序)


    在几天内尝试了不同的解决方案后,这对我很有效。

    我尝试了上述选项,但没有成功。最终我卸载了docker toolbox(1.11.x)和virtualbox(5.16.x),并在docker toolbox安装程序GUI中选中了以下选项(默认情况下,NDIS5选项未选中)

    网络连接中的virtualadapter还未选中“网桥网络驱动程序”选项,这对我来说很好


    我已经工作了一段时间,你只需要打开VirtualBox

    文件>首选项/网络>仅主机网络

    您将看到VirtualBox主机专用以太网适配器

    单击它,然后编辑

    我的vagrant VM的IP设置是192.168.10.10,您应该编辑到您的VM IP

    这是我的适配器设置


    我在Windows 8上使用VirtualBox 5.1时遇到了这个问题。原来问题出在我安装的卡巴斯基病毒防护上。它在windows端的仅主机适配器上添加了“卡巴斯基反病毒NDIS 6过滤器”。当我禁用该筛选器时,VM已正确启动:

    • 打开网络和共享中心并转到侧栏中的更改适配器设置

    • 右键单击适配器列表中的仅主机适配器,然后单击配置按钮->驱动程序选项卡->更新驱动程序按钮

    • 选择浏览我的电脑。。。在下一个对话框中,选择“让我选择…”。。。。您应该看到列表中只有主机驱动程序

    • 选择它并单击下一步。更新驱动程序后,请再次尝试在VM中使用纯主机网络


    我的解决方案是更新VirtualBox


    在Windows8.1上重新安装Docker toolbox(v1.12.5)后,我第一次遇到这个问题。对我有用的是VirtualBox的更新。在一些Windows更新之后,我遇到了同样的问题,更新VirtualBox再次修复了这个问题

    对我来说,禁用和启用网络连接不足以使其正常工作。 我必须删除我的家庭用户(c:/Users/your_user/.docker/)中.docker存储库的内容。 完成后,我重新安装Docker Toolbox和VitualBox,并使用machzqcq提示检查使用NDIS5驱动程序安装virtualbox


    我在这里找到了答案:

    对我来说,将VirtualBox更新到5.1.23解决了这个问题。您可以从下载此版本的Windows。

    您可以尝试禁用除实际物理网络适配器之外的所有物理网络适配器上的“VirtualBox NDIS6桥接网络驱动程序”,然后再尝试创建VirtualBox纯主机适配器


    请参阅。

    在Windows 10更新后,我的VirtualBox主机专用以太网适配器实际上已从操作系统的网络适配器中消失(在“控制面板”->“网络和共享中心”->“更改适配器设置”下查看这些适配器)。必须重新安装VirtualBox才能将其带回操作系统

    然后在较新版本的VirtualBox中,仅主机适配器位于全局工具(右上)->主机网络管理器下。确保已为适配器启用DHCP服务器

    配置示例:

    重新启动电脑
    遗憾的是,在使用VirtualBox 5.2.6的Windows 10 x64中,它不适用于我

    该框已被选中,并修复了简单的重新启动
    VM_STATUS="$( set +e ; "${DOCKER_MACHINE}" status "${VM}" )"
    
    VM_STATUS="$(${DOCKER_MACHINE} status ${VM})"