From ed87da11595b540940ac93fe5529164f08f50d67 Mon Sep 17 00:00:00 2001 From: Noah Date: Thu, 24 Sep 2026 13:30:03 -0600 Subject: [PATCH] Enable IPv4 policy routing for per-uplink reply routes flare-edge#181: a wired DHCP uplink with no internet (an unactivated Starlink Mini on eth0) took the default route from wlan0, and replies to the office left through it, so the panel went unreachable although its Wi-Fi never dropped. The fix gives every uplink its own routing table and a `from
` rule, so replies leave by the interface the request arrived on. That needs IPv4 policy routing, which this kernel did not have: only IPV6_MULTIPLE_TABLES was set, and every table silently aliased main (seen on the warehouse panel, 0.9.24-rc). Adds CONFIG_IP_ADVANCED_ROUTER and CONFIG_IP_MULTIPLE_TABLES. Against a pristine linux-6.18.46 (sha256 pinned), the expanded .config changes only in that block: FIB_RULES was already selected by the IPv6 option. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01MVGTC78dgCGfRANNKjoPea --- build/warden_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/warden_defconfig b/build/warden_defconfig index 88384b8..a503227 100644 --- a/build/warden_defconfig +++ b/build/warden_defconfig @@ -138,6 +138,8 @@ CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_PNP=y CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y