[Dnsmasq-discuss] Need help regarding: no address range available for DHCPv6

Simon Kelley simon at thekelleys.org.uk
Thu Jun 13 09:12:15 BST 2013

On 12/06/13 20:03, James Chew wrote:
> Hi,
> I'm having some problems enabling DHCPv6 on DNSmasq and I hope someone here
> can help me.
> My ISP has allocated me a LAN address in the /48 prefix range.
> Specifically: 2001:d98:600e::/48. I have thus set eth1 (LAN side adapter)
> to 2001:d98:600e::1 (with prefixlen 48).
> In dnsmasq.conf I entered the following options:
> dhcp-range=2001:d98:600e::2, 2001:d98:600e::500, 64, 12h
> enable-ra
> The following error appears in the log file: "no address range available
> for DHCPv6 request via eth1".
> And all my computers are not able to receive a DHCPv6 address.
> If I assign the IPv6 address statically, my computers are able to access
> the internet via IPv6.
> I hope someone can help me with this problem.

The proximate problem is that the prefix length set on the interface 
(48) doesn't match the prefix length in the dhcp-range (64).

You'll find that dnsmasq won't let you reduce the prefix length below 
64, so the solution is to to set the prefix length on eth1 to 64. This 
is the normal prefix length for a  network segment. Finding a use for 
the other 2^16 - 1 /64 networks you have is a challenge for another day :)



More information about the Dnsmasq-discuss mailing list