Connect gateway router to gateway router

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?
2 answers Last reply
More about connect gateway router gateway router
  1. 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.
  2. 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.
Ask a new question

Read More

LAN Routers Connection Gateway Networking