Tailscale Subnet Routing cannot work

The main router and sub-router are GL.inet GL-AX1800.

I want to install Tailscale routers on the main router.

My main router settings are:

LAN IP: 192.168.1.254

Subnet mask: 255.255.0.0

DHCP Server: 192.168.1.1~249

The sub-router settings are:

LAN IP: 192.168.2.254

Subnet mask: 255.255.0.0

Gateway: 192.168.1.254

DHCP Server: 192.168.2.1~249

The entire LAN is connected, supporting 65,536 hosts.

The same 65,536 hosts can connect even when the main router is off.

The main router and sub-router are connected via LAN ports, while the connection is in full routing mode.

Host 65536 can access the internet.

What is the complete setup? Are there any settings that need to be adjusted in LuCI? I don't want to use SSH commands at all.

Hi

Please refer to the following guide and configure Tailscale on both routers to advertise their respective LAN routes:

Main Router Tailscale

Symptom:
enable Subnet Routing
External Network, cannot login 192.168.1.x
just can login 192.168.2.x only.

how to fix can login 192.168.1.x?

Sub Router,

Main Router,

Could you clarify your network topology and the actual requirement?

From your description, it sounds like there is a primary router and a secondary router in your network, each with its own subnet, and you would like to run Tailscale only on the primary router while advertising and allowing access to both subnets.


If that is the case, we will likely need to configure it via SSH. The process is relatively simple and should remain effective unless the router is reset or the firmware is upgraded.

  1. On the primary router, follow the guide below to advertise the secondary router's subnet in addition to the primary router's own subnet:

    How to advertise the router's WAN parent subnet/route to Tailscale?

  2. On the primary router, go to LuCI → Network → Static Routes and add a route to the secondary router's subnet.

  3. After that, everything should work as expected, and remote Tailscale devices should be able to access both subnets behind the two routers.

I think subnet routing cannot support,
0.0.0.0/16, 0.0.0.0/8, 0.0.0.0/4

just support
0.0.0.0/24, ~~~ 0.0.0.0/30 only

and come here to check in.

I think engineer, need design update firmware, refer my picture.

Put,

Advertise subnet routes

( )

Update time frequest
( )

I found the solutions,
need externat network, to login back the internal,
Solutions as below,

Login LuCI> Systems > Scheduled Tasks, put the command,

*/5 * * * * tailscale set --advertise-routes=192.168.1.0/24,192.168.2.0/24

*/5 * * * *
mean: every 5 min, will updating Subnet routes.

Thank you for the update.

It sounds like you have now gotten Tailscale working as expected?


Thank you as well for the suggestion regarding a GL UI option to customize the subnets advertised through Tailscale.

We will discuss this further with the product team.