CS FundamentalsHardGATE CS · Product company CS fundamentals

Host X on LAN1 sends an IP packet to host Y on LAN3. The path is X → router R1 → LAN2 → router R2 → Y. All ARP caches are empty, and nobody has talked before. How many ARP request broadcasts are sent before the packet reaches Y?

  1. A. 1
  2. B. 3
  3. C. 2
  4. D. 4

Correct answer: B. 3

ARP resolves only next hops on the same link: X asks for R1's MAC on LAN1, R1 asks for R2's MAC on LAN2, and R2 asks for Y's MAC on LAN3. X never learns Y's MAC.

More Computer Networks questions

Exams that ask this topic