[Dnsmasq-discuss] [PATCH] Offer alternative DHCPv6 address if requested is taken

Petr Menšík pemensik at redhat.com
Fri Oct 21 10:25:48 UTC 2022


Hi,

I am attaching a change, which has been part of RHEL/CentOS Stream 9 for 
some while [1]. It fixes the problem with DHCPv6 only requests, which on 
some situations fail to provide an address. This change is older than 
related change, which attempted to solve similar issue on IPv4 too. It 
works by offering a different (free) IPv6 address to client, than he 
originally asked for. It is a simple change, but tested clients worked 
with it. Accompanied by related change to add client-arch tag support 
also for DHCPv6 [2]. It were created to solve rh bug #2002871 [3], of 
which most of communication is unfortunately RH internal only. Parent 
bug [4] has a bit more background visible to public. But no regressions 
were reported after this change and it has improved a situation in 
openstack. I haven't found my attempt to offer it here, but maybe I just 
failed my search. If it were refused already, kindly point me to correct 
thread. It improves iPXE booting of multiple machines on the same host 
concurrently.

Cheers,
Petr

1. 
https://gitlab.com/redhat/centos-stream/rpms/dnsmasq/-/blob/c9s/dnsmasq-2.86-alternative-lease.patch
2. 
https://gitlab.com/redhat/centos-stream/rpms/dnsmasq/-/blob/c9s/dnsmasq-2.86-dhcpv6-client-arch.patch
3. https://bugzilla.redhat.com/show_bug.cgi?id=2002871
4. https://bugzilla.redhat.com/show_bug.cgi?id=1998448

-- 
Petr Menšík
Software Engineer, RHEL
Red Hat, http://www.redhat.com/
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-support-for-option6-names-of-RFC-5970.patch
Type: text/x-patch
Size: 937 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20221021/27651333/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Offer-alternative-DHCPv6-address-if-requested-is-tak.patch
Type: text/x-patch
Size: 3846 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20221021/27651333/attachment-0001.bin>


More information about the Dnsmasq-discuss mailing list