Open In App
Related Articles

GATE | GATE-CS-2006 | Question 5

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

For which one of the following reasons does Internet Protocol (IP) use the timeto- live (TTL) field in the IP datagram header

(A)

Ensure packets reach destination within that time

(B)

Discard packets that reach later than that time

(C)

Prevent packets from looping indefinitely

(D)

Limit the time for which a packet gets queued in intermediate routers.



Answer: (C)

Explanation:

The TTL field in an IP packet header is decremented by one each time the packet passes through a router. If the TTL field reaches zero, the router discards the packet and sends an ICMP “Time Exceeded” message back to the sender. This prevents packets from circulating endlessly in the network due to routing loops or other issues.
So, the reason IP uses the TTL field is to “Prevent packets from looping indefinitely.”



Quiz of this Question
Please comment below if you find anything wrong in the above post

Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads