5

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.

Eddie Martinez
  • 283
  • 2
  • 6
  • 13

1 Answers1

17

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.

MariusMatutiae
  • 48,517
  • 12
  • 86
  • 136