PT Bug?

in CCNA & CCENT
I have
PCA 192.168.1.2/16
PCB 192.168.2.2/24
separated by a router used as a default gateway.
For my understanding PCA shouldn't be able to ping PCB
For PCA, PCB is in the same subnet so it should use an ARP to learn it's MAC address, it shouldn't forward the packet to the router.
In PT PCA ping PCB, is this a bug or Am I missing something?
PCA 192.168.1.2/16
PCB 192.168.2.2/24
separated by a router used as a default gateway.
For my understanding PCA shouldn't be able to ping PCB
For PCA, PCB is in the same subnet so it should use an ARP to learn it's MAC address, it shouldn't forward the packet to the router.
In PT PCA ping PCB, is this a bug or Am I missing something?
Comments
To my surprise a ping from 192.168.1.2 to 192.168.2.2 worked just fine despite the subnet mask.
Here is why:
192.168.1.2 sends an ARP for 192.168.2.2 and Router1 responds with the mac address of it's own interface facing 192.168.1.2
Is this a Cisco thing or all routers do the same?
If you look at the routing table (sh ip ro) you'll see both networks are directly connected and network masks or Class A vs Class B, etc doesn't matter.. The router knows where to send the traffic
regards
A.S. LAN Management 2010 Grossmont College
B.S. I.T. Management 2013 National University
Interested in this too.
The thing I was missing is the one indicated by networker, the proxy arp function.