Open In App
Related Articles

GATE | GATE-CS-2006 | Question 5

Like Article
Save Article
Report issue

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


Ensure packets reach destination within that time


Discard packets that reach later than that time


Prevent packets from looping indefinitely


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

Answer: (C)


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
Share your thoughts in the comments
Similar Reads