ap: bridge wired LAN port (enx00e04c331140) into br0 with the AP

Add a wired LAN port on the same 10.42.0.0/24 segment as VanLink WiFi by
bridging both into br0. The gateway IP, dnsmasq, and NAT move off the wlan name
onto br0; hostapd (not networkd) enslaves the wlan via bridge=br0, since a
station-mode wlan can't be bridged until it's in AP mode. NM leaves the wired
port unmanaged so networkd owns it. Failover/Starlink (enxd8ec5eeb3512)
untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Andreas Wrede
2026-06-30 13:46:03 -04:00
co-authored by Claude Opus 4.8
parent c93997c06d
commit 830ef52641
10 changed files with 84 additions and 16 deletions
+10
View File
@@ -0,0 +1,10 @@
# LAN bridge: joins the AP Wi-Fi (added by hostapd, once it's in AP mode) and the
# wired LAN port (enx00e04c331140, added by networkd) into one 10.42.0.0/24 segment.
# STP off: only two member ports, no loops, and it avoids the forwarding delay that
# would otherwise stall the first DHCP handshake on a freshly-plugged client.
[NetDev]
Name=br0
Kind=bridge
[Bridge]
STP=no