I have DHCPv4 lease limited to 1d and checked “Follow IPv4 lifetime” and it used to work fine but I see every device is limited to 1 hour and 30 minutes, I am not sure why this is happening to my router.
Recent changes to Odhcpd removed that “follow” option and changed the default maximum lifetimes.
committed 05:29PM - 18 Sep 25 UTC
To address issues with hosts retaining stale IPv6 configuration, this change
imp… lements the Recommended Option Lifetimes Configuration Values from
RFC 9096-Section 4.
The `ra_lifetime` is set to 2700s (45min) by default, and the DHCPv6-PD is now
capped at 2700s for preferred lifetime and 5400s (90min) for valid lifetime.
The following changes are introduced:
- The `ra_useleasetime` option is removed.
- New options `max_preferred_lifetime` and `max_valid_lifetime` are added to
configure the upper limits for prefix lifetimes.
- The Router Advertisement, DNS, and DNR option lifetimes are now dynamically
adjusted based on the advertised prefix lifetimes to ensure consistency.
These changes help to mitigate issues with stale configurations on client
devices, particularly after network renumbering events.
Signed-off-by: Aviana Cruz <gwencroft@proton.me>
3 Likes
This means LUCI does not have any way to change it back to 1d?
LuCI updates are being made, most recently to 24.10, but would require a luci-mod-network package upgrade, or make a fresh 24.10.4 image with the latest packages.
committed 02:52PM - 29 Oct 25 UTC
Notably: openwrt/odhcpd@86c0200 removes:
ra_useleasetime
preferred_lifetime
add… s:
max_preferred_lifetime
max_valid_lifetime
changes:
ra_lifetime default to 2700
Closes #7970
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 62b66a98e63a6b1373ef85d02918ec0522318c10)
1 Like