From 7201f53cb26dba04d63b215aaecdffc566aa0f75 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 14 Mar 2020 17:50:06 +0100 Subject: space_server: bird: add ipv4 BGP session for graffen --- roles/space_server/files/bird.conf | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'roles/space_server') diff --git a/roles/space_server/files/bird.conf b/roles/space_server/files/bird.conf index 417328d..a733e05 100644 --- a/roles/space_server/files/bird.conf +++ b/roles/space_server/files/bird.conf @@ -46,6 +46,10 @@ define asbjorn_prefixes_v6 = [ 2a10:2a80:1ab::/48 ]; +define graffen_prefixes_v4 = [ + 44.145.128.0/24 +]; + define graffen_prefixes_v6 = [ 2001:678:15c::/48 ]; @@ -237,6 +241,17 @@ protocol bgp asbjorn_ipv6 from bgp_customer { } # BGP customer: graffen +protocol bgp graffen_ipv4 from bgp_customer { + local 185.38.175.65 as local_asn; + neighbor 185.38.175.78 as graffen_asn; + ipv4 { + import limit 10 action block; + receive limit 20 action disable; + import keep filtered on; + import filter { customer_import(graffen_asn, graffen_prefixes_v4); }; + export filter { customer_export_and_default(); }; + }; +} protocol bgp graffen_ipv6 from bgp_customer { local 2a01:4262:1ab:20::1 as local_asn; @@ -246,6 +261,6 @@ protocol bgp graffen_ipv6 from bgp_customer { receive limit 20 action disable; import keep filtered on; import filter { customer_import(graffen_asn, graffen_prefixes_v6); }; - export filter { customer_export_dfz(); }; + export filter { customer_export_and_default(); }; }; } -- cgit v1.2.1