[Dnsmasq-discuss] lease time affects ipv6 prefix life time

Geert Stappers stappers at stappers.nl
Thu May 21 14:16:49 BST 2020


On Mon, May 04, 2020 at 03:51:58PM +0200, Olaf Hering wrote:
> I have this in dnsmas.conf to advertise the current ipv6 prefix:
> 
> dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time}
> enable-ra
> 
> If the prefix gets changed, dnsmasq starts to announce the new prefix,
> but it keeps announcing the old one (as deprecated) as well for a while.
> 
> I wonder why the value of ${lease_time} is not used verbatim?

I don't understand that question.


> It is forced to be at least 120, which might be fine for real DHCP. In
> practice this means a stale and unusable prefix is announced as "valid
> = 120, preferred = 0" for about two minutes. It seems clients can
> cope with it. Still, I would like to zap the old prefix "instantly"
> with lease_time=1.
> 
> Olaf




Regards
Geert Stappers
In an attempt to get some attention to a good?? question.
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list