DHCP static leases

Simon Hobson dhcp1 at thehobsons.co.uk
Mon Jan 26 16:22:38 UTC 2009


Brandon Munger wrote:

>Yes those static leases are in the range.  We use this for IP 
>printers so what we normally
>do is turn the printer on, let it get an IP address, then go into 
>the dhcpd.conf and add
>that as a static address.

I assume by "static lease" you mean "host declaration with fixed address" ?

If that is the case then you MUST NOT have the static address 
included in any dynamic range<period>

If you have the address in a dynamic range then you are telling the 
server that the address is available for leasing to clients, so it 
does just that. I think version 4 introduces a facility for reserved 
leases - so you could continue dynamically allocating addresses, and 
then simply set the lease to reserved so it cannot be given to any 
other client.

-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list