[Dnsmasq-discuss] dhcp-lease-max is only for DHCPv4?

Simon Kelley simon at thekelleys.org.uk
Mon May 22 23:05:08 UTC 2023


There's a possible difference between the number of clients and the 
number of DHCP leases, since leases can expire to be deleted by the client.

Are you saying that the number of simultaneous DHCP leases increases 
without bound, or that the 513th client gets a lease? Have you checked 
the number of leases in the dnsmasq.leases file?


Simon.

On 22/05/2023 12:18, Linyih Teng wrote:
> Hello,
> 
> I'm using dnsmasq2.89 and testing the maximum lease count of the DHCPv6 
> server with the *dhcp-lease-max* option.
> 
> For the testing, I'm using below configuration:
> 
>     *dhcp-lease-max* = 512
>     *dhcp-range*=tag:pool0,2022::1,2022::1f:ffff:ffff:fffe,64,120m
>     tag-if=set:pool0,tag:intfv0
> 
> 
> However, when the number of clients reaches the maximum number, the 
> server still provides IPs to clients. Is this the expected behavior of 
> DHCPv6?
> 
> 
> Best Regards,
> Lin
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss



More information about the Dnsmasq-discuss mailing list