[Dnsmasq-discuss] Cannot get IPv6 RA to occur

John Newlin jnewlin at google.com
Tue Mar 7 20:36:49 GMT 2017


I think you need an:
ra-param=${internal_iterface},60

The 60 is send an RA every 60 seconds.



On Tue, Mar 7, 2017 at 11:57 AM, John Knight <John.Knight at belkin.com> wrote:

> Hi,
>
>
>
> I am trying to get dnsmasq to send out IPv6 RAs to my LAN interface (br0),
> but can’t seem to get it to work.  I have tried various configurations I
> have found on the internet, but to no avail.
>
>
>
> I am using dnsmasq 2.76.  My router has WAN interface (eth0) that has an
> IPv6 global address that was configured via PD from RAs received from
> upstream router.  I am trying to use dnsmasq to service the LAN clients on
> br0, and to do this I want to enable dnsmasq router advertisements (RA).
>
>
>
> Here is my current attempt at configuration:
>
> dhcp-range=::a,constructor:br0,ra-names,1d
>
> enable-ra
>
>
>
> I have also tried this:
>
> dhcp-range=tag:br0,::1,::FFFF:FFFF:FFFF:FFFF,constructor:br0,ra-names,1h
>
> enable-ra
>
>
>
> And many other variants of the above.
>
>
>
> The dnsmasq.log file shows the following:
>
> DHCPv4-derived IPv6 names on br0
>
> Router advertisement on br0
>
> IPv6 router advertisement enabled
>
>
>
> However, my LAN client attached to br0 does not receive an RA.  It never
> establishes a global IPv6 address.  I have also verified this using
> “tcpdump –I br0 | grep advert”.  I see no advertisements on the br0
> interface.
>
>
>
> This does raise a few questions for me:
>
> 1)      How does dnsmasq learn of the prefix to use for the RA?  I want
> it to use the prefix received on the WAN interface (eth0) for the RA on the
> LAN interface (br0).  It is not clear to me how to configure this.
>
You have to request this from the upstream dhcpv6 server, it's called
prefix delegation.



> 2)      The dnsmasq log file indicates “Router advertisement on br0”.
> Does this mean that it sent out the Router advertisement on br0?  I thought
> so, but alas, I do not see the RA on br0.
>
> 3)      With radvd, there are controls to determine the frequency of
> advertisements.  Are there any controls for dnsmasq?  What is the default
> frequency of RA advertisement?
>
> 4)      I only have the man page for dnsmasq.  Is there a User guide with
> more details on using dnsmasq?
>
> 5)      I am currently using radvd in the router, and I am thinking if I
> can get this to work, I will stop using radvd.  Are there any compelling
> reasons to use dnsmasq RA over radvd?
>
> 6)      What is the preferred/expected syntax for the dhcp-range?  I have
> seen a number of different variations and find it very confusing... even
> the two examples abover have different syntax.  Both seem to be accepted by
> dnsmasq.
>
>
>
> I appreciate your help with this.  I hope to get this to work soon.
>
>
>
> Thanks,
>
>
>
> John Knight
>
> John.knight at belkin.com
>
>
> __________________________________________________________________
> Confidential This e-mail and any files transmitted with it are the property
> of Belkin International, Inc. and/or its affiliates, are confidential, and
> are intended solely for the use of the individual or entity to whom this
> e-mail is addressed. If you are not one of the named recipients or
> otherwise have reason to believe that you have received this e-mail in
> error, please notify the sender and delete this message immediately from
> your computer. Any other use, retention, dissemination, forwarding,
> printing or copying of this e-mail is strictly prohibited. Pour la version
> française: http://www.belkin.com/email-notice/French.html Für die
> deutsche Übersetzung: http://www.belkin.com/email-notice/German.html
> __________________________________________________________________
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> 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/20170307/444d6f6a/attachment-0001.html>


More information about the Dnsmasq-discuss mailing list