桥接网络在 Windows 10 下的 Virtualbox 中不起作用 [英] Bridged networking not working in Virtualbox under Windows 10

查看:21
本文介绍了桥接网络在 Windows 10 下的 Virtualbox 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将笔记本电脑从 Windows 7 升级到 Windows 10,发现无法启动配置了桥接适配器的 Virtualbox VM.

I just upgraded my laptop from Windows 7 to Windows 10 and found that I am unable to start Virtualbox VMs configured with a bridged adapter.

请看下面的配置:

推荐答案

首先你要创建一个 VirtualBox Host-Only 以太网适配器

First of all you have to create a VirtualBox Host-Only Ethernet adapter

在虚拟机中:

  • 转到文件 > 首选项在 Network 选项卡上选择 Host only Networks 点击add a Host-only adapter" 给它一个名称,默认为VirtualBox Host-Only Ethernet adapter"

在 Windows 中:

In Windows :

  • 转到 Windows 上的网络连接并突出显示您刚刚创建的真实适配器和新的虚拟以太网适配器.
  • 右键选择Bridge Connections",它将在Windows中创建一个网桥.

现在配置你的虚拟机:

  • 在网络部分,您可以激活一个新适配器,然后选择附加到仅主机适配器
  • 选择您刚刚创建的 VirtualBox Host-Only 以太网适配器

您现在可以通过修改/etc/network/interfaces 来配置您的静态 IP 地址:

You can now configure your static IP Address by modifying /etc/network/interfaces :

auto eth0
iface eth0 inet static
address 10.1.1.100
netmask 255.255.255.0
gateway 10.1.1.1

您现在可以通过以下方式重新启动 eth0:

You can now restart eth0 by doing :

sudo ifdown eth0
sudo ifup eth0

某些无线适配器不工作

这篇关于桥接网络在 Windows 10 下的 Virtualbox 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆