1
0

Move DHCP server for gastnetz to carbon too

This commit is contained in:
clerie 2022-04-03 13:39:11 +02:00
parent f93c4a0d11
commit 791c1a8d90

View File

@ -98,7 +98,7 @@
AdvSendAdvert on; AdvSendAdvert on;
prefix 2001:4cd8:100:1313::/64 {}; prefix 2001:4cd8:100:1313::/64 {};
route ::/0 {}; route ::/0 {};
RDNSS 2620:fe::fe {}; # Quad 9 RDNSS 2620:fe::fe 2620:fe::9 {}; # Quad 9
}; };
''; '';
@ -106,7 +106,7 @@
enable = true; enable = true;
settings = { settings = {
interfaces-config = { interfaces-config = {
interfaces = [ "enp1s0.201" "enp1s0.204" ]; interfaces = [ "enp1s0.201" "enp1s0.202" "enp1s0.204" ];
}; };
lease-database = { lease-database = {
name = "/var/lib/kea/dhcp4.leases"; name = "/var/lib/kea/dhcp4.leases";
@ -177,6 +177,26 @@
} }
]; ];
} }
# Gastnetz
{
id = 202;
subnet = "192.168.32.0/24";
pools = [
{
pool = "192.168.32.100 - 192.168.32.240";
}
];
option-data = [
{
name = "routers";
data = "192.168.32.1";
}
{
name = "domain-name-servers";
data = "9.9.9.9,149.112.112.112"; # Quad 9
}
];
}
# VoIP # VoIP
{ {
id = 204; id = 204;