[Dnsmasq-discuss] No RA and no response to RTR-SOLICIT

Simon Kelley simon at thekelleys.org.uk
Wed Jul 31 08:43:39 BST 2013


On 30/07/13 22:26, Enrico Tröger wrote:
> Hi,
>
>>> I want to use Dnsmasq to act as DHCPv6 server and to send router
>>> advertisments.
>>> My ISP provides me with a /64 IPv6 net over PPPoE.
>>>
>>> Normal DHCP works well but I can't get DHCPv6 working.
>>>
>>> I don't see any RTR-ADVERT messages in the logs nor do I see any
>>> response from Dnsmasq to RTR-SOLICIT requests (I do see the RTR-SOLICIT
>>> request itself in the logs).
>>>
>>> (Probably) Relevant config parts:
>>> interface=eth0
>>> except-interface=ppp0
>>> dhcp-range=2001:1234:1234:1234:10:0:1::,constructor:eth0,ra-names,slaac,64,48h
>>>
>>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> This the problem. You need to decide if you're going to declare a fixed
>> prefix, or have dnsmasq advertise whatever prefixes are configured into
>> eth0.
>>
>> The simplest to do, if eth0 is always going to be
>> 2001:1234:1234:1234::4002/64, is
>>
>> dhcp-range=2001:1234:1234:1234::,ra-names,slaac,64,48h
>
> Thank you!
> Since the prefix is static, that did the trick. I tried this before but
> always had the constructor parameter included, without it works fine and
> now I see RTR-ADVERT messages in the logs.
> And SLAAC now works, great!
>
> Thanks again.
>


Good stuff. This raises the thought that dnsmasq should probably 
complain if there's a constructor and the prefix part of the address is 
not zero. Better to not start with an error than mysteriously fail to work.

Cheers,

Simon.


> Regards,
> Enrico
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list