Connect gateway router to gateway router

G

Guest

Guest
Hello,
I am trying to create a lan using a switch to connect 2 routers.

My network is like this: Cable modem - into switch (unmanaged)- splits into 2 routers. Seperate WAN Ips for each router.

Router: A 192.168.0.1 - DHCP enabled - 255.255.255.0 subnet
Router: B 192.168.0.2 - DHCP enabled - 255.255.255.0 subnet

Router: A issues IP's - 192.168.0.100 - 192.168.0.140

Router: b issues IP's - 192.168.0.149 - 192.168.0.199

How do I access my files connected to router B from Computers connected to router a? Can you help me?

 

gtvr

Distinguished
Jun 13, 2009
1,166
0
19,460
Both routers are in the same subnet. You need to adjust the gateway address and subnet mask. Something like router A is 0.1 and assigns 0.2 through 0.100. Router B is 0.101 and assigns 0.102 through 0.200. These numbers may not be precisely on a boundary, and you need to calculate a netmask, but that should work for you.
 

sturm

Splendid
Look in the router config pages and see if there is a way to setup an IP route to each router.
Is there a reason why you have the switch in there? You could run it router -> router. This way the routers would know about each other. You could still set each one up as you have it so you would only have one network.