I have a problem with a network I’m building. I have a modem/router connected via ADSL to the internet.
I’ve setup this router so it has the address
192.168.0.1 with a
/24 mask, and it has its own DHCP server, with a pool that goes from
192.168.0.200, and it has a password protected WiFi.
I have a second router connected with the first router via a network cable, this second router has address
/24 mask and its own DHCP server with a pool that goes from
This second router also has a public WiFi. I’ve set a static route from the first to the second router (to network
/24 mask and
192.168.0.1 as default gateway).
Likewise, I have a static route from the second router to the first router (to network
/24 mask and
192.168.1.1 as default gateway).
My idea was to create two different networks with two different set of addresses.
The problem is that devices connected to the second router’s public WiFi get their address form the first router DHCP server (so they are like 192.168.0.xxx).
Moreover if I’m connected to the second router’s public WiFi I can access the first router’s settings panel (which is password protected but still), I guess because since they get the address from the first router’s DHCP (when they shouldn’t) they are in the same subnet, even if they are connected to the second router’s public wifi. I can’t even acces the settings panel of the second router unless I disconnect the network cable connecting the two routers. The first router is a Fritz!Box 3272 and the second router is a TP-Link TD-W8968