From 6cfcd10e0629f99133f00f4625cc5dada1576866 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 1 Jan 2022 02:11:59 +0000 Subject: [PATCH] swann: use the router's public IP when making connections For v6, the link is on an unrouted subnet so there's no way to address it from outside. We don't want Linux to use the v6 subnet for connections it makes, so we ask politely that the source on the route is actually an IP address that we Like. --- ops/nixos/swann/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 69ada4e19b..9a4300869b 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -528,10 +528,12 @@ in { route ::/0 via 2a09:a442::1:2 bfd { # Virgin Media preference = 100; + krt_prefsrc = 2a09:a443::1; }; route ::/0 via 2a09:a442::2:2 bfd { # EE preference = 10; + krt_prefsrc = 2a09:a443::1; }; # Covering route...