I have an Ubuntu VM (guest) running on top of a Windows 7 machine (host). I am trying to connect the VM to the same subnet as the host. I setup the network adapter of the VM to Bridged Mode and assigned the VM an IP that is in the same subnet as the host. Ping from host to VM and from VM to host are successful, and the host can ping other (physical) machines in the network, however the VM is not reachable from the other machines.


  • Host: Windows 7, Guest: Ubuntu 14.04 LTS, Tool: VirtualBox (Bridged mode)
  • Pings from host to VM and from VM to host are successful
  • Pings from host to other machines and from other machines to host are successful
  • The firewall on the VM is disabled
  • iptables on VM are empty

Has anyone encountered the same problem before? What am I missing here?


I don't think it's an addressing issue, but here is what I am using:

  • Network:
  • Host address:
  • VM address: broadcast:
  • Other machines:

I have two adapters on my host machine a Wireless adapter and an Ethernet adapter. I am using the Ethernet adapter, and I made sure it's what I am using to attach the VM, using Bridged mode.

The number of machines used is limited, so there are no conflicting IP addresses.

  • 1
    Are you sure you configured the VM's network address properly? You didn't provide us any info about your IP / Network addresses. Maybe the subnet mask is wrong, maybe the IP address is conflicting with another device. Maybe you bridged to the wrong physical interface. virtualbox.org/manual/ch06.html Clearly something is configured wrong, but you have only told us what is configured right. :) – Appleoddity Sep 15 '17 at 19:34
  • Thanks @Appleoddity for your comment, please check my edit, and let me know if you need any other details. – elmiomar Sep 17 '17 at 15:35
  • Stupid question, but, did you reboot the host machine? – Linuxx Sep 17 '17 at 22:46
  • @Linuxx what you call stupid question was the answer to my problem! Jeez, I hate it when all you need is a reboot. Thanks! – elmiomar Sep 18 '17 at 18:28
  • @OmarIlias It's Windows! Is there ever another answer? :-) I added an answer below to gain some points! – Linuxx Sep 18 '17 at 18:32

Reboot the host machine. I've had issues with virtual box and Windows networking. A reboot of the host machine has always fixed my issue.

  • Thanks man, it worked! I've been pulling my hair out all day :( – elmiomar Sep 18 '17 at 19:25

Your VM is not reachable from the other computers because they are not on the same network. Adding a host only adapter on your VM creates a private network between your VM and your Host. If you want your VM to communicate with the other computers, add a Bridged adapter to the VM. The bridged adapter must be bridged to the physical adapter of the host which is connected to the Network. Then if there is a DHCP server on the network your VM will receive an IP address, if not you have to configure a static IP address. Hope it will solve your problem and sorry for my english

Your Answer

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

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