dhcpd lease problems?

Simon Hobson dhcp at thehobsons.co.uk
Tue Jun 6 12:55:09 UTC 2006

Kim Halavakoski wrote:

>If a need arises for static address for a host I have just added a 
>host declaration for that host and MAC to the dhcp.conf.
>Now it seems like dhcpd is giving out leases from the range 
> and sometimes assigns even the IP-addresses that 
>I have put in as host declarations for the static hosts...

You told it that it can use 20-254 and that's what it's doing.

>How is this supposed to work? Should dhcpd be able to see that it  
>doesn't assing out a dynamic address from the range configured IF 
>there is a host declaration for that IP? Or should I try to change 
>the pool range to and then assign the host 
>declarations between -

The assumption is that the network administrator will configure it properly :-)

Seriously, it's impossible to test for all possible combinations of 
misconfiguration (this being but one). As you've discovered, with 
great power and flexibility comes a responsibility to configure it 
correctly - there should be no overlap between fixed addresses and 
dynamic ranges.


More information about the dhcp-users mailing list