aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod')
-rw-r--r--cluster/prod/cluster.nix6
-rw-r--r--cluster/prod/site/neptune.nix4
-rw-r--r--cluster/prod/ssh_config9
3 files changed, 11 insertions, 8 deletions
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