Host-only networking does not allow host to VMs communication

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Taryck
Posts: 2
Joined: 8. Sep 2017, 15:01

Host-only networking does not allow host to VMs communication

Post by Taryck »

Hi all,

Despite Host-only networking" documentation indicate :
Host-only networking
This can be used to create a network containing the host and a set of virtual machines, without the need for the host's physical network interface. Instead, a virtual network interface (similar to a loopback interface) is created on the host, providing connectivity among virtual machines and the host.
I've configured a OpenSuse64Bit VM With 2 NIC :
  1. Host-only networking (Promiscuous mode : Allow all)
  2. Birdged Adapter (Promiscuous mode : Allow all)
My netwrok is 10.0.x.x
Host-only networking is 192.168.56.x

From VM I can :
  1. ping host from VM using it's bridget adapter network's IP 10.0.0.50
  2. ping VM from host using it's bridget adapter network's IP 10.0.0.51
But I can't :
  1. ping host from VM using it's Host-only networking's IP 192.168.56.1
  2. ping VM from host using it's bridget adapter netwrok IP 192.168.56.101
So I add a 2nd OpenSuse VM with the sames parameters :
  1. Host-only networking (Promiscuous mode : Allow all)
  2. Birdged Adapter (Promiscuous mode : Allow all)
It's IPs are :
  • 192.168.56.102
  • 10.0.0.52
On each VM I can ping the other VM but not the Host. And with the Host I can't ping VM.
Same issue as expected when trying to connect to SSH while it's OK from VM 1 to VM 2 and vice-versa....

Any suggestion ?
Did the documentation is wrong ?
socratis
Site Moderator
Posts: 27329
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: Host-only networking does not allow host to VMs communication

Post by socratis »

No, the documentation is just fine. And in my setup it works just fine. So, something in your setup might not be right. Could you remove the Bridged adapters and leave only the HostOnly adapter and see what happens? Try to simplify as much as possible your setup to see where it fails.
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.
Post Reply