Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

space_server: bird: added as203105 to bird config #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions roles/space_server/files/bird.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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(); };
};
}