forked from hswaw/hscloud
bgpwtf: add q3k's anycast subnet
Change-Id: I66d449c94b27b741e71da047bb1901b8fba6eb80
This commit is contained in:
parent
092dbfd53f
commit
520f150134
1 changed files with 14 additions and 1 deletions
|
@ -172,7 +172,7 @@ in rec {
|
|||
'';
|
||||
hscloud.routing.originate = {
|
||||
# WAW prefixes, exposed into internet BGP table.
|
||||
v4.waw = { table = "internet"; address = "185.236.240.0"; prefixLength = 23; };
|
||||
v4.waw = { table = "internet"; address = "185.236.240.0"; prefixLength = 24; };
|
||||
v6.waw = { table = "internet"; address = "2a0d:eb00::"; prefixLength = 32; };
|
||||
|
||||
# Default gateway via us, exposed into aggregated table.
|
||||
|
@ -325,6 +325,19 @@ in rec {
|
|||
reject;
|
||||
'';
|
||||
};
|
||||
"waw_q3k" = {
|
||||
description = "AGGREGATE CUSTOMER q3k";
|
||||
table = "internet";
|
||||
local = "185.236.240.64";
|
||||
asn = 204880;
|
||||
neighbors = [
|
||||
{ address = "185.236.240.65"; asn = 208521; }
|
||||
];
|
||||
filterIn = ''
|
||||
if net ~ [ 185.236.241.0/24 ] then accept;
|
||||
reject;
|
||||
'';
|
||||
};
|
||||
# backup LTE link to edge01.fra
|
||||
"fra_edge01" = {
|
||||
description = "IBGP edge01.fra";
|
||||
|
|
Loading…
Reference in a new issue