Does the IPv6 private network assign a subnet to my project?
dctaf
PROOP

a month ago

The Tailscale subnet router guide [^1] says we should advertise fd12::/16. We would like to advertise the most specific route possible so that we can use other addresses in fd12::/8.

Does a Railway project (or environment) have a more specific subnet assigned to it? Visual inspection of the IPv6 addresses suggest all of our containers appear to be on the same /48 but I'd like to know if this will be stable for our project or not.

[^1] https://docs.railway.com/tutorials/set-up-a-tailscale-subnet-router

Thank you.

Solved

1 Replies

brody
EMPLOYEE

a month ago

Hello,

No, /48 wouldn't be guaranteed. We use parts of the IPv6 address for routing, host identification, etc., so there is no specific subnet that will always be used.

Instead, I recommend my Tailscale Forwarder template: https://railway.com/deploy/tailscale-forwarder. It avoids the need to advertise routes and, perhaps more importantly, the subnet router has a limit of 1 per railway tailscale account pair; the forwarder does not.

Let me know if you have any questions!

Best,
Brody


Status changed to Awaiting User Response Railway about 1 month ago


Status changed to Solved dctaf about 1 month ago


Loading...