<div dir="ltr">Thanks Simon! Your suggestion worked like a charm!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 4:12 PM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 12/06/13 20:03, James Chew wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm having some problems enabling DHCPv6 on DNSmasq and I hope someone here<br>
can help me.<br>
<br>
My ISP has allocated me a LAN address in the /48 prefix range.<br>
Specifically: 2001:d98:600e::/48. I have thus set eth1 (LAN side adapter)<br>
to 2001:d98:600e::1 (with prefixlen 48).<br>
<br>
In dnsmasq.conf I entered the following options:<br>
dhcp-range=2001:d98:600e::2, 2001:d98:600e::500, 64, 12h<br>
enable-ra<br>
<br>
The following error appears in the log file: "no address range available<br>
for DHCPv6 request via eth1".<br>
And all my computers are not able to receive a DHCPv6 address.<br>
<br>
If I assign the IPv6 address statically, my computers are able to access<br>
the internet via IPv6.<br>
<br>
I hope someone can help me with this problem.<br>
<br>
</blockquote>
<br></div></div>
The proximate problem is that the prefix length set on the interface (48) doesn't match the prefix length in the dhcp-range (64).<br>
<br>
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 :)<br>


<br>
Cheers,<br>
<br>
Simon.<br>
<br>
<br>
______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
</blockquote></div><br></div>