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

Geert Stappers stappers at stappers.nl
Sun Nov 24 09:35:46 GMT 2019


On Thu, Nov 21, 2019 at 03:12:00PM +0100, Harald Jensås wrote:
> Bumping this patch again: 
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2018q4/012707.html
> 
> 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 patch.
> 
> 
> 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, 
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2017q1/thread.html#11267
> )
> 
> This patch solves this problem of changing DUID/IAID's.
> 
>  Is there a reason not to merge the patch?

A better question would be:

  What is needed to get this, reported as working, patch merged?


> 
> 
> 
> /usr/sbin/dnsmasq \
>  -k \
>  --no-hosts \
>  --no-resolv \
>  --pid-file=/var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/pid \
>  --dhcp-hostsfile=/var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/host \
>  --addn-hosts=/var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/addn_hosts \
>  --dhcp-optsfile=/var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/opts \
>  --dhcp-leasefile=/var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/leases \
>  --dhcp-match=set:ipxe,175 \
>  --dhcp-userclass=set:ipxe6,iPXE \
>  --local-service \
>  --bind-dynamic \
>  --dhcp-range=set:subnet-2b009f45-e0e2-4888-bb19-8d46e51717b8,fd12:3456:789a:1::,static,64,86400s \
>  --dhcp-option-force=option:mtu,1450 \
>  --dhcp-lease-max=16777216 \
>  --conf-file= \
>  --domain=localdomain
> 
> $ cat /var/lib/neutron/dhcp/6c9c3845-a101-47fa-a491-52e1ecb11e65/host
> fa:16:3e:8b:07:9f,host-fd12-3456-789a-1--4.localdomain,[fd12:3456:789a:1::4]
> fa:16:3e:9f:b7:e3,host-fd12-3456-789a-1--ed.localdomain,[fd12:3456:789a:1::ed]
> 
> 

Groeten
Geert Stappers
-- 
Leven en laten leven



More information about the Dnsmasq-discuss mailing list