Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Time to live (TTL) Question...

Hi Experts,

I would like to check, what is this TTL means?

When i ping from main office to branch office user network range, it gives me TTL=253,(which i believe is normal)..

But when i ping from branch office to main site, the TTL only 125.

Why it is so?

Reply from bytes=32 time=4ms TTL=125

Reply from bytes=32 time=6ms TTL=125

Thanks in advanced..



Re: Time to live (TTL) Question...


Is the connectivity through MPLS cloud? Is it a L3 or L2 VPN? Can you do a traceroute and post the results?



New Member

Re: Time to live (TTL) Question...

Thanks Niranjan,

Tracing route to[]

over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms

2 <1 ms <1 ms <1 ms

3 4 ms 3 ms 3 ms

4 6 ms 10 ms 5 ms

5 5 ms 5 ms 5 ms []

And it is going throught 10M Metro Ethernet line..


Re: Time to live (TTL) Question...


It could be because of the host you are using to sent the ping packets. The default TTL value might be different.


I pinged my own interface, on windows-XP machine to confirm the default ttl set by windows. It turns out to be 128

C:\Documents and Settings\niranjan>ping localhost

Pinging [] with 32 bytes of data:

Reply from bytes=32 time<1ms TTL=128

Reply from bytes=32 time<1ms TTL=128

Reply from bytes=32 time<1ms TTL=128

Reply from bytes=32 time<1ms TTL=128

Ping statistics for

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\niranjan>

So are you pinging from the router/unix host from 1 side and windows ffrom the other?

Can you check the default TTL when the ping is sent from either side? Maube u coyuld use self-ping / ethereal.

Hope this will solve your query.



(Please rate helpful posts.)

New Member

Re: Time to live (TTL) Question...

I ping from host to host...

host A ping to host B : TTL=127

Host B to Host A : TTL=253



Re: Time to live (TTL) Question...

Did your issue get solved?

I was telling to ping self-ip-address. Ping from host A to hostA itself.

You will notice that one of the hosts is sending the ping with default TTL of 128. They would be controlled by the OS you are runnign on the host. The other host is using the default ttl of 255. So you are seeing such a difference on both directions.

If you calculate based on this, you have just 2 hops in one direction and 3 in the other. It is quiet possible that the traffic takes a different path in reverse direction due to which u might see an extra hop. That path will depend on the routing information.

Hope this answers your question. Please mark the question as solved if it does. Else revert with any issues still unclear.



New Member

Re: Time to live (TTL) Question...

THe other host (HOST B) when ping to self ping also showing TTL = 128.

but ping to host A is TTL= 253.


Re: Time to live (TTL) Question...

That is correct. The host B sends an icmp echo request with a default TTL of 128. So a self ping shows TTL of 128. But when it Pings to A, A sends ICMP echo response with its default TTL of 255 which becomes 253 by the time it reaches B.

The TTL displayed by B is the TTL in the response packet that is sent by A.

Similarly, if you self-ping from A, you will see a default TTL of 255 used. But if you ping from A to B, you will see a TTL of 125 as B sends the response with default TTL of 128.



Re: Time to live (TTL) Question...


The Time-to-live (TTL) tells us how long a packet can stay on the wire. It is decremented by one for each hop (router) that the packet passes through. When the TTL drops to 0, the packet is discarded by the router. With ping, the TTL is all about the destination and has nothing to do with the source, since the value printed in the output is from the echo reply (packets sent from the destination) - Although if by any mean you can debug or sniff the echo request packets you'll notice that it uses the TTL of the local system - different OS uses different TTL (considered as an aspect of the OS fingerprinting, an initial TTL value can say a lot about an operating system), for example:

Windows: 128

Linux: 64

Cisco: 255

Solaris: 255


Mohammed Mahmoud.

Re: Time to live (TTL) Question...

Mohammed is correct and thats the way it is.

All cisco routers will ping with TTL255 and windos with TTL 128. On each hop it will be reduced.

Thats how the arch is designed.

Intel Swithes - 64

Cisco Firewall or Checkpoint will repond with - 64

Long time back i had read about this and it also said that hackers use this ping command understand the device which is reponcing.

Above is some good explanation and most of try to ignore this theory of TTL.

Links below will help more to understand.

CreatePlease login to create content