[Dnsmasq-discuss] [PATCH] DHCPv6 network range is not checked well with dhcp-sequential-ip

Petr Menšík pemensik at redhat.com
Tue Oct 7 17:18:27 UTC 2025


Hello Simon and everyone,

I am sending this patch on behalf of Tomáš Korbař, who worked on debugging the issue and even written a test [1] to verify it works. Test is written in our shell based beakerlib, but I think is readable enough even in basic form.

Currentdhcp-range does not work well in case DHCP client would refuse the 
offered address. When this happens, current dnsmasq does not even stop 
at maximal address specified. This change adds similar check like when 
no dhcp-sequential-ip is used. Tomáš tested it already, but would anyone 
mind testing it also? If there is no regression or need to adjust it, 
would you mind merging it? Thank you in advance! Cheers, Petr
1. https://gitlab.com/redhat/centos-stream/tests/dnsmasq/-/merge_requests/6

-- 
Petr Menšík
Senior Software Engieer, RHEL
Red Hat, https://www.redhat.com/
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-obeying-dhcp-range-if-dhcp-sequential-ip-and-IPV.patch
Type: text/x-patch
Size: 1947 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20251007/9b93d41e/attachment.bin>


More information about the Dnsmasq-discuss mailing list