CS FundamentalsHardGATE CS
In a network of 5 routers where every pair is directly connected, a source floods a packet: each router that receives it forwards a copy on every line except the one it arrived on, and copies carry a hop counter initialised to 2 that is decremented per hop (a copy arriving with counter 0 is not forwarded). How many packet transmissions occur in total?
- A. 16
- B. 20
- C. 12
- D. 8
Correct answer: A. 16
Hop 1: the source sends on its 4 lines (4 transmissions, counter now 1). Each of the 4 receivers forwards on its 3 other lines: 12 transmissions, which arrive with counter 0 and stop. Total 4 + 12 = 16, even though only 4 routers needed the packet.
More Computer Networks questions
- Match the ICMP message types: P. 0 Q. 3 R. 5 S. 11 with 1. Redirect 2. Echo reply 3. Time exceeded 4. Destination unreachable.
- How does IPv4 Path MTU Discovery learn the smallest MTU on a path?
- A DHCP client gets an 8-hour lease at 09:00. By default, at what times does it first try to RENEW with the same server (unicast), and when…
- Why can an attacker on the same LAN redirect a victim's traffic to itself with ARP spoofing, and which switch feature defends against it?
- Ignoring DNS and transmission time, how many RTTs pass from the start of the TCP handshake until the first byte of the HTTP response…
- Which set contains ONLY idempotent HTTP methods (repeating the same request has the same effect on the server as sending it once)?