CS FundamentalsHardGATE CS · Product company CS fundamentals
Classic UNIX traceroute sends UDP probes with increasing TTL. How does it know that a probe has reached the destination host itself?
- A. The destination answers with ICMP Time Exceeded with TTL 0
- B. The destination sends a UDP echo reply
- C. The last router sends ICMP Echo Reply on behalf of the host
- D. The destination answers with ICMP Port Unreachable, because the probe targets an unlikely high UDP port
Correct answer: D. The destination answers with ICMP Port Unreachable, because the probe targets an unlikely high UDP port
Intermediate routers drop the probe when TTL reaches 0 and send ICMP Time Exceeded, revealing each hop. The destination does not decrement TTL to 0 for itself; it finds no process on the port and returns Port Unreachable, which ends the trace.
More Computer Networks questions
- A browser re-requests a cached image with the header If-Modified-Since. The image has not changed on the server. What does the server send?
- How many of the following statements are correct? 1. HTTP/2 multiplexes many requests as streams over one TCP connection. 2. HTTP/2…
- Alice writes an email in a web browser using a webmail service; it is delivered to Bob's mail server and Bob reads it in a desktop client…
- How many of the following statements about FTP are correct? 1. FTP sends control information out-of-band on a separate TCP connection…
- A router holds 50 packets on average (queued plus in service), and packets arrive at an average of 10,000 per second. What is the average…
- Packets of 1500 bytes arrive at a router output link of 10 Mbps as a Poisson stream of 800 packets/s; transmission times are exponential…