[Dnsmasq-discuss] [PATCH] DHCPv6: Honor assigning IPv6 address based on MAC address

Harald Jensås hjensas at redhat.com
Thu Nov 21 14:12:00 GMT 2019

Bumping this patch again: 

I see there have been several request to include this on the list:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2019q1/012895.html (and others ...) afaict there has not been any objections to the

We are trying to make Openstack Ironic deploy baremetal servers in a
setup where Openstack Neutron is used. Neutron uses dnsmasq and the MAC
address as identifier to assign IPv6 addresses in a static only setup,
config details at bottom of this mail.

The problem with DUID/IAID changes as the baremetal node is moving
trough the deployment phases UEFI->iPXE->Deploy Ramdisk resulting in
"no address available" has always been a blocker for this to work. (The
issue was discussed on this list a some time ago, 

This patch solves this problem of changing DUID/IAID's.

 Is there a reason not to merge the patch?

/usr/sbin/dnsmasq \
 -k \
 --no-hosts \
 --no-resolv \
52e1ecb11e65/pid \
52e1ecb11e65/host \
52e1ecb11e65/addn_hosts \
52e1ecb11e65/opts \
52e1ecb11e65/leases \
 --dhcp-match=set:ipxe,175 \
 --dhcp-userclass=set:ipxe6,iPXE \
 --local-service \
 --bind-dynamic \
8d46e51717b8,fd12:3456:789a:1::,static,64,86400s \
 --dhcp-option-force=option:mtu,1450 \
 --dhcp-lease-max=16777216 \
 --conf-file= \

$ cat /var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/host

More information about the Dnsmasq-discuss mailing list