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

James Chew james05 at gmail.com
Thu Jun 13 18:30:04 BST 2013


Thanks Simon! Your suggestion worked like a charm!


On Thu, Jun 13, 2013 at 4:12 PM, Simon Kelley <simon at thekelleys.org.uk>wrote:

> 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 :)
>
> Cheers,
>
> Simon.
>
>
> ______________________________**_________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.**thekelleys.org.uk<Dnsmasq-discuss at lists.thekelleys.org.uk>
> http://lists.thekelleys.org.**uk/mailman/listinfo/dnsmasq-**discuss<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130614/8280e9cf/attachment.html>


More information about the Dnsmasq-discuss mailing list