CS FundamentalsHardGATE CS · Cisco / networking placement

On one switch, host A is set as 192.168.1.100/25 and host B as 192.168.1.200/24; both use the router 192.168.1.1 as gateway, and the router is 192.168.1.1/24. Hosts answer ARP for their own address whatever the sender's subnet. How do packets travel between A and B?

  1. A. A to B goes through the router; B to A goes directly over the LAN
  2. B. Both directions go directly, since the hosts share one switch
  3. C. Both directions go through the router, since the masks differ
  4. D. A to B goes directly; B to A goes through the router

Correct answer: A. A to B goes through the router; B to A goes directly over the LAN

With /25, A's subnet is .0–.127, so .200 looks remote and A frames the packet to the gateway's MAC. B's /24 includes .100, so B ARPs for A and sends directly. The asymmetry is the classic symptom of a wrong mask.

More Computer Networks questions

Exams that ask this topic