Ask the Expert

Why is the TTL for a loopback ( 128 seconds, and yet it is relatively small (48 seconds) f

Why is the TTL for a loopback ( 128 seconds, and yet it is relatively small (48 seconds) for others?

Requires Free Membership to View

First, let me clarify a minor point: TTL doesn't really define the number of seconds that a packet will be allowed to live on the network. In practice, it defines the number of routers that a packet can be forwarded to. Each router that forwards a packet decrements the TTL by one. Routers don't have any way of keeping track of when a packet was sent, so it's impossible for them to drop a packet based on the number of seconds it's been on the network.

The default TTL for all traffic in Windows 2000 (and most recent Windows OSs) is 128, regardless of the interface used. However, any application can override that default when sending packets. For example, PING sets the TTL to 32 by default. So, if you're seeing traffic with a TTL of 48, the application probably overrode the default.

You can change the default by modifying this registry value:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParametersDe faultTTL

This was first published in November 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: