openwrt/odhcpd

No DHCPv6 lease neither IPv6-PD if leasetime < 12h

vevere opened this issue · 2 comments

Hi,

If you reduce (with Lucy or on the /etc/config DHCP file) the lease time to anythin < 12h odhcpd don't affect any lease to any client (and no more IPv6-PD to any downstream router)

  • tested on many routers (QCA, Rampis, X86_64) with OpenWRT > 20.x (21.02.0-rc* or any 21.* snapshot)
  • reproductible :
    • yes, with any fresh install
    • no need to connect the WAN side
    • public scope not even needed, LUA is enough to reproduce
    • Under NetWork / Interface / LAN / DHCP Server set the Lease time to anything lower than 10h
    • on any LAN host : do an IP release/renew => you loose the GUA address
    • on any downstream OpenWRT router : restart the WAN interface => no more IPv6-PD on the WAN iface

Lease = 12h
lease 12h

Lease = 1h
lease 1h

Sorry for the typo:

  • Under NetWork / Interface / LAN / DHCP Server set the Lease time to anything lower than 12h
    instead of
  • Under NetWork / Interface / LAN / DHCP Server set the Lease time to anything lower than 10h