CS FundamentalsModerateGATE CS · Product company CS fundamentals

A host with address 172.16.5.10/23 wants to reach 172.16.4.200. What does it do?

  1. A. Delivers directly on its LAN (ARP for 172.16.4.200), because both are in 172.16.4.0/23
  2. B. Sends the packet to its default gateway, because the third octets differ
  3. C. Broadcasts the packet to 172.16.5.255
  4. D. Drops it, because 172.16.4.200 is a network address

Correct answer: A. Delivers directly on its LAN (ARP for 172.16.4.200), because both are in 172.16.4.0/23

A /23 covers two consecutive values of the third octet starting at an even number: 172.16.4.0–172.16.5.255. Both addresses fall inside, so the host ARPs for the target directly. Comparing octets as if the mask were /24 is the trap.

More Computer Networks questions

Exams that ask this topic