diff options
author | Olivia Wenya <oliviawenya@gmail.com> | 2023-06-07 15:31:52 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2023-06-20 20:56:56 +0200 |
commit | 13deaa876ee75273fc61f624c2b3a88401a59de4 (patch) | |
tree | d0ea4e125f082145ce52ca590a5d21c01fc83edf /roles | |
parent | 47319f779b33d36d9f9265186044afb47441a23e (diff) | |
download | labitat-ansible-13deaa876ee75273fc61f624c2b3a88401a59de4.tar.gz labitat-ansible-13deaa876ee75273fc61f624c2b3a88401a59de4.tar.xz labitat-ansible-13deaa876ee75273fc61f624c2b3a88401a59de4.zip |
space_server: bird: add Olivia ASN
Diffstat (limited to 'roles')
-rw-r--r-- | roles/space_server/files/bird.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/space_server/files/bird.conf b/roles/space_server/files/bird.conf index 39308ef..c3ca327 100644 --- a/roles/space_server/files/bird.conf +++ b/roles/space_server/files/bird.conf @@ -22,6 +22,7 @@ define local_asn = 205235; define fiberby_asn = 42541; define asbjorn_asn = 207727; define hafnium_asn = 211153; +define olivia_asn = 199750; define asbjorn_prefixes_v4 = [ 194.165.35.0/24, @@ -39,6 +40,10 @@ define hafnium_prefixes_v6 = [ 2a0e:8f02:2190::/44{44,48} ]; +define olivia_prefixes_v6 = [ + 2a0e:8f02:2210::/44{44,48} +]; + # large communities define lc_f_type = 1; @@ -265,3 +270,16 @@ protocol bgp hafnium_ipv6 from bgp_customer { export filter { customer_export_and_default(); }; }; } + +# BGP customer: olivia +protocol bgp olivia_ipv6 from bgp_customer { + local 2a01:4262:1ab:20::1 as local_asn; + neighbor 2a01:4262:1ab:20::76 as olivia_asn; + ipv6 { + import limit 10 action block; + receive limit 20 action disable; + import keep filtered on; + import filter { customer_import(olivia_asn, olivia_prefixes_v6); }; + export filter { customer_export_and_default(); }; + }; +} |