[Dnsmasq-discuss] Renewing pool addresses inspite of static configuration?
Simon Kelley
simon at thekelleys.org.uk
Fri Sep 27 09:50:20 BST 2013
On 26/09/13 12:53, Christian Peter wrote:
> hi,
>
> we have a problem with machines keeping their old pool IPs and ignoring
> their newer static IP configuration:
>
> there's a bunch of machines that got their initial IP address from a
> DHCP pool range.
>
> later on, i configured other, static addresses for them via /etc/hosts
> and /etc/ethers entries.
>
> unfortunately, the machines do not change their IP. the DHCP clients
> send DHCPREQUESTs for their previous addresses which are ACKed by the
> server.
>
> restarting the server and clearing the server-side lease cache doesn't
> help. (there are some appliances among the hosts; so i can't clear the
> lease cache on the client side.)
>
> 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.
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.
Cheers,
Simon.
> is there any way i can enforce the IP change?
>
> we're using dnsmasq 2.45 as shipped with SUSE Enterprise 11 SP2.
>
> thanks for your help!
>
> chris
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list