From 48ce6c4f47387789c41fdadb8a8ea9d07d19e140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= <contact@tobast.fr> Date: Sun, 30 Mar 2025 12:28:21 +0200 Subject: [PATCH] Connect to the route collector --- .../bird_edge/templates/bird/conf.d/30-bgp.conf.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/bird_edge/templates/bird/conf.d/30-bgp.conf.j2 b/roles/bird_edge/templates/bird/conf.d/30-bgp.conf.j2 index d6c64f8..3e8b011 100644 --- a/roles/bird_edge/templates/bird/conf.d/30-bgp.conf.j2 +++ b/roles/bird_edge/templates/bird/conf.d/30-bgp.conf.j2 @@ -30,6 +30,19 @@ template bgp dn42_peer from bgp_base { }; } +# Route collector +protocol bgp route_collector from bgp_base { + neighbor fd42:4242:2601:ac12::1 as 4242422602; + source address MY_IP; + multihop; + + ipv6 { + add paths tx; + import none; + export where bgp_dn42_export(5, 23, 34); + }; +} + # Peerings include "/etc/bird/bgp-peers.d/*.conf";