systemd-networkd silently breaks IPv6 after every ISP reconnect
IPv6 delegation, an unusually subtle failure mode

Restarting pppd gave the router a fresh IPv6 prefix, but nothing told clients to drop the old one, so Google resolved to a dead address and stopped working. networkd, radvd, dnsmasq, and VyOS all fail to implement RFC 9096's zero-lifetime deprecation. The fix was packaging OpenWrt's odhcpd for NixOS, which correctly retires stale prefixes and even survives a dead CMOS battery.
This shows us that dropping prefixes is prompt, but not instant.
- arcfour
Why do you even need networkd for a router? Setting one up on Alpine (so not all this cruft) is easy as pie and the whole thing can cold boot in under 10 seconds... Would make the whole setup much more understandable + smaller attack surface...
> I usually prefer using systemd utilities wherever possible.
Ah. There's your problem. When something promises it can do anything and everything, rarely can it do much of it well, I find...
The type of issue you encountered is a pervasive failure mode you will encounter the more and more systemd utilities you rely on. For something like a router, systemd is wholly unnecessary. Try it! You'll agree.
- RVuRnvbM2e
Isn't it a misconfiguration that the ISP is handing out a different prefix each time pppd restarts? Shouldn't the prefix be fairly static?
- wowczarek
I thought PD in Linux and *BSDs was a solved issue. I think I've been spoilt by dedicated NOSes.
- miyuru
One my LTE router's had a similar issue, which i documented for anyone(or AI agents) stumbling on it here.
- o_-_o
I think the most disturbing part of this article is; "I haven't replaced the dead CMOS battery on my router and the clock resets every time the router restarts." O_o