I haven’t found a clear link as to when or why it happens, but this issue doesn’t happen consistently for me.
I have a number of Debian and Ubuntu machines connected with various custom parameters.
For example, my DNS server (PiHole) is tagged with tag:dns and doesn’t accept routes or dns from other machines.
My subnet routing machine has a bunch of routes associted with it.
Some VPS machines are just tagged and set to not accept routes/dns.
The problem is that when I reboot, sometime I lose these tags, routes, etc. The machine with subnet routes will show up like a change and say that its no longer advertising them. The machines with tags will just drop the tag. etc.
I’ve tried re-doing the “tailscale up” command for that machine (with routes, tags, etc.), which usually does nothing to add tags, routes, etc. So I have to append --reset to get it to register properly. Then I reboot again and it goes away, sometimes.
Some example command lines I have used on these machines (I only used the --reset flag when I couldnt get it to register properly).
sudo tailscale up --accept-routes=false --accept-dns=false --reset
sudo tailscale up --advertise-routes=192.x.x.0/24 --advertise-exit-node --accept-routes=false --accept-dns=false --reset
Any ideas why I keep losing network functionality for rebooting a machine?
I do have some windows machines, but only one has a tag associated with and I would need to test it further, so I can’t comment on those.