net186-config/bird/net186_anycast.conf
186526 2357a7bf42
All checks were successful
continuous-integration/drone/push Build is passing
update
2024-12-19 00:33:54 +08:00

15 lines
443 B
Plaintext

define ANYCAST_POPS = [ 104, 201, 202, 221, 241, 401, 411, 501, 223, 222 ];
protocol static default_anycast {
ipv6;
route 2a06:a005:2980::/44 reject {
bgp_large_community.add((200536, 0, 665));
if (POP !~ ANYCAST_POPS) then {
bgp_large_community.add((200536, 1, 0));
}
if (POP ~ [ 221, 104, 402, 202, 101 ]) then {
bgp_large_community.add((200536, 115, 1));
}
};
};