Merging 2 LAN together

davidred15

Honorable
Dec 3, 2012
38
1
10,530
I currently have 2 buildings with 2 separate LAN with no internet access. (I don't want have internet access for them)

Building A has ip range of (192.168.1.2-192.168.1.255)
All the devices has static ip with no router only switches

Building B has ip range of (10.110.92.2 - 10.110.92.255)
All the devices has static ip with no router only switches

Now I have 2 computer from building B want to communicate some devices to building A. So I put in a router at 192.168.1.1 with no dhcp and connected building A to internal port 1 and building B to internal port 2

Then for the 2 computers from building B in windows i made sure they had 2 sets of ip that is not taken and 1 gate ways.

Computer 1 : 192.168.1.250 and 10.110.92.250 with gate way 192.168.1.1
Computer 2 : 192.168.1.251 and 10.110.92.251 with gate way 192.168.1.1

When it first got installed it worked fine for couple weeks then all the sudden it will cause one building lose network. Then we try reset it and still works fine for couple weeks then one of the building network would crash.

I was wondering is there a better way go about it without using WAN and also no changing the 2 buildings ip range?

Thanks,
David
 

john-b691

Honorable
Sep 29, 2012
703
1
11,160
I am surprised you got that to work..what a painful way to do it.

Get a router than run multiple networks or get one you can load dd-wrt on. You would then put the router on 10.110.92.1 and 192.168.1.1 and put gateway address on the PC pointing to the corresponding network. The router will know how to connect them and all the pc will work without any special configuration.

Maybe someone else would know the exact router that can do this with default firmware. I either use DD-WRT or more commonly use a layer3 switch of small cisco commercial router.