fix dhcp service

This commit is contained in:
nyanloutre 2021-12-20 08:34:45 +01:00
parent 51404a9f90
commit 1383b829ad
1 changed files with 3 additions and 5 deletions

View File

@ -122,9 +122,7 @@
machines = [ machines = [
{ ethernetAddress = "50:c7:bf:b6:b8:ef"; hostName = "HS110"; ipAddress = "10.30.50.7"; } { 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 = "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.50.1"; }
{ 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"; }
#ESPHome #ESPHome
{ ethernetAddress = "e0:98:06:85:e9:ce"; hostName = "salonled"; ipAddress = "10.30.40.1"; } { 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; option subnet-mask 255.255.0.0;
subnet 10.30.0.0 netmask 255.255.0.0 { subnet 10.30.0.0 netmask 255.255.0.0 {
option routers 10.30.0.1; 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 { subnet 10.40.0.0 netmask 255.255.0.0 {
option routers 10.40.0.1; option routers 10.40.0.1;
range 10.40.50.0 10.40.250.0; range 10.40.100.0 10.40.200.0;
} }
''; '';
}; };