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
Host-Only mode, guest to guest :no route to host
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Host-Only mode, guest to guest :no route to host
First thing that comes to mind is firewall.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Host-Only mode, guest to guest :no route to host
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 :
On the host, from the Virtualbox installation directory :
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 -nCode: Select all
vboxmanage list hostonlyifs
vboxmanage list dhcpservers
ipconfig /allHyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
sxg
- Posts: 3
- Joined: 20. Nov 2013, 20:42
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Linux RHEL
Re: Host-Only mode, guest to guest :no route to host
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
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
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
$ telnet 192.168.190.200 1521
Trying 192.168.190.200...
telnet: connect to address 192.168.190.200: No route to host