You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyway, when I look at the generated dnsmasq.conf file (/var/etc/dnsmasq.conf.cfg02411c), I can see only ONE dhcp-range definition, for LAN interface. There is NO OTHER dhcp-range entry.
I have an addition to the bug report: it seems that only the first enabled config is compiled into the generated dnsmasq.conf.
If I disable DHCP on the "LAN" interface, by setting "option ignore 1" in its stanza in /etc/config/dhcp, then I get the dhcp-range set for "camera", in dnsmasq.conf, but still nothing for "management".
Kurgan-:
I have created 3 interfaces I want to run a DHCP server on.
The first is the default LAN, then there are 2 more: "camera" and "management".
In /etc/config/dhcp.conf I have the interfaces defined properly (I suppose):
config dhcp 'lan' option interface 'lan' option start '100' option limit '150' option leasetime '12h'
config dhcp 'management'
option start '100'
option leasetime '12h'
option limit '150'
option interface 'management'
config dhcp 'camere'
option interface 'camere'
option start '100'
option leasetime '12h'
option limit '150'
list dhcp_option '6,192.168.42.1'
Anyway, when I look at the generated dnsmasq.conf file (/var/etc/dnsmasq.conf.cfg02411c), I can see only ONE dhcp-range definition, for LAN interface. There is NO OTHER dhcp-range entry.
dhcp-range=lan,192.168.0.100,192.168.0.249,255.255.255.0,12h
So, dnsmasq does not serve dhcp to the other two interfaces.
If I manually add ranges to /etc/dnsmasq.conf, then DHCP works on the other interfaces too.
The text was updated successfully, but these errors were encountered: