What is the default maximum TTL value used by traceroute when sending UDP datagrams?

What will be an ideal response?

In usual packets, TTL (time to live) is an 8-bit field of which maximum value is 255. For TTL which is used for traceroute command, the default maximum value is 30. the traceroute command can be used to discover the routes packets take to a remote destination, as well as where routing breaks down. The device executing the traceroute command sends out a sequence of User Datagram Protocol (UDP) datagrams, each with incrementing Time-To-Live (TTL) values, to an invalid port address at the remote host.
First, three datagrams are sent, each with a TTL field value set to 1. The TTL value of 1 causes the
datagram to ``timeout" as soon as it hits the first router in the path; this router then responds with an
ICMP ``time exceeded" message indicating that the datagram has expired.
Next, three more UDP messages are sent, each with the TTL value set to 2. This causes the second
router in the path to the destination to return ICMP "time exceeded" messages.
This process continues until the packets reach the destination and until the system originating the traceroute has received ICMP "time exceeded" messages from every router in the path to the
destination. Since these datagrams are trying toaccess an invalid port at the destination host, the host will respond with ICMP``port unreachable" messages indicating an unreachable port. This event signals the traceroute program to finish.
The purpose behind the traceroute command is to record the source of each ICMP ``time exceeded"
message to provide a trace of the path the packet took to reach the destination.

The value of 30 for maximum TTL is pretty enough to traverse the routers between source and destination hosts. Because the maximum number of routers in RIP is 15 (16 hop-count means inaccessible), this value can obtain all intermediate routers.

Computer Science & Information Technology

You might also like to view...

What is the language used by browsers to display Web pages?

A) HTML B) FTP C) HTTP D) WWW

Computer Science & Information Technology

Insiders pose the most overrated danger to informational security

Indicate whether the statement is true or false.

Computer Science & Information Technology