From 83dd3ea25ac7ded159105e2501b438dac4e01e22 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 8 May 2022 14:42:18 +0200 Subject: Update network configuration --- cluster/prod/cluster.nix | 6 +++--- cluster/prod/site/neptune.nix | 4 ++-- cluster/prod/ssh_config | 9 ++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) (limited to 'cluster/prod') diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix index ece401e..1bf4a7b 100644 --- a/cluster/prod/cluster.nix +++ b/cluster/prod/cluster.nix @@ -5,9 +5,9 @@ # Bootstrap nodes for Wesher overlay network services.wesher.join = [ - "2a01:e0a:c:a720::31" # concombre - "2a01:e0a:c:a720::32" # courgette - "2a01:e0a:c:a720::33" # celeri + "192.168.1.31" # concombre + "192.168.1.32" # courgette + "192.168.1.33" # celeri ]; # The IP range to use for the Wesher overlay of this cluster diff --git a/cluster/prod/site/neptune.nix b/cluster/prod/site/neptune.nix index 6e69b18..3770c2f 100644 --- a/cluster/prod/site/neptune.nix +++ b/cluster/prod/site/neptune.nix @@ -2,11 +2,11 @@ { deuxfleurs.site_name = "neptune"; - deuxfleurs.lan_default_gateway = "192.168.1.254"; + deuxfleurs.lan_default_gateway = "192.168.1.1"; deuxfleurs.lan_ip_prefix_length = 24; deuxfleurs.ipv6_prefix_length = 64; - networking.nameservers = [ "192.168.1.254" ]; + networking.nameservers = [ "192.168.1.1" ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; } diff --git a/cluster/prod/ssh_config b/cluster/prod/ssh_config index cb4841f..d05e5c6 100644 --- a/cluster/prod/ssh_config +++ b/cluster/prod/ssh_config @@ -1,10 +1,13 @@ UserKnownHostsFile ./ssh_known_hosts Host concombre - HostName 2a01:e0a:c:a720::31 + #HostName 2a01:e0a:c:a720::31 + HostName 192.168.1.31 Host courgette - HostName 2a01:e0a:c:a720::32 + #HostName 2a01:e0a:c:a720::32 + HostName 192.168.1.32 Host celeri - HostName 2a01:e0a:c:a720::33 + #HostName 2a01:e0a:c:a720::33 + HostName 192.168.1.33 -- cgit v1.2.3