I have two separate sites: Site A and Site B. Each have their own subnet: 192.168.0.1/24
and 192.168.1.1/24
, respectively. Both have the subnet mask of 255.255.252.0
. They each have their own gateway and DHCP server. There are servers on both sites. Each site accesses the Internet through their own gateway. Site A has a router running AdvancedTomato and Site B has a router running OpenWRT.
I would like to somehow connect both networks over the internet in such a way that all the devices on either network can see each other. However, either site should access the internet through their own independent gateways; any new devices added at each site should obtain IP from that site's DHCP server. In the future, if there are more Sites, I would like to add them to the setup such that the third Site would see all other Sites' computers.
Is this a possibility? What do I need to accomplish this?
Any advice or instructions would be helpful. I think my low knowledge of networking is preventing me from finding the answer with the right keywords.