nixos/estuary: Add Clue-IX IPv6 peering

Attach `clue-ix` VLAN 121 directly to `wan` with the assigned IPv6
address. Add sessions to both AS218511 route servers using `rs_client`
roles and mandatory GTSM, following the existing IXP policy.

Include the interface in the direct protocol and IXP firewall set,
and document the VLAN and peers. Omit IPv4 peering because no address
was assigned.
This commit is contained in:
2026-11-17 12:47:15 +00:00
parent 4b78cbe841
commit c1242b12ed
4 changed files with 82 additions and 14 deletions
+15 -1
View File
@@ -52,7 +52,7 @@ in
protocol device {}
protocol direct {
interface "wan", "frys-ix", "nl-ix", "fogixp", "ifog-transit";
interface "wan", "clue-ix", "frys-ix", "nl-ix", "fogixp", "ifog-transit";
ipv4;
ipv6;
}
@@ -233,6 +233,20 @@ in
neighbor 2a07:cd40:1::9 as 202413;
}
protocol bgp ixp6_clueix_rs1 from ixp_bgp6 {
description "Clue-IX route server 1 (IPv6)";
local role rs_client;
ttl security on;
neighbor 2001:7f8:154::21:8511:1 as 218511;
}
protocol bgp ixp6_clueix_rs2 from ixp_bgp6 {
description "Clue-IX route server 2 (IPv6)";
local role rs_client;
ttl security on;
neighbor 2001:7f8:154::21:8511:2 as 218511;
}
protocol bgp ixp4_frysix_rs3 from ixp_bgp4 {
description "Frys-IX route server 3 (IPv4)";
neighbor 185.1.160.255 as 56393;
+6 -4
View File
@@ -65,7 +65,7 @@ in
configuration = { lib, pkgs, modulesPath, config, assignments, allAssignments, ... }:
let
inherit (lib) flatten mkIf mkMerge mkForce;
inherit (lib) flatten mkIf mkMerge mkForce optional;
inherit (lib.my) networkdAssignment;
inherit (lib.my.c) networkd;
in
@@ -144,6 +144,7 @@ in
netdevs = mkMerge [
(mkVLAN "ifog" 409)
(mkVLAN "clue-ix" 121)
(mkVLAN "frys-ix" 701)
(mkVLAN "nl-ix" 1845)
@@ -241,7 +242,7 @@ in
mkIXPConfig = name: ipv4: ipv6: {
"85-${name}" = {
matchConfig.Name = name;
address = [ ipv4 ipv6 ];
address = optional (ipv4 != null) ipv4 ++ [ ipv6 ];
linkConfig.MTUBytes = "1500";
networkConfig = {
DHCP = "no";
@@ -254,13 +255,14 @@ in
in
mkMerge
[
(mkIXPConfig "clue-ix" null "2001:7f8:154::21:1024:1/64")
(mkIXPConfig "frys-ix" "185.1.160.196/23" "2001:7f8:10f::3:3850:196/64")
(mkIXPConfig "nl-ix" "193.239.116.145/22" "2001:7f8:13::a521:1024:1/64")
(mkIXPConfig "fogixp" "185.1.147.159/24" "2001:7f8:ca:1::159/64")
{
"80-wan" = {
matchConfig.Name = "wan";
vlan = [ "ifog" ];
vlan = [ "ifog" "clue-ix" ];
DHCP = "no";
address = with assignments.internal; [
(with ipv4; "${address}/${toString mask}")
@@ -451,7 +453,7 @@ in
'';
in
''
define ixps = { frys-ix, nl-ix, fogixp, ifog-transit }
define ixps = { clue-ix, frys-ix, nl-ix, fogixp, ifog-transit }
table inet filter {
chain input {