From 6113ac6768a390db339b88eaf8c473539efb267e Mon Sep 17 00:00:00 2001 From: flimpie Date: Tue, 14 Nov 2023 18:27:39 +0100 Subject: [PATCH] space_server: bird: added as203105 to bird config Authored by: flimpie --- roles/space_server/files/bird.conf | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/roles/space_server/files/bird.conf b/roles/space_server/files/bird.conf index e5516d5..4b21648 100644 --- a/roles/space_server/files/bird.conf +++ b/roles/space_server/files/bird.conf @@ -26,6 +26,7 @@ define olivia_asn = 199750; define rayman_asn = 198186; define flummer_asn = 198275; define dbras_asn = 198886; +define flimpie_asn = 203105; define asbjorn_prefixes_v4 = [ 194.165.35.0/24, @@ -60,6 +61,14 @@ define dbras_prefixes_v6 = [ 2a0e:8f02:2251::/48 ]; +define flimpie_prefixes_v4 = [ + 45.92.42.0/24 +]; + +define flimpie_prefixes_v6 = [ + 2a07:22c1:40::/48 +]; + # large communities define lc_f_type = 1; @@ -338,3 +347,30 @@ protocol bgp dbras_ipv6 from bgp_customer { export filter { customer_export_and_default(); }; }; } + +# BGP customer: flimpie +protocol bgp flimpie_ipv4 from bgp_customer { + local 185.38.175.65 as local_asn; + neighbor 185.0.29.16 as flimpie_asn; + ttl security; + ipv4 { + import limit 10 action block; + receive limit 20 action disable; + import keep filtered on; + import filter { customer_import(flimpie_asn, flimpie_prefixes_v4); }; + export filter { customer_export_default_only(); }; + }; +} + +protocol bgp flimpie_ipv6 from bgp_customer { + local 2a01:4262:1ab:20::1 as local_asn; + neighbor 2001:7f8:149:1ab::20:3105:1 as flimpie_asn; + ttl security; + ipv6 { + import limit 10 action block; + receive limit 20 action disable; + import keep filtered on; + import filter { customer_import(flimpie_asn, flimpie_prefixes_v6); }; + export filter { customer_export_default_only(); }; + }; +}