CS FundamentalsVery hardGATE CS
How many of these situations should trigger an ICMP error message? 1. A router drops a datagram whose TTL reached 0. 2. A host receives a UDP datagram for a closed port. 3. A router drops an ICMP Destination Unreachable message because of congestion. 4. A router discards a non-first fragment of a datagram. 5. A router drops a datagram sent to a broadcast address.
- A. 3
- B. 4
- C. 5
- D. 2
Correct answer: D. 2
1 (Time Exceeded) and 2 (Port Unreachable) do. ICMP errors are never sent about ICMP error messages (3), about fragments other than the first (4), or about broadcast/multicast datagrams (5), to avoid storms of error messages.
More Computer Networks questions
- traceroute sends 3 probes per hop and stops after at most 30 hops. If the destination is 12 hops away and every probe is answered, how…
- In a Smurf attack the attacker sends ICMP Echo Requests with the victim's spoofed source address. Where are they sent, and what common…
- Why are open DNS resolvers attractive for DDoS amplification attacks?
- A client's SYN gets no SYN-ACK (the SYN-ACK is lost). What does the client do?
- A server restarts and its bind() to port 8080 fails with 'address already in use' because old connections are in TIMEWAIT. Which socket…
- A Selective Repeat receiver uses a window of 8 frames. How much buffer space (in frames) must it reserve, and why?