safer bridge mode

This commit is contained in:
ari committed 2026-09-23 19:29:28 -04:00
1 parent b5d59c34ac
commit d5afd6510f
7 files changed
+337 -120

No files matched your search

+5 -3
View File
@@ -182,9 +182,11 @@ in
# onto the LAN (services.hermenix.network.bridged = true on the host).
# - NAT mode: no DHCP server on the host bridge; the static default
# route via the host is the only one and carries all traffic.
# - bridged mode: the LAN's DHCP leases this NIC a real LAN address;
# that lease's lower-metric default route (100) wins over the static
# fallback (200), and LAN devices reach the VM at the lease address.
# - bridged mode: the host runs a DHCP server on its bridge that hands
# this NIC its fixed LAN address (services.hermenix.network.lanAddress,
# keyed to this NIC's MAC); that lease's lower-metric default route
# (100) wins over the static fallback (200), and LAN devices reach
# the VM at the fixed address. The VM never needs to know the address.
# Resolvers stay QUAD9 (UseDNS = false) in both modes.
# =====================================================================
networking.useNetworkd = true;