GATE / CS ARCHIVE

SIMILAR QUESTIONS / COMPUTER NETWORKS

Identify the purpose of IPv4 TTL

2 questions solved the same way, newest first. Back to Computer Networks

How these are solved

Recognize hop-limited lifetime preventing indefinite forwarding loops; distinguish loss, delay and priority alternatives.

1 mark · MCQ
Report issue

Asked again GATE 2006, Q5 (same question)

Purpose of IP TTL

IP Addressing, Fragmentation & Address Resolution

Question 15, GATE 2010: Which statement best explains why an IP datagram has a Time-to-Live (TTL) header field?
Options: (A) To prioritize packets; (B) To reduce delays; (C) To optimize throughput; (D) To prevent packet looping.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Routers decrement TTL as a datagram is forwarded and discard it when the limit is exhausted. A packet caught in a routing loop therefore cannot circulate indefinitely. This bounds packet lifetime rather than prioritizing traffic, directly reducing delay or optimizing throughput: D.

If routers A and B mistakenly route a destination through each other, the same packet can alternate indefinitely without a hop/lifetime bound. TTL makes each traversal consume part of a finite budget. It does not repair the routing error itself; it limits the damage by eventually dropping the circulating datagram.

Original paper, page 4

1 mark · MCQ
Report issue

Asked again GATE 2010, Q15 (same question)

Purpose of IPv4 TTL

IP Addressing, Fragmentation & Address Resolution

Question 5, GATE 2006: Why does IP put a Time-to-Live (TTL) field in the datagram header?
Options:
(A) Ensure delivery within that time
(B) Discard packets that reach the destination later than that time
(C) Prevent packets looping indefinitely
(D) Limit the time spent queued in intermediate routers
Question 5, GATE 2006: Why does IP put a Time-to-Live (TTL) field in the datagram header?
Options:
(A) Ensure delivery within that time
(B) Discard packets that reach the destination later than that time
(C) Prevent packets looping indefinitely
(D) Limit the time spent queued in intermediate routers
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. Every forwarding router decreases TTL, and a datagram is discarded when it expires. This bounds forwarding through a routing loop rather than promising delivery within a deadline.

2. Therefore C, preventing indefinite looping.

3. Teaching check: A routing loop may keep forwarding a datagram without delivering it. Decrementing a finite counter at each router eventually destroys that datagram even if the routing error persists. TTL does not reserve network resources or provide an end-to-end latency guarantee.

Original paper, page 1