I have 2 buildings
Building A has hosts
192.168.1.1 /24
192.168.1.2 /24
192.168.1.3 /24
Building B has hosts
192.168.1.4 /24
They are connected by three routers on a point to point
R1
R2----R3
Where R1 is in Building A, and R3 is in Building B
All these hosts are in the same subnet!!!!
So how does R2 know where to route packets? Since routers only know the network addresses
For example what if I make R2 ping 192.168.1.4 -- wouldn't it get confused? Or this design wrong? Can you not have broadcast through routers? Then how do VLANs in far away locations work?
I know pretty basic, but I'm confused.

: