From 670ffb4186d7538f1b39e53ebe13c62b64439c54 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 24 Jul 2023 13:28:17 +0100 Subject: [PATCH] bgp: for 92.118.31.0/24, prepend with AS197753 for now --- ops/nixos/lib/bgp.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index c2dd6a68c9..3f3f794f5c 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -350,6 +350,8 @@ in { # do not export to clouvider; they do... strange things. bgp_ext_community.add((rt, 0, 62240)); + if net = 92.118.31.0/24 then bgp_path.prepend(197753); + accept; }; };