Hi, im having problems with DHCP in a site with 1000+ devices, im testing a openwrt 18.x.1 (last stable) x64 on a i3 8300 pc as a router. When i reboot the machine everything seeems fine, devices get ip and can get to internet. but there is a problem latter and "new" devices dont get ip anymore, but "old" ones can still navigate with no problems, cpu usage is low and wan fiber is like 400mbps used so no problems there.
You can increase the verbosity of DNSMASQ, and see the full exchange of requests and responses. Or, if you do not see those requests, perhaps your firewall is configured to limit the amount of DHCP traffic.
When dnsmasq starts up, it prints the effective DHCP lease range into the syslog in the form Wed Oct 3 15:39:43 2018 daemon.info dnsmasq-dhcp[3808]: DHCP, IP range 10.11.12.100 -- 10.11.12.249, lease time 12h - what is it reporting for you?
Internally, the dnsmasq init script performs the following calculation to obtain the effective range:
Thank you jow, this shows the log after a /etc/init.d/dnsmasq restart
Wed Oct 3 15:42:05 2018 daemon.info dnsmasq-dhcp[11048]: DHCPNAK(br-lan) 10.6.x.x xx:xx:xx no leases left
Wed Oct 3 15:42:05 2018 daemon.info dnsmasq[11048]: exiting on receipt of SIGTERM
Wed Oct 3 15:42:05 2018 daemon.info dnsmasq[3167]: started, version 2.80test3 cachesize 150
Wed Oct 3 15:42:05 2018 daemon.info dnsmasq[3167]: DNS service limited to local subnets
Wed Oct 3 15:42:05 2018 daemon.info dnsmasq[3167]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Wed Oct 3 15:42:05 2018 daemon.info dnsmasq-dhcp[3167]: DHCP, IP range 10.6.0.100 -- 10.6.117.147, lease time 12h