[Dnsmasq-discuss] Need help configuring dhcp stateful IPv6

Andre Coetzee andre_4you at yahoo.co.uk
Fri May 18 09:59:10 BST 2012


Hello
I've installed dnsmasq 2.61 on an x86 computer on my LAN. DNS is working fine for A, AAAA, CNAME and PTR records. DHCP for IPv4 is also working.
I have recently began to dabble with IPv6 on my LAN and since I do not yet have a provider for IPv6, I have decided to use RFC 4193 Unique Local (fdxx:) addresses for my LAN. Since I only have a few machines,
 I chose a subnet prefix of /123 and using static IPv6 configuration I was able to ping6 other machines on the same subnet (even by their names), as well as from one subnet to another, even using a sit
 tunnel.
When I set my dhcp-range option in dnsmasq.conf with a prefix-length of 123, I get an "inconsistent DHCPv6 range" error. setting this value to 125 or greater seems to work, also setting it to 120 or less seems to be acceptable to dnsmasq. Checking out my range with an ip calculator didn't reveal any errors (my dynamic ip range is within the same 5-bit subnet).
These are the pertinent bits of my current conf file:dhcp-range=interface:eth0, fdxx:xxxx:xxxx::10, fdxx:xxxx:xxxx::1f, 120, 4henable-ralog-dhcpdhcp-sequential-ip
When I enable networking on a client machine (linux), I see "RTR-SOLICIT(eth0)" messages in the logs, but no responses or advertisements coming from the dnsmasq machine.
I have enabled IPv6 forwarding:# cat /proc/sys/net/ipv6/conf/all/forwarding 1
Please can someone indicate what else I need to check? (I tried using a /64 prefix also, but the results were the same).
ThanksAndre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120518/d6687ba3/attachment.html>


More information about the Dnsmasq-discuss mailing list