Bridged networking not working in Virtualbox under

2019-03-07 21:09发布

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.

See the configuration below:

Virtualbox preferences 1

Virtualbox preferences 2

15条回答
【Aperson】
2楼-- · 2019-03-07 21:30

My very simple solution that worked: select another networkcard!

  1. Make sure your guest is shut down
  2. Goto the guest Settings > Network > Adavanced
  3. Change the Adapter Type to another adapter.
  4. Start your guest and check if you got a decent IP for your network.

If it doesn't work, repeat steps and try yet another network adapter. The very basic PCnet adapters have a high succes-rate.

Good luck.

查看更多
再贱就再见
3楼-- · 2019-03-07 21:31

Install "vbox-ssl-cacertificate.crt" certificate from %userprofile%\\.virtualbox\ and then reboot. If you don't have .virtualbox folder - launch "Oracle VM VirtualBox" once and this folder will appear.

I had this issue not only on my machine but on many hosts, and this certificate fixed the issue. I figured it out by chance, because nowhere said about this certificate -_-

查看更多
4楼-- · 2019-03-07 21:32

Uninstall then run the setup program again but this time as Administrator. Make sure the VB bridge driver is selected during installation.

查看更多
干净又极端
5楼-- · 2019-03-07 21:32

I solved it with similar way to @Khalil's but I attched to 'Bridged Adapter' instead of 'Host-only Adapter'. Here is more detail with screenshots.

查看更多
迷人小祖宗
6楼-- · 2019-03-07 21:41

Install the latest Virtual box 5.x and this issue will be resolved.

查看更多
Luminary・发光体
7楼-- · 2019-03-07 21:42

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

In Virtualbox :

  • Go to File > Preferences On the Network tab select Host only Networks click on "add a Host-only adapter" give it a name by default it is "VirtualBox Host-Only Ethernet adapter"

In Windows :

  • go to Network connections on Windows and highlight both the real adapter and the new virtual ethernet adapter that you just created.
  • Right click and select "Bridge Connections", it's going to create a network bridge in Windows.

Now configure your VM :

  • in the Network part you can activate a new adapter and then select Attached to Host only adapter
  • Choose the VirtualBox Host-Only Ethernet adapter you have just created

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

You can now restart eth0 by doing :

sudo ifdown eth0
sudo ifup eth0

Some wireless adapters don't work

查看更多
登录 后发表回答