GATE | GATE-CS-2006 | Question 5
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) 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.
Quiz of this Question
So, the reason IP uses the TTL field is to “Prevent packets from looping indefinitely.”
Please comment below if you find anything wrong in the above post
Share your thoughts in the comments
Please Login to comment...