bridge adapter not working in virtualbox

NAT works fine and I have internet connection, but bridged connection not working. I have tried quiet a few things, including resetting MAC address for bridged adapter:

enter image description here

when I do ifconfig it does not show eth0

enter image description here

But when I look in interfaces eth0 is in there as shown below:

enter image description here

It was working before so I don't know what could be the issue. I also noticed when I restart VM it stalls for a while saying configuring network settings or something along those lines but I am guessing it never receives the settings.

1 Answer

The bridge adapter has nothing to with this. Your VM simply has not started your ethernet interface. You should try manually:

 sudo ip link set dev eth0 up sudo dhclient -v eth0 ping -c1 8.8.4.4

The -v option might have to be removed, depending on your distro. Also, just to be on the safe side, allow the promiscuous mode for VMs only.

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like