Operating System - HP-UX
1833776 Members
2169 Online
110063 Solutions
New Discussion

ping ok, but traceroute no response

 
SOLVED
Go to solution
Cray
Frequent Advisor

ping ok, but traceroute no response

# ping 72.14.235.147 (Google's IP-Address)
PING 72.14.235.147: 64 byte packets
64 bytes from 72.14.235.147: icmp_seq=0. time=105. ms
64 bytes from 72.14.235.147: icmp_seq=1. time=106. ms

# traceroute -n 72.14.235.147
traceroute to 72.14.235.147 (72.14.235.147), 30 hops max, 40 byte packets
1 * * *
2 * * *
....
30 * * *
**** max ttl expired before reaching 72.14.235.147 (72.14.235.147)

==== Local is OK ====================
# ping 192.168.1.253
PING 192.168.1.253: 64 byte packets
64 bytes from 192.168.1.253: icmp_seq=0. time=1. ms
64 bytes from 192.168.1.253: icmp_seq=1. time=1. ms

# traceroute -n 192.168.1.253
traceroute to 192.168.1.253 (192.168.1.253), 30 hops max, 40 byte packets
1 192.168.1.253 1.169 ms 0.750 ms 0.728 ms

# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.1.240 192.168.1.240 UH 0 lan0 4136
192.168.1.0 192.168.1.240 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.168.1.253 UG 0 lan0 0
4 REPLIES 4
john123
Trusted Contributor

Re: ping ok, but traceroute no response

Hi Cray,

There is no route specified for your external gateway.Add a route and try..
Also check whether there is any firewall configured..


HTH
John
Matti_Kurkela
Honored Contributor
Solution

Re: ping ok, but traceroute no response

Diagnosis: ICMP works, but UDP is blocked.
(Ping uses ICMP over IP, but HP-UX traceroute uses UDP over IP unless you use the "-I" option.)

So you have connectivity at the IP layer, but the upper layer protocols (TCP and UDP, maybe others) are filtered in some fashion.

MK
MK
Cray
Frequent Advisor

Re: ping ok, but traceroute no response

Matti is god, Thanks!!

l1000:/#traceroute -I 72.14.235.99
traceroute to 72.14.235.99 (72.14.235.99), 30 hops max, 40 byte packets
1 220.130.198.161 (220.130.198.161) 47.053 ms 1.613 ms 1.518 ms
2 10.130.198.162 (10.130.198.162) 39.207 ms 52.039 ms 46.942 ms
3 168.95.84.214 (168.95.84.214) 37.293 ms 36.738 ms 36.211 ms
4 211.22.36.50 (211.22.36.50) 36.435 ms 36.464 ms 37.166 ms
5 220.128.1.170 (220.128.1.170) 41.759 ms 37.132 ms 39.243 ms
6 220.128.1.161 (220.128.1.161) 37.118 ms 37.062 ms 37.175 ms
7 211.22.33.189 (211.22.33.189) 54.723 ms 54.539 ms 54.610 ms
....
Cray
Frequent Advisor

Re: ping ok, but traceroute no response

OK