Update to 3.11.2 broke my DHCP


From answers above I got the impression that the dnsmasq is the program responsible for DCHP on IPv4.

What I’ve been trying to achieve is to get my DHCP server back into work since it broke by a previous update of the software.

I only have a few moments now and then to fiddle with the settings and do not have any deeper insights in how the router is working.

Yes, dnsmasq is responsible for DHCP v4. @vcunat has answered what you have to do to make it work again.

Edit the /etc/config/dhcp file via ssh and the important line is “option port ‘0’” - if it is not, you need to add or change it.
the default configuration looks like this:

config dnsmasq
	option domainneeded '1'
	option boguspriv '1'
	option localise_queries '1'
	option rebind_protection '1'
	option rebind_localhost '1'
	option local '/lan/'
	option domain 'lan'
	option expandhosts '1'
	option authoritative '1'
	option readethers '1'
	option leasefile '/tmp/dhcp.leases'
	option resolvfile '/tmp/resolv.conf.auto'
	option port '0'
	option localservice '1'
	option nonwildcard '0'

config dhcp 'lan'
	option interface 'lan'
	option start '100'
	option limit '150'
	option leasetime '12h'

config dhcp 'wan'
	option interface 'wan'
	option ignore '1'

config odhcpd 'odhcpd'
	option maindhcp '0'
	option leasefile '/tmp/hosts/odhcpd'
	option leasetrigger '/usr/sbin/odhcpd-update'

After the repair is done, restart the router and it should work.