GATE / CS ARCHIVE

GATE CSE 2014 SET 2 / QUESTION 25

GATE CSE 2014 Set 2 Q25

Computer Networks · IP Addressing, Fragmentation & Address Resolution · Full GATE CSE 2014 Set 2 paper

GATE 2014 Set 2, Q25 1 mark · NAT
Report issue

IP Addressing, Fragmentation & Address Resolution

Question 25, GATE 2014: An IP packet follows the illustrated path from sender S on Ethernet LAN L1, through ISP1 and ISP2, to receiver R on Token-Ring LAN L2. Textual diagram equivalent: the drawn path traverses six forwarding router boxes (including two adjacent boxes at L1's exit), with additional LAN stations shown as non-router symbols. Links inside and between ISPs are point-to-point optical links. Starting TTL is 32. What is the maximum TTL on arrival at R?
Tap to enlarge
Answer & solution

Official answer: 26

1. Set up the reasoning. Count IP forwarding routers rather than hosts, link-layer stations, or physical link segments. Each router must decrement TTL by at least one; maximum remaining TTL uses a decrement of exactly one at every forwarding step.

2. Derive the result. The drawn path crosses six router boxes between the source and receiver, including the LAN-facing router before the first ISP. Each forwarding router reduces TTL by at least 1. Ordinary link-layer traversal does not reduce it, so the maximum final TTL is 32−6=26.

3. Check the interpretation. The Ethernet and Token-Ring media do not by themselves consume TTL. Counting the six boxes on the actual path gives six decrements, so the different LAN technologies do not alter the arithmetic.

Original paper, page 34 · Answer key