Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up a version of Ubuntu 12.04 under VirtualBox (version 4.1.18) using NAT and everything works fine (using DHCP of course). I am running OS X Lion 10.7.4.

However, as soon as I switch the network to a Bridged Network, the Ubuntu VM experiences very odd networking problems. The machine appears to get a DHCP address assigned just fine, but after it can only ping itself and the IP of the VM's host machine. It cannot ping the gateway or the outside world.

I have checked lots of things:

  • I have changed the network adaptor type but that makes no difference.
  • I have tried rebuilding Linux from scratch, but at the start it is unable to connect to the Internet
  • I've checked the network settings, and the settings are correct. Here is a copy of ifconfig:

      Link encap:Ethernet  HWaddr 08:00:27:e4:1c:13  
      inet addr:  Bcast:  Mask:
      inet6 addr: fe80::a00:27ff:fee4:1c13/64 Scope:Link
      RX packets:374 errors:0 dropped:0 overruns:0 frame:0
      TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:33089 (33.0 KB)  TX bytes:9509 (9.5 KB)

and route -n:

    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    100    0        0 eth0   U     0      0        0 eth0

Please note that I am bridging my wireless port as that is the only port connected to the Internet. I know there are supposed IPv6 limitations, but I am not using IPv6.

Thanks for any help, this has been quite frustrating to solve.

share|improve this question

Most wireless adapters do not support bridged mode, and even if they do, most wireless APs do not. I suggest you check that bridging is supported in general on your host network interface. Sometimes DHCP requests can get accross, but that doesn't mean the adapter itself can handle answering to multiple IPs.

share|improve this answer

i had a similarly problem with virtual box 4.1.18 on debian host and debian/ubuntu and windows guests. when is changed to bridged adapter my guest os didn't get an ip address with nat network connectifity was fine. after installing the Oracle VM VirtualBox Extension Pack the problem disappears

share|improve this answer
Unfortunately I already have the VM VirtualBox Extension Pack... – Matthew O'Riordan Jul 12 '12 at 22:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.