From 3935e055df15583bd313cf836c09e83b76274815 Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 16 Dec 2020 11:17:11 +0100 Subject: [PATCH] No anycast subnet needed, use only single IPs --- hosts/nonat/configuration.nix | 4 ++-- hosts/porter/configuration.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/nonat/configuration.nix b/hosts/nonat/configuration.nix index 03515cf..2cbcd54 100644 --- a/hosts/nonat/configuration.nix +++ b/hosts/nonat/configuration.nix @@ -19,11 +19,11 @@ # Local Router IPs networking.interfaces.lo.ipv6.addresses = [ { address = "fd00:152:152:103::1"; prefixLength = 64; } - { address = "fd00:152:152::1"; prefixLength = 64; } # Anycast + { address = "fd00:152:152::1"; prefixLength = 128; } # Anycast ]; networking.interfaces.lo.ipv4.addresses = [ { address = "10.152.103.1"; prefixLength = 24; } - { address = "10.152.0.1"; prefixLength = 24; } # Anycast + { address = "10.152.0.1"; prefixLength = 32; } # Anycast ]; # Network networking.interfaces.ens18.ipv4.addresses = [ diff --git a/hosts/porter/configuration.nix b/hosts/porter/configuration.nix index 2ea2c21..9681245 100644 --- a/hosts/porter/configuration.nix +++ b/hosts/porter/configuration.nix @@ -18,11 +18,11 @@ # Local Router IPs networking.interfaces.lo.ipv6.addresses = [ { address = "fd00:152:152:102::1"; prefixLength = 64; } - { address = "fd00:152:152::1"; prefixLength = 64; } # Anycast + { address = "fd00:152:152::1"; prefixLength = 128; } # Anycast ]; networking.interfaces.lo.ipv4.addresses = [ { address = "10.152.102.1"; prefixLength = 24; } - { address = "10.152.0.1"; prefixLength = 24; } # Anycast + { address = "10.152.0.1"; prefixLength = 32; } # Anycast ]; # Network networking.interfaces.ens3.ipv4.addresses = [ { address = "188.34.158.206"; prefixLength = 32; } ];