From 1383b829ad8a45c9284f624876d92ce7fe5ed422 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 20 Dec 2021 08:34:45 +0100 Subject: [PATCH] fix dhcp service --- systems/LoutreOS/configuration.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/systems/LoutreOS/configuration.nix b/systems/LoutreOS/configuration.nix index 90280ff..62e1c55 100644 --- a/systems/LoutreOS/configuration.nix +++ b/systems/LoutreOS/configuration.nix @@ -122,9 +122,7 @@ machines = [ { ethernetAddress = "50:c7:bf:b6:b8:ef"; hostName = "HS110"; ipAddress = "10.30.50.7"; } { ethernetAddress = "ac:1f:6b:4b:01:15"; hostName = "IPMI"; ipAddress = "10.30.1.1"; } - { ethernetAddress = "00:1f:c6:6e:d1:f1"; hostName = "minecraftos"; ipAddress = "10.30.135.35"; } - { ethernetAddress = "b4:2e:99:ed:24:26"; hostName = "paul-fixe"; ipAddress = "10.30.135.71"; } - { ethernetAddress = "20:47:da:fc:19:98"; hostName = "telephone-nyan"; ipAddress = "10.30.50.2"; } + { ethernetAddress = "b4:2e:99:ed:24:26"; hostName = "paul-fixe"; ipAddress = "10.30.50.1"; } #ESPHome { ethernetAddress = "e0:98:06:85:e9:ce"; hostName = "salonled"; ipAddress = "10.30.40.1"; } @@ -141,11 +139,11 @@ option subnet-mask 255.255.0.0; subnet 10.30.0.0 netmask 255.255.0.0 { option routers 10.30.0.1; - range 10.30.50.0 10.30.250.0; + range 10.30.100.0 10.30.200.0; } subnet 10.40.0.0 netmask 255.255.0.0 { option routers 10.40.0.1; - range 10.40.50.0 10.40.250.0; + range 10.40.100.0 10.40.200.0; } ''; };