[ale] ftp - no route to host???

Geoffrey lists at serioustechnology.com
Tue Jul 27 07:32:26 EDT 2010


Richard Bronosky wrote:
>>> ftp $IP_ADDR
>>>
>>> returns:
>>>
>>> ftp: connect: No route to host
> 
> If the error was connection refuse, or connection reset, I'd say it
> was either a firewall on the box or by his ISP. But, "No route" means
> his client does not know that it has a network interface capable of
> routing traffic to the given host (which in this case is specified by
> an IP address). Although he is able to reach it via SSH and UDP ping.
> That's jacked up.

The error is exactly as noted above.  I should clarify, the machine in 
question is a vm (vmplayer).  I'm trying to ftp from the host machine to 
the vm.

> Maybe try:
> echo $IP_ADDR # make sure you have the right var/value

cut/paste, got the right value

> host $IP_ADDR # seeing if you can do a [reverse] lookup on the var/value

Host 133.112.168.192.in-addr.arpa. not found: 3(NXDOMAIN)

> telnet $IP_ADDR 22 # standard ssh port number

Trying 192.168.112.133...
Connected to 192.168.112.133 (192.168.112.133).
Escape character is '^]'.
SSH-2.0-OpenSSH_5.2

> telnet $IP_ADDR 21 # standard ftp port number

This is interesting:

Trying 192.168.112.133...
Connected to 192.168.112.133 (192.168.112.133).
Escape character is '^]'.
220 (vsFTPd 2.2.2)

> If you get "No route to host" from one of those telnets and not the
> other... evil is afoot.


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list