diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index 46ec0dded0..f2baa8a3f7 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -312,6 +312,7 @@ in { bgp_ext_community.add((ro, 205479, 5007)); bgp_ext_community.add((ro, 205479, 5008)); bgp_ext_community.add((ro, 205479, 5009)); # fastly from blade-tuvok + bgp_ext_community.add((ro, 205479, 5010)); # ovh from blade-tuvok bgp_ext_community.add((ro, 205479, 6000)); # EMF: EMF-IX Route Server # do not export to clouvider; they do... strange things. @@ -345,6 +346,7 @@ in { 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, 5009)); # fastly from blade-tuvok + bgp_ext_community.add((ro, 205479, 5010)); # ovh from blade-tuvok bgp_ext_community.add((ro, 205479, 6000)); # EMF: EMF-IX Route Server # do not export to clouvider; they do... strange things. diff --git a/ops/nixos/lib/blade-router.nix b/ops/nixos/lib/blade-router.nix index 93ae3584c7..7e431f9397 100644 --- a/ops/nixos/lib/blade-router.nix +++ b/ops/nixos/lib/blade-router.nix @@ -335,6 +335,25 @@ in prefix_limit.v6 = 250; }; }; + peering.ovh = linx // { + remote = { + asn = 16276; + export_community = 5010; + passive = true; # pending + routers = [{ + enabled = cfg.linx.enable; + v4 = "195.66.224.220"; + v6 = "2001:7f8:4::3f94:1"; + } { + enabled = cfg.linx.enable; + v4 = "195.66.225.6"; + v6 = "2001:7f8:4::3f94:2"; + }]; + }]; + bgp_local_pref = 120; + prefix_limit.v4 = 1000; + prefix_limit.v6 = 200; + }; export.v4 = [ "92.118.28.0/24" ]; export.v6 = [ "2a09:a441::/32" ]; };