Virtualbox Bridge Adapter wont connect

This is for discussing general topics about how to use VirtualBox.
Post Reply
tadek1981
Posts: 1
Joined: 8. Jan 2018, 14:27
Primary OS: PCLinuxOS
VBox Version: OSE Mandriva
Guest OSses: VirtualBox
Contact:

Virtualbox Bridge Adapter wont connect

Post by tadek1981 »

I would like my guest machine to have its own IP on my network, and from what I understand, a Bridged Adapter is the way to go.

Looking at some tutorials, it seems straight forward to change from NAT to Bridged Adapter. However, when I configure my guest machine adapter in the following way and restart my VM, I lose the connection I had with the default NAT.

My host is 64bit Windows 10 Home version 1709

Guest OS is Ubuntu 16.04.3 I'm running Virtualbox v 5.2.0

Any ide what's going wrong?
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox Bridge Adapter wont connect

Post by socratis »

tadek1981 wrote:I lose the connection I had with the default NAT.
If you change from A to B, you're supposed to lose A, no? Do you mean that you lose your "internet" connection? If yes, do you get an IP in your guest? Which one?

We're going to need to see a VM log from a complete VM run:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe error / Shutdown the VM.
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Virtualbox Bridge Adapter wont connect

Post by BillG »

How does your host connect to the Internet? NAT will work with just about any host connection. Bridged is a bit more selective. It works best if your host is on a LAN which has its own DHCP server.
Bill
Post Reply