[Dnsmasq-discuss] Enforcing IP
Heinz Deinhart
heinz at nix.at
Thu May 18 16:55:19 BST 2006
On Thu, 18 May 2006, Simon Kelley wrote:
> To avoid this, dnsmasq tries very carefully to never offer the same address
> after it has been rejected. For "ordinary" hosts without a fixed address, it
> changes the address offered, and for hosts with a dhcp-host=<address>
> configuration, it disables the address configuration (and logs that it has
> done so.) This causes the host to be treated as an ordinary host instead and
> allocated a pool address instead.
I understand that it would not be a clever idea to generate an endless
loop. But isn't this avoided once the client gets the first reject or
at least the first few rejects, when the dhcp client gives up?
Maybe it would be a good idea to implement a timeout for this. That
would give the user of the host the chance to restart his dhcp client
some time in the future, when the reason (e.g. evil user with manually
configured laptop) has gone away, and get his correct address.
But on the other side, it may be a good thing, that the ipless user
has to contact the admin - who then knows about potential trouble.
ciao,
Heinz
--
Heinz Deinhart
heinz at nix.at
More information about the Dnsmasq-discuss
mailing list