[LEDE-DEV] dnsmasq
e9hack
e9hack at gmail.com
Sat Jul 30 07:54:34 PDT 2016
Am 29.07.2016 um 21:03 schrieb Felix Fietkau:
> On 2016-07-29 20:46, e9hack wrote:
>> new:
>> interface=br-lan
>> interface=eth1.3
>> interface=br-guest1
>> interface=br-guest2
>> interface=br-tor
>> except-interface=
>> except-interface=
>> except-interface=
>> except-interface=
>> except-interface=pppoe-wan
>> except-interface=
>>
>> old from yesterday's build:
>> interface=br-lan
>> interface=eth1.3
>> interface=guest1
>> interface=guest2
>> interface=tor
>> except-interface=tap0
>> except-interface=eth0
>> except-interface=eth1
>> except-interface=eth1.1
>> except-interface=eth0.7
>> except-interface=wan6
>>
>> I'm not sure, if br-guest1 or guest1 is correct. The bridge interface br-guest1 contains a
>> wifi network only, which is setup by 'option network guest1' wireless configuration.
>> ifconfig shows br-guest1. The same is valid for br-guest2 an br-tor. br-guest1 and
>> br-guest2 seems to work with both entries in dnsmasq.conf. Currently, I can't test br-tor,
>> but tor does work.
> br-guest1 is correct, since dnsmasq needs to have network devices here,
> not network interface configuration names. Most of the except-interface
> ones don't work because in the config you're supposed to specify network
> interface configuration names instead of mixing them with device names.
>
> I've pushed a fix to make it ignore invalid entries.
It seems there are some more incorrect entries:
dhcp-range=lan,192.168.103.100,192.168.103.199,255.255.255.0,48h
no-dhcp-interface=pppoe-wan
dhcp-range=guest1,10.1.0.100,10.1.0.199,255.255.0.0,48h
dhcp-range=guest2,10.2.0.100,10.2.0.199,255.255.0.0,48h
dhcp-range=phone,192.168.200.100,192.168.200.199,255.255.255.0,48h
dhcp-range=tor,172.16.0.100,172.16.0.199,255.255.0.0,2h
I don't know the use case of the first entry in dhcp-range, since dnsmasq doesn't know
anything about network interface configuration names, it seems to be wrong.
The no-dhcp-interface entry is completely wrong. Because this provides DNS service on this
interface. In my case, it's overwritten by except-interface=pppoe-wan (and the need of
interface definitions explicitly).
Regards,
Hartmut
More information about the Lede-dev
mailing list