diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index 70838d9d70..d05dfbf883 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -291,6 +291,7 @@ in { bgp_ext_community.add((ro, 205479, 5004)); bgp_ext_community.add((ro, 205479, 5005)); bgp_ext_community.add((ro, 205479, 5006)); + bgp_ext_community.add((ro, 205479, 5007)); # do not export to facebook bgp_ext_community.add((rt, 0, 32934)); @@ -320,6 +321,7 @@ in { bgp_ext_community.add((ro, 205479, 5004)); # freetransitnet 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, 5007)); # google from blade-tuvok # do not export to facebook bgp_ext_community.add((rt, 0, 32934)); diff --git a/ops/nixos/lib/blade-router.nix b/ops/nixos/lib/blade-router.nix index 306effb698..bfacc06729 100644 --- a/ops/nixos/lib/blade-router.nix +++ b/ops/nixos/lib/blade-router.nix @@ -254,6 +254,19 @@ in prefix_limit.v6 = 1000; }; }; + peering.google = linx // { + remote = { + asn = 15169; + export_community = 5007; + routers = [{ + enabled = cfg.linx.enable; + v4 = "195.66.224.125"; + v6 = "2001:7f8:4::3b41:1"; + }]; + prefix_limit.v4 = 15000; + prefix_limit.v6 = 10000; + }; + }; export.v4 = [ "92.118.28.0/24" ]; export.v6 = [ "2a09:a441::/32" ]; };