C1: pin ringtail wired IP to 192.168.1.21 (static) #355
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ringtail-static-ip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Pins ringtail's wired interface (
enp5s0) to192.168.1.21/24via NixOS scripted networking. NetworkManager remains enabled for wireless fallback only — it no longer manages the wired interface. Removes DHCP lease renewal as a failure mode.Why
On 2026-05-12 ~06:51 PDT, ringtail dropped off the tailnet for ~2.5h. Diagnosis:
enp5s0.LastHandshake: 0001-01-01(never).Most likely root cause: silent DHCP lease teardown by NetworkManager (or NM itself crashing silently — its journal had only two entries since 2026-04-30). There was also no DHCP reservation on the UX7 for ringtail's MAC, so the IP wasn't even pinned at the router level.
Change
networking.networkmanager.unmanaged = [ "interface-name:enp5s0" ]— NM no longer touches the wired interface.networking.useDHCP = false— no scripted DHCP on any interface.enp5s0.192.168.1.1(UX7) +1.1.1.1(fallback). These become Tailscale's upstream resolvers since MagicDNS owns/etc/resolv.conf.UniFi:
192.168.1.21is now also set as a "Fixed IP" reservation tied to ringtail's MAC, so even though ringtail won't ask for DHCP, the UX7 won't lease this IP to anything else.Test plan
mise run provision-ringtailfrom this branch — deploy the static config.enp5s0while scripted networking reclaims it). Physical console available at the desk if needed.ip addr show enp5s0shows192.168.1.21/24,ip route show defaultshowsvia 192.168.1.1 dev enp5s0, and the route comes fromproto static(notproto dhcp).ssh ringtail).mise run services-check).🤖 Generated with Claude Code