From 4953a68e8bed19423b00bd4a03f642fea30a3513 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 9 Oct 2022 15:02:17 +0100 Subject: [PATCH] nixos/estuary: Add bgp.tools monitoring session --- nixos/boxes/colony/vms/estuary/bgp.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/colony/vms/estuary/bgp.nix b/nixos/boxes/colony/vms/estuary/bgp.nix index a7fc634..fe83b90 100644 --- a/nixos/boxes/colony/vms/estuary/bgp.nix +++ b/nixos/boxes/colony/vms/estuary/bgp.nix @@ -13,7 +13,7 @@ in define OWNIP4 = ${assignments.internal.ipv4.address}; define OWNNETSET4 = [${assignments.internal.ipv4.address}/32]; - define OWNIP6 = ${assignments.base.ipv6.address}; + define OWNIP6 = ${assignments.internal.ipv6.address}; define OWNNET6 = ${securebitSpace}; define OWNNETSET6 = [${securebitSpace}+]; #define TRANSSET6 = [::1/128]; @@ -75,6 +75,23 @@ in }; } + protocol bgp bgptools { + local as OWNAS; + multihop; + description "bgp.tools monitoring"; + neighbor 2a0c:2f07:9459::b8 as 212232; + ipv4 { + import none; + export all; + add paths tx; + }; + ipv6 { + import none; + export all; + add paths tx; + }; + } + template bgp base_bgp4 { local as OWNAS; direct;