On Wed, Apr 05, 2000 at 10:11:42AM +1000, Howard Lowndes wrote:
> I am curious to know what determines the ttl that is returned by ping
> packets.
The type of host you're pinging, and the number of hops its
from you. I think most hosts set the initial value to 255,
but some set it lower. Then every router it passes through
decrements it.
> Pinging from A (RH 6.0) to B (RH 6.1) via Telstra gives a ttl of 250
5 hops away (you could confirm with a traceroute)
> Pinging from A to C (RH 5.2) via Telstra and B gives a ttl of 58
8 hops away?
> Pinging from A to D (Digi Portserver) via Telstra and B and C gives a ttl
> of 248
7 hops away
> It makes no sense to me.
It probably makes more sense to compare ttl's of the same ping, ie
if you're pinging B and the ttl changes at some point, you know the
routing has changed.
--
chesty
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text