[OpenWrt-Devel] dnsmasq not leasing after a while. Sometimes more than 5 times a day

Denis Periša darkman.hr at gmail.com
Wed Jun 19 07:41:47 EDT 2019


This is final error message.. after this no dns  works and dnsmasq needs to
be rebooted.. I also checked google and found numerous users have same
issue back a year or more.

Error sending DHCP packet to 172.16.6.50: Resource temporarily
unavailable....
l

On Tue, May 28, 2019 at 3:15 AM Russell Senior <russell at personaltelco.net>
wrote:

> >>>>> "Denis" == Denis Periša <darkman.hr at gmail.com> writes:
>
> Denis> There is no other dhcp in network, it's routed connection RB435G
> Denis> with multiple cards wlan.  this is config example:
>
> Denis> interface=eth0 except-interface=eth1 interface=wlan3
> Denis> interface=wlan0 interface=wlan1 interface=wlan2
>
> Denis> dhcp-range=172.17.3.20,172.17.3.253,255.255.255.0,1h
> Denis> dhcp-range=172.17.4.20,172.17.4.253,255.255.255.0,1h
> Denis> dhcp-range=172.17.5.20,172.17.5.253,255.255.255.0,1h
> Denis> dhcp-range=172.17.6.20,172.17.6.253,255.255.255.0,1h
> Denis> dhcp-range=172.17.7.20,172.17.7.253,255.255.255.0,1h
>
> From experience, sometimes there are DHCP servers you don't know about.
>
> This is what I see in my test bed:
>
>    # cat /var/etc/dnsmasq.conf.cfg01411c
>
>    # auto-generated config file from /etc/config/dhcp
>    conf-file=/etc/dnsmasq.conf
>    dhcp-authoritative
>    read-ethers
>    enable-ubus
>    bind-dynamic
>    local-service
>    domain=localnet
>    server=/lan/
>    except-interface=eth1
>    dhcp-leasefile=/tmp/dhcp.leases
>    resolv-file=/tmp/resolv.conf.auto
>    dhcp-broadcast=tag:needs-broadcast
>    addn-hosts=/tmp/hosts
>    conf-dir=/tmp/dnsmasq.d
>    user=dnsmasq
>    group=dnsmasq
>
>
>    dhcp-ignore-names=tag:dhcp_bogus_hostname
>    conf-file=/usr/share/dnsmasq/dhcpbogushostname.conf
>
>
>    dhcp-range=set:pub,10.11.24.5,10.11.24.30,255.255.255.224,1h
>    no-dhcp-interface=eth1
>    dhcp-range=set:priv,192.168.11.100,192.168.11.249,255.255.255.0,12h
>
> Try turning on the force option.
>
>
> --
> Russell Senior, President
> russell at personaltelco.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190619/75ffeb84/attachment.htm>


More information about the openwrt-devel mailing list