ops/nixos: add bgp.tools route collector

This commit is contained in:
Luke Granger-Brown 2022-04-30 16:48:01 +01:00
parent 04e013b237
commit d21b733794
2 changed files with 39 additions and 0 deletions

View file

@ -214,6 +214,24 @@ in {
}]; }];
}; };
}; };
bgptoolscollector = {
local = local // {
v4 = "83.97.19.68";
v6 = "2a07:242:800:64::68";
};
remote = {
asn = 212232;
export_community = 5000;
is_route_collector = true;
routers = [{
v4 = "185.230.223.39";
v6 = "2a0c:2f07:9459::b3";
multihop = 64;
}];
prefix_limit.v4 = 0;
prefix_limit.v6 = 0;
};
};
}; };
}; };
}; };

View file

@ -149,6 +149,26 @@ in
}]; }];
}; };
}; };
peering.bgptoolscollector = {
local = {
asn = 205479;
v4 = config.my.blade-router.addresses.linknet.v4.local;
v6 = config.my.blade-router.addresses.linknet.v6.local;
};
remote = {
asn = 212232;
export_community = 5000;
routers = [{
enabled = cfg.linx.enable;
v4 = "185.230.223.42";
v6 = "2a0c:2f07:9459::b1";
multihop = 64;
}];
prefix_limit.v4 = 0;
prefix_limit.v6 = 0;
is_route_collector = true;
};
};
peering.linxcollector = linx // { peering.linxcollector = linx // {
remote = { remote = {
asn = 5459; asn = 5459;
@ -160,6 +180,7 @@ in
}]; }];
prefix_limit.v4 = 0; prefix_limit.v4 = 0;
prefix_limit.v6 = 0; prefix_limit.v6 = 0;
is_route_collector = true;
}; };
}; };
peering.linx = linx // { peering.linx = linx // {