aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/files
diff options
context:
space:
mode:
Diffstat (limited to 'roles/space_server/files')
-rw-r--r--roles/space_server/files/bird.conf22
1 files changed, 21 insertions, 1 deletions
diff --git a/roles/space_server/files/bird.conf b/roles/space_server/files/bird.conf
index acc191c..417328d 100644
--- a/roles/space_server/files/bird.conf
+++ b/roles/space_server/files/bird.conf
@@ -21,6 +21,7 @@ router id 185.38.175.0;
define local_asn = 205235;
define fiberby_asn = 42541;
define asbjorn_asn = 207727;
+define graffen_asn = 209616;
define local_prefixes_v4 = [
185.38.175.0/24,
@@ -31,7 +32,8 @@ define local_prefixes_v4 = [
define local_prefixes_v6 = [
2a01:4262:1ab::/48,
2a10:2a80:ac::/48,
- 2a10:2a80:1ab::/48
+ 2a10:2a80:1ab::/48,
+ 2001:678:15c::/48
];
define asbjorn_prefixes_v4 = [
@@ -44,6 +46,10 @@ define asbjorn_prefixes_v6 = [
2a10:2a80:1ab::/48
];
+define graffen_prefixes_v6 = [
+ 2001:678:15c::/48
+];
+
# functions and filters
function is_default_route() {
@@ -229,3 +235,17 @@ protocol bgp asbjorn_ipv6 from bgp_customer {
export filter { customer_export_default_only(); };
};
}
+
+# BGP customer: graffen
+
+protocol bgp graffen_ipv6 from bgp_customer {
+ local 2a01:4262:1ab:20::1 as local_asn;
+ neighbor 2a01:4262:1ab:20::78 as graffen_asn;
+ ipv6 {
+ import limit 10 action block;
+ receive limit 20 action disable;
+ import keep filtered on;
+ import filter { customer_import(graffen_asn, graffen_prefixes_v6); };
+ export filter { customer_export_dfz(); };
+ };
+}