ops/nixos: add fastly passive peer

This commit is contained in:
Luke Granger-Brown 2022-01-01 02:39:01 +00:00
parent 6cfcd10e06
commit bfd08b08cf
2 changed files with 21 additions and 0 deletions

View file

@ -299,6 +299,7 @@ in {
bgp_ext_community.add((ro, 205479, 5006)); bgp_ext_community.add((ro, 205479, 5006));
bgp_ext_community.add((ro, 205479, 5007)); bgp_ext_community.add((ro, 205479, 5007));
bgp_ext_community.add((ro, 205479, 5008)); bgp_ext_community.add((ro, 205479, 5008));
bgp_ext_community.add((ro, 205479, 5009)); # fastly from blade-tuvok
accept; accept;
}; };
@ -327,6 +328,7 @@ in {
bgp_ext_community.add((ro, 205479, 5006)); # clouvider from blade-tuvok bgp_ext_community.add((ro, 205479, 5006)); # clouvider from blade-tuvok
bgp_ext_community.add((ro, 205479, 5007)); # google from blade-tuvok bgp_ext_community.add((ro, 205479, 5007)); # google from blade-tuvok
bgp_ext_community.add((ro, 205479, 5008)); # cloudflare from blade-tuvok bgp_ext_community.add((ro, 205479, 5008)); # cloudflare from blade-tuvok
bgp_ext_community.add((ro, 205479, 5009)); # fastly from blade-tuvok
accept; accept;
}; };

View file

@ -287,6 +287,25 @@ in
prefix_limit.v6 = 2000; prefix_limit.v6 = 2000;
}; };
}; };
peering.fastly = linx // {
remote = {
asn = 54113;
export_community = 5009;
passive = true; # pending
routers = [{
enabled = cfg.linx.enable;
v4 = "195.66.225.91";
v6 = "2001:7f8:4::d361:1";
} {
enabled = cfg.linx.enable;
v4 = "195.66.227.114";
v6 = "2001:7f8:4::d361:2";
}];
bgp_local_pref = 120;
prefix_limit.v4 = 250;
prefix_limit.v6 = 250;
};
};
export.v4 = [ "92.118.28.0/24" ]; export.v4 = [ "92.118.28.0/24" ];
export.v6 = [ "2a09:a441::/32" ]; export.v6 = [ "2a09:a441::/32" ];
}; };