nixos/home/routing-common: Add DHCP pool for untrusted LAN

This commit is contained in:
2026-03-03 20:15:45 +00:00
parent c9c788e261
commit 4ec59a64ce

View File

@@ -165,6 +165,28 @@ in
} }
]; ];
} }
{
id = 3;
subnet = prefixes.untrusted.v4;
interface = "lan-untrusted";
option-data = [
{
name = "routers";
data = vips.untrusted.v4;
}
{
name = "domain-name-servers";
data = "1.1.1.1, 1.0.0.1";
}
];
pools = [
{
pool = if index == 0
then "192.168.80.10 - 192.168.80.127"
else "192.168.80.128 - 192.168.80.250";
}
];
}
]; ];
ddns-send-updates = true; ddns-send-updates = true;
ddns-replace-client-name = "when-not-present"; ddns-replace-client-name = "when-not-present";