Skip to content

Routing and multi-WAN

Routing chooses the next hop for traffic. Keep ordinary default-gateway routing separate from policy-routing exceptions so a future operator can explain why a flow takes a particular path.

Define a gateway for each WAN and monitor it with an address that reflects real reachability. A gateway group expresses failover or load-distribution intent. Test both normal operation and a simulated WAN failure before relying on the policy.

Use static routes for known remote networks. Use policy routing only for selected source networks, services, or destinations that intentionally need a non-default gateway. Document the purpose and the expected return path for every exception.

The supported FRRouting package is the place for dynamic routing protocols. Keep routing daemon configuration, filter policy, and redistribution choices under change control. A route learned by a daemon can change far more of the network than a manual static route.

The multicast bridge, mDNS bridge, UDP broadcast relay, and Avahi packages solve specific discovery or forwarding cases. Enable only the protocol path required; broad Layer 2 or broadcast forwarding can defeat intended segmentation.