[LEDE-DEV] dnsmasq make DHCPv6 viable for standalone dnsmasq install

Daniel Petre daniel.petre at gavana3.ro
Fri Feb 3 21:42:07 PST 2017


On 02/04/2017 05:42 AM, Eric Luehrsen wrote:
> UCI for stateful+stateless mode. This makes hosts easy targets for ping
> and other testing (dns-dhcp). This allows Android devices to connect
> because they won't do DHCPv6 (argh! Google!)
>
> config dhcp 'lan'
> 	option dhcpv4 'server'
> 	option dhcpv6 'server'
> 	option interface 'lan'
> 	option limit '150'
> 	option leasetime '4h'
> 	option ra 'server'
> 	option ra_management '1'
> 	option ra_preference 'medium'
> 	option start '100'
> 	list dhcp_option 'option:ntp-server,0.0.0.0'
> 	list dhcp_option 'option:dns-server,0.0.0.0'
> 	list dhcp_option '252,"\n"'
> 	# Many clients don't like DNS [fe80::] so this tells dnsmasq
> 	# to issue the ULA on this interface (RA and DHCPv6 options)
> 	list dhcp_option 'option6:ntp-server,[fd00::]'
> 	list dhcp_option 'option6:dns-server,[fd00::]'

Thanks, i can confirm that it works with your uci setup and i get IPv6 
on both a Windows 10 laptop and a Android M tablet.

IPv6 native PPPoE /64 --- Nexx wt3020 --- laptop, tablet

I was under the impression that your commit will autoconfigure stuff 
(meaning /etc/config/dhcp) for IPv6..

By the way - i had compiled in the dnsmasq-dhcpv6 above the dnsmasq-full 
variant in menuconfig and it works now:

[dani at yoga LEDE]$ ls -alh bin/packages/mipsel_24kc/base/{dnsmasq*,odhcpd*}
-rw-r--r-- 1 dani dani  89K Feb  3 17:35 
bin/packages/mipsel_24kc/base/dnsmasq_2.76-8_mipsel_24kc.ipk
-rw-r--r-- 1 dani dani 106K Feb  4 07:04 
bin/packages/mipsel_24kc/base/dnsmasq-dhcpv6_2.76-8_mipsel_24kc.ipk
-rw-r--r-- 1 dani dani  29K Feb  3 17:35 
bin/packages/mipsel_24kc/base/odhcpd_2017-02-01-3317c861-1_mipsel_24kc.ipk

>
>
> On 02/03/2017 10:30 PM, Eric Luehrsen wrote:
>> Cabel -> Modem -> Archer (AP) -> WiFi -> (Client) WDR -> Wire -> Laptop
>>
>> On 02/03/2017 04:46 PM, Eric Luehrsen wrote:
>>> I will look at it this weekend.



More information about the Lede-dev mailing list