What Hardware to use to hook two networks together with each having a seperate internet connection

Sinatrad

Prominent
Feb 22, 2017
2
0
510
I have three buildings I want to connect for file sharing, two houses and a shop. The houses have internet connections and I want to keep those separate, but be able to have them share one connection in a pinch; all the while sharing files across the entire network. Right now I have a router in one house, a router in the other with CAT 5 run to a switch in the shop. Also the length of some of the runs to connect everything is at the end of CAT 5's allowable distance. What hardware will I need? I would like to keep everything rack mountable. Should I look into fiber?
Thanks
 
Solution
There are a couple ways but if you are willing to replace the routers. You need a router that can support multiple subnets. You would define 3 total networks. Say 192.168.1.0 and 192.168.2.0 for each lan. You then define a network say 192.168.3.0 for a network between the routers.

You would then put in static routes telling the router to send say 192.168.2.0 over the connection 192.168.3.x and the reverse. This should then allow your machines to access each other using the ip addresses.
You are going to need commercial equipment to do this correctly. You will need actual routers that can do more than just translate a single lan network to a single wan ip.

If you can live with it simplest solution is to just connect it all together with a switch. Then manually set the ip addresses and gateways on your machines so they use the proper internet connection.

Almost everything else requires you to learn quite a bit about networking and subnets.
 

Sinatrad

Prominent
Feb 22, 2017
2
0
510
I planned on getting commercial equipment, or at least business grade, rack mountable. I have a basic knowledge of networking, even took a CISCO class 17 years ago. I just have been out of the game for so long I don't know what the best -current- way to do this is, without having to go to each PC and assigning static IP's and subnets.
 
There are a couple ways but if you are willing to replace the routers. You need a router that can support multiple subnets. You would define 3 total networks. Say 192.168.1.0 and 192.168.2.0 for each lan. You then define a network say 192.168.3.0 for a network between the routers.

You would then put in static routes telling the router to send say 192.168.2.0 over the connection 192.168.3.x and the reverse. This should then allow your machines to access each other using the ip addresses.
 
Solution