[Dnsmasq-discuss] New leases constantly issued for same client

Lagarto kikiriboo at gmail.com
Wed Sep 26 23:30:45 BST 2012


Hello,

I am running OpenWrt in an Atheros 9342 AP and using dnsmasq(2.62) as
dhcp server.

When there are a few (~10) clients connected, everything works fine.
However, when there are more clients, something starts to happen: one
or more clients will keep requesting for a new lease, instead of
keeping the one previously assigned.

Any idea why this could be happening? If the connection is dropped,
wouldn't it be expected for the client to get/renew the previously
assigned lease?
Thanks in advance.

Regards,
-Leo Martinez

-----------
root at OpenWrt:/# cat /tmp/dhcp.leases
4432 00:09:37:0d:76:ff 192.168.101.211 DEVICE-882431
ff:12:34:5b:2b:00:01:00:00:00:00:00:00
4413 00:09:37:09:05:09 192.168.101.247 DEVICE-591113
ff:12:34:58:a8:00:01:00:00:00:00:00:00
4395 00:09:37:0d:76:ff 192.168.101.210 * ff:12:34:5b:2a:00:01:00:00:00:00:00:00
4377 00:09:37:09:05:09 192.168.101.246 * ff:12:34:58:a7:00:01:00:00:00:00:00:00
4360 00:09:37:0d:76:ff 192.168.101.208 * ff:12:34:5b:29:00:01:00:00:00:00:00:00
4341 00:09:37:09:05:09 192.168.101.245 * ff:12:34:58:a6:00:01:00:00:00:00:00:00
4324 00:09:37:0d:76:ff 192.168.101.207 * ff:12:34:5b:28:00:01:00:00:00:00:00:00
4306 00:09:37:09:05:09 192.168.101.243 * ff:12:34:58:a5:00:01:00:00:00:00:00:00
4288 00:09:37:0d:76:ff 192.168.101.205 * ff:12:34:5b:27:00:01:00:00:00:00:00:00
4270 00:09:37:09:05:09 192.168.101.240 * ff:12:34:58:a4:00:01:00:00:00:00:00:00
4252 00:09:37:0d:76:ff 192.168.101.204 * ff:12:34:5b:26:00:01:00:00:00:00:00:00


root at OpenWrt:/# cat /var/etc/dnsmasq.conf
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
read-ethers
bogus-priv
expand-hosts
domain=lan
server=/lan/
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok

dhcp-range=lan,192.168.101.100,192.168.101.249,255.255.255.0,1h

address=/OpenWrt.lan/192.168.101.50
ptr-record=50.101.168.192.in-addr.arpa,OpenWrt.lan

-------------



More information about the Dnsmasq-discuss mailing list