[SOLVED] Time to live exceeded ping error

"Time to live exceeded" this ICMP ping error is due to the time to live (TTL) field reaches a zero value or there is a timeout for the reassembly of segments . As a solution I will  recommend to increase the TTL (Time To Live) value (highest is 255).

Solution for time to live exceeded error
For example,  run traceroute to ipaddress (Google's publc DNS server). And find number of hops to the destination.
      [root@server ~]# traceroute      (in linux distro)
      C:\>tracert                                (in Windows OS)
For me its 6 hops to 
So a minimum TTL value of 6 is required to reach icmp packets to and get ping replay. And cannot ping to with a TTL value of 5 or less.

Ping Results with different TTL values
[root@server ~]# ping -t 5                 (-t 5  is for custom TTL value of 5)

PING ( 56(84) bytes of data.
From  icmp_seq=1 Time to live exceeded
From  icmp_seq=2 Time to live exceeded
From  icmp_seq=3 Time to live exceeded
From  icmp_seq=4 Time to live exceeded

[root@server ~]# ping -t 6             (-t 6  is for custom TTL value of 6)
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=55 time=48.9 ms
64 bytes from icmp_req=2 ttl=55 time=49.5 ms
64 bytes from icmp_req=3 ttl=55 time=50.4 ms
64 bytes from icmp_req=4 ttl=55 time=49.4 ms

Was this helpfull ?


Related Posts Plugin for WordPress, Blogger...

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons