Posted: Wed Oct 09, 2024 18:05 Post subject: /tmp/dnsmasq.conf error
I have DD-WRT v3.0-r55630 std (04/03/24) running on a wrt3200acm and I have the following error with the /tmp/dnsmasq.conf which is generated from the default factory settings for dnsmasq
which is generated from the following default factory settings
Code:
Enable dnsmasq: Enable
Encrypt DNS: Disable
Cache DNSSEC Data: Disable
Validate DNS Replies (DNSSEC): Disable
Check Unsigned DNS Replies: Disable
No DNS Rebind: Enable
Query DNS in Strict Order: Disable
Add Requestor MAC to DNS Query: Disable
RFC4039 Rapid Commit Support: Disable
My error log is as follows
Code:
Oct 9 18:52:00 router_name user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 9 18:52:00 router_name daemon.crit dnsmasq[2093]: inconsistent DHCP range at line 7 of /tmp/dnsmasq.conf
Oct 9 18:52:00 router_name daemon.crit dnsmasq[2093]: FAILED to start up
Oct 9 18:52:00 router_name user.info : [dnsmasq] : Error on startup, returncode 1
Oct 9 18:52:15 router_name daemon.crit dnsmasq[2098]: inconsistent DHCP range at line 7 of /tmp/dnsmasq.conf
Oct 9 18:52:15 router_name daemon.crit dnsmasq[2098]: FAILED to start up
Oct 9 18:54:00 router_name user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 9 18:54:01 router_name daemon.crit dnsmasq[2133]: inconsistent DHCP range at line 7 of /tmp/dnsmasq.conf
Oct 9 18:54:01 router_name daemon.crit dnsmasq[2133]: FAILED to start up
Oct 9 18:54:01 router_name user.info : [dnsmasq] : Error on startup, returncode 1
Oct 9 18:56:00 router_name user.info : [dnsmasq] : maybe died, we need to re-exec it
Oct 9 18:56:00 router_name daemon.crit dnsmasq[2169]: inconsistent DHCP range at line 7 of /tmp/dnsmasq.conf
Oct 9 18:56:00 router_name daemon.crit dnsmasq[2169]: FAILED to start up
Oct 9 18:56:00 router_name user.info : [dnsmasq] : Error on startup, returncode 1
If anyone can suggest a fix I'd appreciate it.
Last edited by Thratchen on Wed Oct 09, 2024 19:14; edited 1 time in total
Joined: 16 Jun 2006 Posts: 230 Location: Germany, BW
Posted: Fri Oct 11, 2024 12:52 Post subject:
To give you a short explaination:
The subnet itself and the number of usable IP-Adresses is defined by the Subnet-Mask. In your case, Subnet-Mask is 255.255.255.0 or /24. That means you can use IPs from .1 to.254.
In the DHCP Mask you put in 190 IPs for DHCP, starting at IP .100. So you are above the usable range from .1 to .254.(The GUI should deny these kinds of wrong entries)
If you need 190 DHCP-IPs you can set the Start-IP to .64 or below (you put in .100).
OR, if you also have a greater number of static IPs (over 63), you have to take another Subnet-Mask.
With Subnet-Mask /23 you can change the DHCP-Starting-IP to 192.168.0.1 and keep the 190 DHCP-Users.