diff --git a/ops/nixos/cofractal-ams01/default.nix b/ops/nixos/cofractal-ams01/default.nix index 334e0cb8b6..3a83074591 100644 --- a/ops/nixos/cofractal-ams01/default.nix +++ b/ops/nixos/cofractal-ams01/default.nix @@ -146,10 +146,12 @@ routerID = "199.19.152.160"; }; export.v4 = [ ]; + export.v6 = [ "2a09:a446:1337::/48" ]; peering.cofractal = { local = local // { v6 = "2a09:a446:1337:ffff::10"; }; + v4onv6 = true; remote = { asn = 26073; export_community = 6000; diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index c3dab57294..0d6c56b5eb 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -98,6 +98,7 @@ let import all; export ${if ix.remote.is_route_collector then "all" else "filter bgp_export_${ixName}4"}; ${prefixLimitSnippet ix.remote.prefix_limit.v4} + extended next hop; }; ''} ipv6 {