Configure a subnet router
This topic is a quick guide for configuring subnet routers in a tailnet. For more detailed information, refer to Subnet routers and traffic relay nodes.
To use a tailnet device as a subnet router, select your platform and complete the steps.
-
Download and install the Tailscale client.
-
In a PowerShell session, advertise subnet routes for the device. Replace the subnets in the example below with the subnets for your network.
tailscale up --advertise-routes=192.0.2.0/24,198.51.100.0/24
-
Go to the Machines page of the admin console and locate the device in the list. It should display the Subnets badge.
-
Select the menu, then select Edit route settings.
-
Check the IP range boxes that correspond to the subnet routes you want to advertise, then select Save.
For more information about subnet router configuration with Tailscale, refer to Subnet routers and traffic relay nodes.