From 6c6c6f30b0b1c2c48b0ffc964cf060209e087a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Nov 2023 19:53:32 +0100 Subject: [PATCH] kea: tweak renew,rebind timer to 2.5min/5min, change max-time of c3d2 to 1d --- config/net/c3d2.nix | 4 ++-- config/net/priv.nix | 2 +- config/net/pub.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/net/c3d2.nix b/config/net/c3d2.nix index 4b719d4..a874c85 100644 --- a/config/net/c3d2.nix +++ b/config/net/c3d2.nix @@ -55,8 +55,8 @@ # "www1" = "aa:00:13:8b:03:47"; # "riscbert" = "6c:cf:39:00:05:95"; }; - time = 120; - max-time = 7 * 24 * 3600; + time = 300; + max-time = 24 * 3600; router = "c3d2-gw3"; }; domainName = "c3d2.zentralwerk.org"; diff --git a/config/net/priv.nix b/config/net/priv.nix index 778e540..c1e7a51 100644 --- a/config/net/priv.nix +++ b/config/net/priv.nix @@ -202,7 +202,7 @@ lib.mkMerge ( dhcp = { start = "172.20.73.194"; end = "172.20.73.254"; - max-time = lib.mkForce 2592000; + max-time = lib.mkForce 30 * 24 * 3600; }; }; priv20 = { diff --git a/config/net/pub.nix b/config/net/pub.nix index 66135e5..1a6765f 100644 --- a/config/net/pub.nix +++ b/config/net/pub.nix @@ -5,7 +5,7 @@ end = "172.20.79.253"; router = "pub-gw"; server = "pub-gw"; - time = 120; + time = 300; max-time = 12 * 3600; }; domainName = "pub.zentralwerk.org";