fix: fix ipoib address range

This commit is contained in:
2025-10-08 20:03:27 +02:00
parent f51f30004e
commit b76f5e309a
5 changed files with 27 additions and 105 deletions

View File

@@ -30,6 +30,15 @@ let
# ];
};
services.resolved = {
enable = true;
dnssec = "false";
fallbackDns = [
"1.1.1.1"
"1.0.0.1"
];
};
console = {
font = "Lat2-Terminus16";
keyMap = "us";
@@ -94,7 +103,7 @@ let
};
cachix.enable = false;
monitoring.nodeExporter.enable = false;
mft.enable = false; # Mellanox MFT
mft.enable = true; # Mellanox MFT
};
networking = {
@@ -106,7 +115,7 @@ let
extraHosts = import ./hosts.nix;
firewall.extraCommands = ''
iptables -I INPUT -s 172.16.239.0/24 -j ACCEPT
iptables -I INPUT -s 10.1.6.0/24 -j ACCEPT
iptables -I INPUT -s 10.16.239.0/24 -j ACCEPT
iptables -I INPUT -s 100.64.0.0/24 -j ACCEPT
'';
};
@@ -244,13 +253,13 @@ let
programs.ssh.knownHosts = {
rossby-manage = {
hostNames = [
"manage" "manage.cluster.local" "rossby-manage.oceanbox.io" "172.16.239.221" "10.1.6.221"
"manage" "manage.cluster.local" "rossby-manage.oceanbox.io" "172.16.239.221" "10.16.239.221"
];
publicKeyFile = ./manage/ssh_host_key.pub;
};
rossby-login = {
hostNames = [
"rossby" "rossby-login" "rossby-login.cluster.local" "rossby.cluster.local" "rossby.oceanbox.io" "172.16.239.222" "10.1.6.222"
"rossby" "rossby-login" "rossby-login.cluster.local" "rossby.cluster.local" "rossby.oceanbox.io" "172.16.239.222" "10.16.239.222"
];
publicKeyFile = ./login/ssh_host_key.pub;
};
@@ -268,7 +277,7 @@ let
"${x.name}"
"${x.name}.cluster.local"
"172.16.239.${n}"
"10.1.6.${n}"
"10.16.239.${n}"
];
publicKeyFile = x.pubkey;
};