[Dnsmasq-discuss] Renewing pool addresses inspite of static configuration?

Simon Kelley simon at thekelleys.org.uk
Sun Sep 29 15:43:58 BST 2013


On 28/09/13 16:16, Christian Peter wrote:
>>> unfortunately, the machines do not change their IP. the DHCP clients
>>> send DHCPREQUESTs for their previous addresses which are ACKed by the
>>> server. [...]
>>> is this a known bug/feature of dnsmasq?
>>
>> The opposite, it should reply to the DHCPREQUEST with a DHCPNAK, and a
>> message "static lease available" I'm not aware of any problems with that
>> mode of operation. That should prompt the client to got through the
>> DISCOVER/OFFER/REQUEST/ACK  cycle and get the new address.
>
> thanks, simon, good to know. that's the behaviour that i expected.
>
>> My first attack on this would be to check your configuration. Turn on
>> DHCP logging: when of the clients renews its lease, there should be a
>> tag "known" in the list of tags. If it's not there, then dnsmasq is not
>> finding your static address for some reason.
>
> ah, good point. the requests for those machines are lacking the "known"
> tag (which i can see for other hosts). entries in ethers and hosts file
> have been double and triple checked, though.
>
> will continue investigations...
>
> cheers,
>    chris
>

Feel free to post your configuration or extracts of same, or send them 
to me off-list if you prefer.

Simon.




More information about the Dnsmasq-discuss mailing list