[Dnsmasq-discuss] dhcpv6 problem with static allocations and "no addresses available"

Neil Jerram Neil.Jerram at metaswitch.com
Thu Oct 22 17:46:41 BST 2015


On 22/10/15 00:06, Carlos Carvalho wrote:
> Simon Kelley (simon at thekelleys.org.uk) wrote on Wed, Oct 21, 2015 at 07:51:32PM BRST:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>>
>>
>> On 20/10/15 22:33, Carlos Carvalho wrote:
>>> I'm stumbling on an important problem that looks like a bug in
>>> dnsmasq. Clients declared statically in a zone are being denied
>>> their address with the message "no addresses available":
>>>
>>> Oct 20 09:56:10 dnsmasq-dhcp[18342]: 6947286 available DHCPv6
>>> subnet: 2801:82:80ff:7f05::/64 Oct 20 09:56:10 dnsmasq-dhcp[18342]:
>>> 6947286 vendor class: 40712 Oct 20 09:56:10 dnsmasq-dhcp[18342]:
>>> 6947286 client MAC address: 10:bf:48:71:65:99 Oct 20 09:56:10
>>> dnsmasq-dhcp[18342]: 6947286 DHCPSOLICIT(meteo)
>>> 00:01:00:01:1d:a8:3f:4a:10:bf:48:71:65:99 Oct 20 09:56:10
>>> dnsmasq-dhcp[18342]: 6947286 DHCPADVERTISE(meteo)
>>> 00:01:00:01:1d:a8:3f:4a:10:bf:48:71:65:99 no addresses available 
>>> Oct 20 09:56:10 dnsmasq-dhcp[18342]: 6947286 tags: known, dhcpv6,
>>> meteo Oct 20 09:56:10 dnsmasq-dhcp[18342]: 6947286 sent size: 14
>>> option:  1 client-id  00:01:00:01:1d:a8:3f:4a:10:bf:48:71:65:99 Oct
>>> 20 09:56:10 dnsmasq-dhcp[18342]: 6947286 sent size: 10 option:  2
>>> server-id  00:03:00:01:00:24:8c:0c:37:90 Oct 20 09:56:10
>>> dnsmasq-dhcp[18342]: 6947286 sent size: 24 option: 13 status  2 no
>>> addresses available
>>>
>>> Note that the client is recognized because the known tag is set.
>>> The dhcp config is the following:
>>>
>>> interface=meteo dhcp-range=::,constructor:meteo,static,infinite 
>>> enable-ra dhcp-range=192.168.5.1,static

Could it be because even static allocations still require a matching IP
range to be configured?

Regards,
    Neil




More information about the Dnsmasq-discuss mailing list