[Cerowrt-devel] dnsmasq ipv6 stuff

Török Edwin edwin+ml-cerowrt at etorok.net
Fri Jan 25 14:21:05 EST 2013


On 01/22/2013 08:52 PM, Chris Lawrence wrote:
> On Tue, Jan 22, 2013 at 1:40 AM, Dave Taht <dave.taht at gmail.com> wrote:
>> I think that's this in /etc/dnsmasq.conf
>>
>> dhcp-range=se00,1234::, ra-stateless, ra-names
>> dhcp-range=sw00,1234::, ra-stateless, ra-names
>> dhcp-range=sw10,1234::, ra-stateless, ra-names
>> dhcp-range=gw00,1234::, ra-stateless, ra-names
>> dhcp-range=gw10,1234::, ra-stateless, ra-names
>>
>> It's kind of unclear to me what 1234 could be replaced with.
>> "ce30" works for me...
> 
> Using ::1 on each will autoassign the addresses based on the address
> of the interface, which seems like a sensible default no matter what
> network address you have.  Having said that I found that with
> ra-stateless enabled, at least one device on my network would send
> DHCPv6 requests that crashed dnsmasq.  So I have:
> 
> dhcp-range=::1,constructor:se00,ra-names
> (etc.)
> 
> I think with test11 that can be further simplified to:
> 
> dhcp-range=::1,constructor:*,ra-names

Only thing that worked for me is one of these two in /etc/dnsmasq.conf:
1. specify prefix explicitly:
dhcp-range=se00,2a02:2f02:1022:a4b7::,ra-names,48h
2. specifiy constructor:se00:
dhcp-range=::1,constructor:se00,ra-names,48h

Also I had to remove dnsmasq and install dnsmasq-dhcpv6 as mentioned in this thread already.

With the above enable-ra seems to be optional.

The other things didn't work, it never sends a RTR-ADVERT, although it sees RTR-SOLICIT:
dhcp-range=se00,::1,slaac,48h
dhcp-range=se00,ce30::,slaac,48h
dhcp-range=::1,constructor=*,slaac,48h
dhcp-range=::1,constructor:*,slaac,48h <-- this crashes immediately

Best regards,
--Edwin



More information about the Cerowrt-devel mailing list