this post was submitted on 10 Dec 2023
13 points (93.3% liked)

networking

2779 readers
1 users here now

Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.

founded 2 years ago
MODERATORS
 

Hi all!

I have 2 ISPs with their own routers.

Router A: 192.168.0.1/24

Router B: 192.168.20.1/24

I have my servers plugged into Router A and all my endpoint and users' devices connected to Router B.

I want users connected to Router B (192.168.20.1/24) to have access to server 192.168.0.90

I thought plugging a LAN cable and connecting Router A and Router B and then defining static routes in both routers would solve the issue.

However, at the first step itself I have an issue. When connecting the routers via a LAN cable, both routers dont get any IP.

I was also referring to this post on superuser. Though Router B is capable of creating subnet and static route, I am not sure if Router A (Archer XR500v) is capable of creating a subnet and/or a static route.

https://superuser.com/questions/1667068/connect-two-routers-with-different-subnet

you are viewing a single comment's thread
view the rest of the comments
[–] I_Miss_Daniel 10 points 1 year ago* (last edited 1 year ago) (1 children)

Wouldn't it be easier just to put both routers on the same IP range and just set the gateway on the clients to be whichever router you wanted to provide internet access?

You might want to disable DHCP on the non-favoured one.

[–] WhyAUsername_1 2 points 1 year ago (1 children)

This is the way I ended up doing it.

Thanks for pointing me in the right direction. :)

[–] I_Miss_Daniel 2 points 1 year ago (1 children)

You're welcome!

Happy 2024, and thanks for letting me know.

[–] WhyAUsername_1 1 points 1 year ago