lan: repurpose onboard eth0 as an internal LAN port on br0
With wifi + Starlink + cellular as uplinks, the onboard GbE earns its keep as a wired LAN port instead of the metric-150 ethernet WAN: eth0 leaves netplan/NM (added to van-ap-unmanaged.conf) and joins br0 via networkd (23-van-lan-eth0.network), so wired clients get 10.42.0.x DHCP/DNS and NAT exactly like Wi-Fi clients. The eth WAN is gone from van-failover's config. Cutover notes: delete the old netplan-eth0 / stray eth0 NM profiles, then nmcli general reload + networkctl reload/reconfigure eth0. NEVER cable this port (or the USB LAN dongle) back into an upstream LAN — dnsmasq on br0 would serve rogue DHCP there; STP stays off, so don't cable both wired LAN ports to the same switch either. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
751facd511
commit
a36b64c7c4
@@ -0,0 +1,13 @@
|
||||
# Onboard GbE (RP1 eth0) as the internal LAN port: enslaved to br0 so anything
|
||||
# plugged in lands on 10.42.0.0/24 with DHCP/DNS from the same dnsmasq as Wi-Fi
|
||||
# clients. Was the metric-150 ethernet WAN until 2026-07-12 — with wifi +
|
||||
# Starlink + cellular as uplinks, the wired port earns its keep as LAN instead.
|
||||
# NM must leave it alone (see van-ap-unmanaged.conf) for networkd to own it here.
|
||||
[Match]
|
||||
Name=eth0
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=no
|
||||
|
||||
[Network]
|
||||
Bridge=br0
|
||||
Reference in New Issue
Block a user