CS FundamentalsModerateTCS NQT · Infosys pattern

How does traceroute learn the address of each router along the path?

  1. A. It reads the Record Route option that every router fills in
  2. B. It sends probes with TTL = 1, 2, 3, … and records the ICMP Time Exceeded reply from each router
  3. C. It sends one ICMP Echo Request and every router replies with an ICMP Echo Reply
  4. D. It asks each router through SNMP for its next hop

Correct answer: B. It sends probes with TTL = 1, 2, 3, … and records the ICMP Time Exceeded reply from each router

Each probe's TTL expires one hop further away; the router that drops it returns ICMP Time Exceeded, revealing its address. The final host answers with Echo Reply (Windows) or Port Unreachable (UDP-based Unix traceroute).

More Computer Networks questions

Exams that ask this topic