blade-router: add cloudflare
This commit is contained in:
parent
3ba0ab045c
commit
dbf906a9a7
2 changed files with 15 additions and 6 deletions
|
@ -292,9 +292,7 @@ in {
|
||||||
bgp_ext_community.add((ro, 205479, 5005));
|
bgp_ext_community.add((ro, 205479, 5005));
|
||||||
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));
|
||||||
# do not export to facebook
|
|
||||||
bgp_ext_community.add((rt, 0, 32934));
|
|
||||||
|
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
|
@ -322,9 +320,7 @@ in {
|
||||||
bgp_ext_community.add((ro, 205479, 5005)); # he from blade-tuvok
|
bgp_ext_community.add((ro, 205479, 5005)); # he from blade-tuvok
|
||||||
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
|
||||||
# do not export to facebook
|
|
||||||
bgp_ext_community.add((rt, 0, 32934));
|
|
||||||
|
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
|
|
|
@ -265,6 +265,19 @@ in
|
||||||
prefix_limit.v6 = 10000;
|
prefix_limit.v6 = 10000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
peering.cloudflare = linx // {
|
||||||
|
remote = {
|
||||||
|
asn = 13337;
|
||||||
|
export_community = 5008;
|
||||||
|
routers = [{
|
||||||
|
enabled = cfg.linx.enable;
|
||||||
|
v4 = "195.66.225.179";
|
||||||
|
v6 = "2001:7f8:4::3417:1";
|
||||||
|
}];
|
||||||
|
prefix_limit.v4 = 20000;
|
||||||
|
prefix_limit.v6 = 2000;
|
||||||
|
};
|
||||||
|
};
|
||||||
export.v4 = [ "92.118.28.0/24" ];
|
export.v4 = [ "92.118.28.0/24" ];
|
||||||
export.v6 = [ "2a09:a441::/32" ];
|
export.v6 = [ "2a09:a441::/32" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue