1
0
Fork 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
1 changed files with 22 additions and 2 deletions

View File

@ -98,7 +98,7 @@
AdvSendAdvert on;
prefix 2001:4cd8:100:1313::/64 {};
route ::/0 {};
RDNSS 2620:fe::fe {}; # Quad 9
RDNSS 2620:fe::fe 2620:fe::9 {}; # Quad 9
};
'';
@ -106,7 +106,7 @@
enable = true;
settings = {
interfaces-config = {
interfaces = [ "enp1s0.201" "enp1s0.204" ];
interfaces = [ "enp1s0.201" "enp1s0.202" "enp1s0.204" ];
};
lease-database = {
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
{
id = 204;