Hi,
I'm running dnsmasq 2.52 on OpenWRT with, among other options:
-l /etc/dnsmasq/dhcpd.leases
--dhcp-range=lan,192.168.8.50,192.168.8.200,255.255.255.0,1440h
1440h = 60 days = 2 months, that's the default lease expiration
from my backup, which was made some few hours before the
Leonardo Rodrigues wrote:
Hi,
I'm running dnsmasq 2.52 on OpenWRT with, among other options:
-l /etc/dnsmasq/dhcpd.leases
--dhcp-range=lan,192.168.8.50,192.168.8.200,255.255.255.0,1440h
1440h = 60 days = 2 months, that's the default lease expiration
from my backup,
Em 08/03/2010 12:20, Simon Kelley escreveu:
shouldnt dnsmasq provide the IP present on its lease file, given the
fact that lease was still valid ???
Good question: I can give you a partial answer, the lease gets deleted
as part of the response to the first DHCPREQUEST. Here's the
Leonardo Rodrigues wrote:
Em 08/03/2010 12:20, Simon Kelley escreveu:
shouldnt dnsmasq provide the IP present on its lease file, given the
fact that lease was still valid ???
Good question: I can give you a partial answer, the lease gets deleted
as part of the response to the
Em 08/03/2010 13:16, Simon Kelley escreveu:
Can you build new dnsmasq packages from source for your WRT box? If so
I'll get a test release to you with the changes implemented.
Yes, i can build it and get it running easily. I'm building OpenWRT
from SVN so it's pretty easy to build
Leonardo Rodrigues wrote:
Em 08/03/2010 13:16, Simon Kelley escreveu:
Can you build new dnsmasq packages from source for your WRT box? If so
I'll get a test release to you with the changes implemented.
Yes, i can build it and get it running easily. I'm building OpenWRT
from SVN
Em 08/03/2010 13:42, Simon Kelley escreveu:
would it be enough to simply remove these lines:
/* avoid loops when client brain-dead */
lease_prune(lease, now);
lease = NULL;
Yes, that's all that's needed.
built and running let's wait to see what'll happen when