Page 1 of 1

Host-Only mode, guest to guest :no route to host

Posted: 22. Nov 2013, 17:00
by sxg
Hello

I use Virtualbox version 4.2.18
I have a Windows 7 Host
I have created 3 Linux RHEL guests in mode "host-only"

From a guest I can ping another guest, I can connect through ssh to another guest ;
but when I try to telnet from a guest to another guest it says :

#telnet 192.168.56.111
Trying 192.168.56.111...
telnet: connect to address 192.168.56.111: No route to host
telnet: Unable to connect to remote host: No route to host

any suggestion on where to look at, is welcome

thanks
Sebastien

Re: Host-Only mode, guest to guest :no route to host

Posted: 22. Nov 2013, 17:45
by Perryg
First thing that comes to mind is firewall.

Re: Host-Only mode, guest to guest :no route to host

Posted: 22. Nov 2013, 21:09
by noteirak
No route to host means exact what it says : the computer doesn't have any route to that network. This is a network configuration issue, and most likely not a Virtualbox one.
Make sure you keep your guests in DHCP mode if you don't know what you are doing, and then try to ping their IPs.

If you are 100% confident that your network setup is right, please attach the guest settings of each VM as explained here as a zip and provide the following infos

On the guests :

Code: Select all

sudo ifconfig -a
sudo route -n
On the host, from the Virtualbox installation directory :

Code: Select all

vboxmanage list hostonlyifs
vboxmanage list dhcpservers
ipconfig /all

Re: Host-Only mode, guest to guest :no route to host

Posted: 25. Nov 2013, 15:54
by sxg
Thanks a lot to noteirak and Perryg for your help

I followed the lead of the "firewall" as suggested by Perryg.
I disabled the firewall by doing "iptables -F"
and after that it worked

Thanks again

Re: Host-Only mode, guest to guest :no route to host

Posted: 12. Mar 2016, 12:03
by OmSingh
I have the same problem. I have two linux guest on windows host. The linux guest can ssh each other, and also ping - but doing telnet IP address port says no route to host. In the firewall - internal - port - i have allowed 1521 ( the DB port, db is running on the other vm). This I have set in both the VM's still - i get the same error
$ telnet 192.168.190.200 1521
Trying 192.168.190.200...
telnet: connect to address 192.168.190.200: No route to host