[Dnsmasq-discuss] Openwrt and reboots again...
Simon Kelley
simon at thekelleys.org.uk
Wed Feb 1 21:39:53 GMT 2006
Stephen Rose wrote:
> Simon Kelley wrote:
>
>>
>> Feedback from the DHCP gurus was positive, so I've built a test version
>> which should behave better under these circumstances (as long as
>> "dhcp-authoritative" is set in /etc/dnsmasq.conf)
>>
>> I'll send you a copy by private mail, please could you test it?
>>
>> Cheers,
>>
>> Simon.
>>
>
>
> So far, it seems to work quite well. I rebooted the router, checked
> for an empty leases file, renewed the lease, and checked everything
> again. I had an entry in the leases file and the log showed a
> DHCPREQUEST - DHCPACK sequence. And my Putty windows stayed up.
> Hooray!
Good stuff.
> I haven't
> tried the case where the address is already in use, though.
That code is unchanged so it's not a problem.
> Actually,
> I'm not sure how to arrange for that. Dnsmasq seems to not pick
> addresses sequentially.
It's done as a hash from the MAC address, so the same host will always
be offered the same address, modulo collisions.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list