I have read other similar question on the forum and none have completely answered my question. But to understand my confusion, you would need to know what else I'm confused about.
Is ARP a layer-2 or a layer-3 protocol? As in, does a switch know about the existence of an ARP request, or does all it see is "a frame from a:b:c:d to FF:FF:FF:FF:FF:FF"?
Assuming that a switch doesn't know what is an ARP request, what would happen if I create an ARP request for an IP address outside the subnet (assume I've done this manually and bypassed the behaviour that would make the host reach to a gateway instead)? Would a switch, being unaware of the fact that this IP is outside the subnet, just broadcast it, getting the frame to the next switch, which also being blind to layer-3 shenanigans, also broadcasts it, causing chaos?
Does the chaos continue, or does a L3 entity like a router eventually drop the packet?