feat(tower): use motherboard NIC with static IP 192.168.0.10#188
Merged
Conversation
Tower's wired link ran through a USB ethernet adapter built into the monitor, so turning the screen off dropped the connection. Move to the motherboard NIC (enp11s0) via a NetworkManager static profile so the link survives the display being off. While here, move tower off .130 (inside the DHCP pool) to .10 (below the pool, can't collide with a dynamic lease), defined on tower itself rather than as a pi DHCP reservation. DNS points at pi for split-horizon resolution. Update the dnsmasq split-horizon records and drop the now obsolete USB-MAC reservation; update cockpit/homepage by-IP allow lists. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
etrobert
approved these changes
Jun 6, 2026
This was referenced Jun 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enp11s0) via a NetworkManager static profile so the link survives the display being off..130(inside the DHCP pool.50–.250) to.10(below the pool, can't collide with a dynamic lease), defined on tower rather than as a pi DHCP reservation — mirroring how pi sets its own.18viaensureProfiles."end0-static"..18) for DNS so split-horizon resolution of internal*.etiennerobert.comnames works on tower too (no NAT hairpin on the router, so public resolution would loop back and fail).host-records.130 → .10, drop the obsolete USB-MACdhcp-hostreservation, and update cockpit/homepage by-IP allow lists.Manual steps required (out of repo)
enp11s0).192.168.0.130to192.168.0.10, else external HTTPS tofiles/creatures/adele/…etiennerobert.combreaks.Test plan
nix build .#nixosConfigurations.tower.config.system.build.toplevelsucceeds (x86_64).host-records →.10,dhcp-hostremoved). pi toplevel can't be built on x86_64 (aarch64 target).ssh tower 'ip -4 addr show enp11s0'shows192.168.0.10, default route viaenp11s0.ssh towerstays reachable.ssh tower 'getent hosts creatures.etiennerobert.com'→192.168.0.10(split-horizon via pi).dig @192.168.0.18 files.etiennerobert.com +short→192.168.0.10.https://192.168.0.10:9090(cockpit),http://192.168.0.10:8082(homepage).curl -sI https://files.etiennerobert.comreturns 200/redirect.🤖 Generated with Claude Code