<div dir="auto"><div>Thanks for the suggestion. That does work, although it's a bit messy to have to advertise a prefix you don't want the clients to use.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Christopher Martin</div><div dir="auto"><br>
<br>
On Sun, Oct 28, 2018 at 7:41 AM Simon Kelley <<a href="mailto:simon@thekelleys.org.uk" target="_blank" rel="noreferrer">simon@thekelleys.org.uk</a>> wrote:<br>
><br>
> Can you also add a dhcp-range for the ULA range, which deprecates it?<br>
><br>
> Cheers,<br>
><br>
> Simon.<br>
><br>
><br>
> On 27/10/2018 18:17, Christopher Martin wrote:<br>
> > Greetings,<br>
> ><br>
> > Is it possible to prevent Dnsmasq from advertising a specific prefix via<br>
> > router advertisements?<br>
> ><br>
> > Here's my situation. My ISP provides a dynamic IPv6 prefix which, using<br>
> > wide-dhcpv6, ends up assigned to interface bond0. Dnsmasq then<br>
> > advertises the prefix on bond0 out to the LAN. The various hosts on the<br>
> > LAN use it, together with IPv6 privacy extensions, to generate global<br>
> > IPv6 addresses. So far so good.<br>
> ><br>
> > For reference, my config is as follows:<br>
> ><br>
> > dhcp-range=::,constructor:bond0,ra-only,infinite<br>
> ><br>
> > Here's the problem. I also assign a ULA to bond0 (fd00:etc.). Dnsmasq<br>
> > also advertises this prefix to the LAN, but I don't want it to, because<br>
> > then the other hosts on the LAN end up generating addresses based on it,<br>
> > including via IPv6 privacy extensions. Whereas what I want is to<br>
> > manually assign each host its own specific, unchanging and easily<br>
> > remembered ULA, which should also be the source IP used when connecting<br>
> > to various services around the LAN. Too many ULAs cause problems.<br>
> ><br>
> > Is there a way to instruct Dnsmasq to _not_ advertise the ULA prefix,<br>
> > but to continue advertising the global prefix from my ISP? Perhaps this<br>
> > option already exists and I've simply missed it - apologies if that's<br>
> > the case.<br>
> ><br>
> > Thanks very much,<br>
> ><br>
> > Christopher Martin<br>
> ><br>
> > _______________________________________________<br>
> > Dnsmasq-discuss mailing list<br>
> > <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank" rel="noreferrer">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
> > <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
> ><br>
><br>
> _______________________________________________<br>
> Dnsmasq-discuss mailing list<br>
> <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank" rel="noreferrer">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</div></div>