ZoomCities IT Community Webmaster Forum

Full Version: what is meant by TTL ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pinging 72.232.118.244 [72.232.118.244]:

Ping #1: Got reply from 72.232.118.244 in 8.4ms [TTL=54]
Ping #2: Got reply from 72.232.118.244 in 6.7ms [TTL=54]
Ping #3: Got reply from 72.232.118.244 in 9.3ms [TTL=54]
Ping #4: Got reply from 72.232.118.244 in 10ms [TTL=54]

when i ping an Ip address i can find the following delay time and TTL ?

What is meant by TTL how it works ?

Can any one explain me
It stands for "time to live." It is there so that if the packets get stuck in a loop they will expire instead of getting routed around forever.
and how it works:

http://www.google.co.uk/search?q=define%3Attl&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a Wrote:
The Time To Live value exists in each IP packet's header. Aa packet crosses each router, the router decrements this value by 1. If the packet traverses enough routers for the value to reach 0, routers will no longer forward this packet.

The packet is discarded and usually it sends back an ICMP packet tell the host computer that the destination was unreachable.
i hope it's not hijacking...
can anyone tell me more about these ping options:

-f Set Don't Fragment flag in packet.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.

thanks

reedone816 Wrote:
i hope it's not hijacking...
can anyone tell me more about these ping options:

-f Set Don't Fragment flag in packet.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.

thanks


found this, on the M$ site Blink

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ping.mspx?mfr=true Wrote:
Ping

Verifies IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) Echo Request messages. The receipt of corresponding Echo Reply messages are displayed, along with round-trip times. Ping is the primary TCP/IP command used to troubleshoot connectivity, reachability, and name resolution. Used without parameters, ping displays help.
Syntax

ping [-t] [-a] [-n Count] [-l Size] [-f] [-i TTL] [-v TOS] [-r Count] [-s Count] [{-j HostList | -k HostList}] [-w Timeout] [TargetName]
Top of pageTop of page
Parameters

-t : Specifies that ping continue sending Echo Request messages to the destination until interrupted. To interrupt and display statistics, press CTRL-BREAK. To interrupt and quit ping, press CTRL-C.

-a : Specifies that reverse name resolution is performed on the destination IP address. If this is successful, ping displays the corresponding host name.

-n Count : Specifies the number of Echo Request messages sent. The default is 4.

-l Size : Specifies the length, in bytes, of the Data field in the Echo Request messages sent. The default is 32. The maximum size is 65,527.

-f : Specifies that Echo Request messages are sent with the Don't Fragment flag in the IP header set to 1. The Echo Request message cannot be fragmented by routers in the path to the destination. This parameter is useful for troubleshooting path Maximum Transmission Unit (PMTU) problems.

-i TTL : Specifies the value of the TTL field in the IP header for Echo Request messages sent. The default is the default TTL value for the host. For Windows XP hosts, this is typically 128. The maximum TTL is 255.

-v TOS : Specifies the value of the Type of Service (TOS) field in the IP header for Echo Request messages sent. The default is 0. TOS is specified as a decimal value from 0 to 255.

-r Count : Specifies that the Record Route option in the IP header is used to record the path taken by the Echo Request message and corresponding Echo Reply message. Each hop in the path uses an entry in the Record Route option. If possible, specify a Count that is equal to or greater than the number of hops between the source and destination. The Count must be a minimum of 1 and a maximum of 9.

-s Count : Specifies that the Internet Timestamp option in the IP header is used to record the time of arrival for the Echo Request message and corresponding Echo Reply message for each hop. The Count must be a minimum of 1 and a maximum of 4.

-j HostList : Specifies that the Echo Request messages use the Loose Source Route option in the IP header with the set of intermediate destinations specified in HostList. With loose source routing, successive intermediate destinations can be separated by one or multiple routers. The maximum number of addresses or names in the host list is 9. The host list is a series of IP addresses (in dotted decimal notation) separated by spaces.

-k HostList : Specifies that the Echo Request messages use the Strict Source Route option in the IP header with the set of intermediate destinations specified in HostList. With strict source routing, the next intermediate destination must be directly reachable (it must be a neighbor on an interface of the router). The maximum number of addresses or names in the host list is 9. The host list is a series of IP addresses (in dotted decimal notation) separated by spaces.

-w Timeout : Specifies the amount of time, in milliseconds, to wait for the Echo Reply message that corresponds to a given Echo Request message to be received. If the Echo Reply message is not received within the time-out, the "Request timed out" error message is displayed. The default time-out is 4000 (4 seconds).

TargetName : Specifies the destination, which is identified either by IP address or host name.

/? : Displays help at the command prompt.

thanks a lot,Biggrin
i forgot to search in the mother microsoft Tongue
i was only googling and haven't found the one as informative as that one.
thanks again.
I never tried that before nor know what it is. But i've only use ipconfig if you are talking about the /run command
Reference URL's