DHCP static leases
Brandon Munger
bmunger at edison.edu
Tue Jan 27 16:15:17 UTC 2009
Thanks Glenn,
I think the solution is to migrate the printers to a new range outside
of the
dynamic scope if there is no other alternative.
Brandon Munger
Unix Administrator
Edison State College
(239)985-8362 x1862
Glenn Satchell wrote:
> Hi Brandon
>
> I can think of two different solutions hare.
>
> 1. Give your printers a new IP address so that all the fixed-address
> hosts are grouped together outside the dynamic range?
>
> 2. Give them a really *long* lease time, like one or more years. Could
> either use a class/sub-class or group, eg:
>
> # printers
> group {
> min-lease-time 31536000; # one year
> host foo { hardware ethernet ...; }
> }
>
> or
>
> class "printers" {
> match hardware;
> min-lease-time 31536000; # one year
> }
> subclass "printers" 1:8:0:2b:4c:39:ad;
>
> See the section in the dhcpd.conf man page titled SUBCLASSING.
>
> regards,
> -glenn
>
>> On Mon, Jan 26, 2009 at 9:58 PM, Brandon Munger <bmunger at edison.edu> wrote:
>>
>>
>>> Yes, it is defined as a host declaration with the fixed-address.
>>> How are reserved leases defined? Can it be defined in the host
>>> declaration area? Thank you.
>>>
>>> Brandon
>>>
>>>
>>> Simon Hobson wrote:
>>>
>>>
>>>> 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.
>>>>
>>>>
>>>>
>>> CONFIDENTIALITY: This e-mail (including any attachments) may contain
>>> confidential, proprietary and privileged information, and unauthorized
>>> disclosure or use is prohibited. If you received this e-mail in error,
>>> please notify the sender and delete this e-mail from your system.
>>> _______________________________________________
>>> dhcp-users mailing list
>>> dhcp-users at lists.isc.org
>>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>>
>>>
>>
>> --
>> Thanks & Regards
>> SAmer SAyeed
>>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
CONFIDENTIALITY: This e-mail (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this e-mail in error,
please notify the sender and delete this e-mail from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090127/26e3234c/attachment.html>
More information about the dhcp-users
mailing list