Infinite Leases

Thomas, Scott M scott.m.thomas at kroger.com
Mon Aug 15 17:43:43 UTC 2011


If I understand your question correctly, we already do that. if I am misunderstanding, could you provide more details, please? To address what I think you mean, very device is set to an IP by MAC address and device type through our network management system which is mostly a bunch of shell and PERL scripts. One of its functions is to write each device statically to a file extension of iscdhcpd.conf (sample statement is "include /etc/iscdhcpd.blah.conf) , so they're basically statically set by the server to always get the same address, config, options, etc.
The problem I'm having is that someone chose a poorly designed device to put on my network that will accept nothing less than the value 0xffffffff, which the man page says ISC DHCP can now offer, but it doesn't seem to be working.

From: Randall C Grimshaw [mailto:rgrimsha at syr.edu]
Sent: Monday, August 15, 2011 01:01 PM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: RE: Infinite Leases

Is it possible that you could provide a static 'lease' for a fixed address? this would be in the host option.

Randall Grimshaw rgrimsha at syr.edu<mailto:rgrimsha at syr.edu>

________________________________
From: dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org [dhcp-users-bounces+rgrimsha=syr.edu at lists.isc.org] on behalf of Thomas, Scott M [scott.m.thomas at kroger.com]
Sent: Monday, August 15, 2011 12:54 PM
To: dhcp-users at lists.isc.org
Subject: Infinite Leases

Hola,

I am currently running version 3.1-ESV on a slimmed down version of SLES 10. There are no pools setup.

I’m wondering how I can setup infinite leases and make them work. There is one device I’m stuck with that will only accept an infinite lease (0xffffffff).The Internet isn’t much help on this subject, nor are the archives to this mailing list.
I read the man page for dhcpd.conf and found this:

       The infinite-is-reserved statement

          infinite-is-reserved flag;

          ISC DHCP  now  supports  'reserved'  leases.   See  the  section  on
          RESERVED LEASES below.  If this flag is on, the server will automat-
          ically reserve leases allocated to clients which requested an  infi-
          nite (0xffffffff) lease-time.

          The default is off.

I turned the flag to on (infinite-is-reserved on;) in iscdhcpd.conf, and /var/log/messages shows the following entry after the DHCPOFFER to the device in question:

Aug 9 17:14:33 of888tuna dhcpd:  Infinite-leasetime reservation made on 192.168.0.20.

However, in a packet sniff, I can see the server is offering a 1 day lease instead of the 0xffffffff value. The device I’m dealing with will only accept that value. While I realize that it inadvisable, I’m stuck with it.
Is there something I’m missing here as far as setting the flag to on and making it work?

Thanks,
Scott Thomas


________________________________
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

________________________________
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110815/183f46a9/attachment.html>


More information about the dhcp-users mailing list