<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Yes, one of my interfaces is fd01::1/64.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I just got it working actually. In my case I have a test lab setup with a couple networks. The first is a smaller /24 with no ipv6 that is generally accessible in my company. The second is a /16 using the 198.18/15 address space for testing with the fd01::/64 ipv6 addressing. Originally I had two dnsmasq configurations to provide DNS/DHCP (1 per network). When I switched over to a single configuration with all the dhcp-option, dhcp-range configurations including the network interface they should be applicable to, things just started working. I am not sure why it helped but either way I would rather have a single configuration anyways.</div> <br> <div id="bloop_sign_1516727973097498880" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Matthew Keeler<br></div></div><p class="airmail_on">On January 23, 2018 at 12:18:47, Erik Nordmark (<a href="mailto:nordmark@sonic.net">nordmark@sonic.net</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>On 01/22/2018 02:27 AM, Andy Hawkins wrote:
<br>> Hi,
<br>> In article <<a href="mailto:8534ac3c-30d0-095a-8bde-179bdbe8f988@thekelleys.org.uk">8534ac3c-30d0-095a-8bde-179bdbe8f988@thekelleys.org.uk</a>>,
<br>> Simon Kelley<<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</a>> wrote:
<br>>> Do you have an interface configured with an address in fd01::/64 ?
<br>>
<br>> Is this a requirement? radvd is able to send advertisements out on an
<br>> interface that has no IPv6 address configured (indeed, I have been using
<br>> this facility to automatically configure the interface that router
<br>> advertisements are being sent on).
<br>>
<br>> Would be nice to be able to do the same with dnsmasq without having to
<br>> manually configure the IPv6 address of the interface.
<br>
<br>Andy,
<br>
<br>I've run into this limitation as well, due to using the "no on-link
<br>prefixes" option in neighbor discovery (meaning that I use dhcpv6 for
<br>address assignment, and radvd doesn't advertise any onlink prefix).
<br>
<br>This means I don't have a /64 prefix configured on any interface which
<br>matches the range from which dnsmasq assigns IPv6 addresses.
<br>
<br>My workaround is to remove the /64 check from dnsmasq (see below). I've
<br>been meaning to discuss this on the list.
<br>
<br> Erik
<br>
<br>
<br>diff -r -u ../dnsmasq-orig/dnsmasq-2.75/src/option.c src/option.c
<br>--- ../dnsmasq-orig/dnsmasq-2.75/src/option.c 2015-07-30
<br>12:59:07.000000000 -0
<br>700
<br>+++ src/option.c 2017-06-13 15:14:58.109166818 -0700
<br>@@ -2734,9 +2734,6 @@
<br> ret_err(_("prefix length must be exactly 64 for subnet constru
<br>ctors"));
<br> }
<br>
<br>- if (new->prefix < 64)
<br>- ret_err(_("prefix length must be at least 64"));
<br>-
<br> if (!is_same_net6(&new->start6, &new->end6, new->prefix))
<br> ret_err(_("inconsistent DHCPv6 range"));
<br>
<br>
<br>_______________________________________________
<br>Dnsmasq-discuss mailing list
<br><a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<br><a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<br></div></div></span></blockquote></body></html>