frantech-nyc01: no more bgp

This commit is contained in:
Luke Granger-Brown 2022-04-07 04:13:33 +01:00
parent 55b6bd2a19
commit b238831963

View file

@ -9,7 +9,6 @@ let
in { in {
imports = [ imports = [
../lib/frantech.nix ../lib/frantech.nix
../lib/bgp.nix
]; ];
networking = { networking = {
@ -25,37 +24,5 @@ in {
}; };
my.ip.tailscale = "100.99.236.25"; my.ip.tailscale = "100.99.236.25";
services.lukegbgp = let local = {
asn = 205479;
}; in {
enable = true;
config = {
local = {
routerID = "199.195.254.60";
};
export = {
#v4 = ["92.118.29.0/24"];
};
peering = {
frantech = {
local = local // {
v4 = "199.195.254.60";
v6 = "2605:6400:10:c77::1";
};
remote = {
asn = 53667;
export_community = 4000;
routers = [{
v4 = "169.254.169.179";
v6 = "2605:6400:ffff::2";
multihop = 2;
password = machineSecrets.bgpPassword;
}];
};
};
};
};
};
system.stateVersion = "21.05"; system.stateVersion = "21.05";
} }