[lkml]   [1997]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectCan this possibly be right
Hello all,
I think I may have found a bug, but it may just be a problem with
my understanding of how networking works. I have a machine running
2.0.27 and I can ping the machine However, if I
try to telnet to the same machine I get an error message about
there being no route to the host:

sailboat> ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=244 time=590.3 ms
64 bytes from icmp_seq=1 ttl=244 time=34.3 ms
--- ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 34.3/312.3/590.3 ms
sailboat> telnet 80
telnet: Unable to connect to remote host: No route to host

I am assuming that there must be a route to the host in order for
ping to work.

Here is the output of strace:

getuid() = 502
setuid(502) = 0
connect(4, {sin_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("204.178.
41.218")}, 16) = -1 EHOSTUNREACH (No route to host)

and the output of route:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
localnet * U 1500 0 19891 eth0
loopback * U 3584 0 541 lo
default uncw-gw.gate.un * UG 1500 0 25797 eth0

 \ /
  Last update: 2005-03-22 13:38    [W:0.036 / U:1.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site