Page 1 of 1

WTDHCP lease duration

Posted: Tue Jan 14, 2025 6:46 pm
by escort
I can't find the parameter specifying the lease duration on the WTDHCP service.
Currently my DHCP leases are never released as if there is no duration, which is very annoying.
As a result, the IPs are never freed and there comes a time when there are no more free IP addresses

Re: WTDHCP lease duration

Posted: Wed Jan 15, 2025 11:13 am
by akatik
I think, change IP after long vacation is more annoying, if redirected printer was bound to this IP.

WTDHCP should take used IP with the longest inactivity time it it found no free IP. What is the problem?

Re: WTDHCP lease duration

Posted: Wed Jan 15, 2025 6:40 pm
by escort
I always have to free unused IP manually.
I can see OPTION_DHCP_LEASE_TIME with value -1 in log.
Can I modify it (what config file) and is the value in ms ?

Re: WTDHCP lease duration

Posted: Thu Jan 16, 2025 8:07 am
by akatik
escort wrote: Wed Jan 15, 2025 6:40 pm I always have to free unused IP manually.
Why?

If new device can not obtain IP, please show me DHCP service log. After problem and before you delete IP manually. Wtcenter > Button with wrench in top left corner - Open DHCP Service screen - reboot client and reproduce problem with no IP - Save log.
escort wrote: Wed Jan 15, 2025 6:40 pm I can see OPTION_DHCP_LEASE_TIME with value -1 in log.
DHCP tells client: "don't wory about lease time, it's your IP forever". Client is happy.
escort wrote: Wed Jan 15, 2025 6:40 pm Can I modify it (what config file) and is the value in ms ?
Not implemented now. Please show me the problem log so I can fix it.