I’m tasked to link 2 networks. network A and B have their own routers to connect to the internet, basically just your average home dsl routers. the link between the two are wireless ap’s. geographically, they are 5km apart. the problem isnt linking them actually, but how to make them see each other since each network is different, ie how can a host in network A (192.168.0.xxx) gain access to a shared folder of a host in network B (10.0.0.xxx)and vice versa?
also, i want them to be able to connect on vlan/vpn (are they even interchangeable?) through internet, in case the wireless link goes down.
i thought of connecting the two networks to a linux router with 3 NICS, one for network A, one for the wireless AP and one for the internet, which will substitute network A’s dsl router since this linux router will be placed at network A’s location.
the thing is, im confused if i need to do this or just simply create a subnet. but, i dont know anything about subnetting and the equipment it requires. will i be able to subnet with the use of only 2 dsl routers and perhaps 2 unmanaged switches?
also, with regards to creating a linux router, will it be able to automatically generate its routing table or do i need to manually enter it so it will be able to connect the two networks?
this work may just be way over my head, but i want to at least give it a try because i really want to learn networking hands-on
thanks