CS FundamentalsModerateTCS NQT · Infosys pattern
How does traceroute learn the address of each router along the path?
- A. It reads the Record Route option that every router fills in
- B. It sends probes with TTL = 1, 2, 3, … and records the ICMP Time Exceeded reply from each router
- C. It sends one ICMP Echo Request and every router replies with an ICMP Echo Reply
- 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
- A router's table holds 10.0.0.0/8 → interface A, 10.1.0.0/16 → interface B, 10.1.128.0/17 → interface C and a default route → interface D…
- A token bucket has capacity 1 MB and fills at 2 MB/s; the output line can run at 10 MB/s. Starting with a full bucket, for how long can…
- A 3000 Hz telephone channel has a signal-to-noise ratio of 30 dB. What is its Shannon capacity, approximately?
- Which side of a TCP connection goes through the TIMEWAIT state, and for how long?
- A web page consists of a base HTML file and 10 small images on the same server. Using persistent HTTP without pipelining and ignoring…
- A user's laptop resolves www.example.org using a local DNS server that has nothing cached. Which description of the lookup is the usual one?