this post was submitted on 10 Dec 2023
12 points (92.9% liked)

networking

2811 readers
1 users here now

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

founded 1 year 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
[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)

You have two DHCP servers but can't set a separate IP on one of the interfaces as far as your information goes. You didn't provide the second router model.

That means I would disable the DHCP server on router B and set its IP to a static one in the router A's subnet. This means that you can hand out the gateway A from A via DHCP to clients and have the server set to a static IP with B as a gateway.

This all depends on the configuration options though. If you can set an IP or DHCP client per interface, you could also just do that.