Correct the dhcpd4 config

This commit is contained in:
Andreas Zweili 2023-04-05 23:04:03 +02:00
parent 3d55d681a9
commit 5f0f80d904
1 changed files with 7 additions and 6 deletions

View File

@ -53,12 +53,13 @@ in
enable = true;
interfaces = [ "usb0" ];
extraConfig = ''
option domain-name "nixos";
option domain-name-servers 8.8.8.8, 8.8.4.4;
subnet 10.0.3.0 netmask 255.255.255.0 {
range 10.0.3.100 10.0.3.200;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.3.255;
option domain-name "2li.mobile";
option subnet-mask 255.255.255.0;
option broadcast-address 10.213.0.255;
option domain-name-servers 9.9.9.9, 1.1.1.1;
option routers 10.213.0.1;
subnet 10.213.0.0 netmask 255.255.255.0 {
range 10.213.0.100 10.213.0.200;
}
'';
};