dhcp reserved address support

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Oct 8 13:55:35 UTC 2008


The reserved option came out in about 3.0.4 or so. Check the dhcpd.conf
man page and search for "RESERVED LEASES". The functionality exists to
use such a lease, but there is not a very good interface to set it.

regards,
-glenn

>Date: Wed, 8 Oct 2008 19:14:48 +0530
>From: "Samer Sayeed" <samers at teamf1.com>
>To: dhcp-users at isc.org
>Subject: Re: dhcp reserved address support
>
>Bates reply was as follows for your reference
>Try upgrading to a version of the DHCP server that supports `reserved'
>leases in addition to the old `fixed'.  Check the documentation.  I THINK
>`reserved' will allow you to do what you want where `fixed' will not.
> However, you should double check the documentation to me sure.
>
>
>
>On Wed, Oct 8, 2008 at 7:13 PM, Samer Sayeed <samers at teamf1.com> wrote:
>
>> Hi,
>>
>>        I am using 4.1.0a2 version of isc dhcp, can anyone please let me
>> know which version of isc-dhcp support the fixes which Bates has mentioned.
>> I will be glad if anyone can help me out.
>>
>> On Wed, Oct 8, 2008 at 6:40 PM, Glenn Satchell <Glenn.Satchell at uniq.com.au
>> > wrote:
>>
>>> >Date: Wed, 8 Oct 2008 18:30:49 +0530
>>> >From: "Samer Sayeed" <samers at teamf1.com>
>>> >To: dhcp-users at isc.org
>>> >Subject: Re: dhcp reserved address support
>>> >
>>> >Its not a very good option to give multiple range statements. ....
>>> >Any other better idea ???
>>>
>>> Well unfortunately that's the way ISC dhcpd works.
>>>
>>> You may have used the MS dhcp, where typically you specify the whole
>>> subnet, then mark certain IPs as not to be used. That's just as messy
>>> if not more so, IMHO.
>>>
>>> The way most people do it it to assign all their host based
>>> fixed-addresses in a block at either the top or bottom of the subnet,
>>> and then have a single contiguous dynamic range.
>>>
>>> regards,
>>> -glenn
>>>
>>>
>>> >On Wed, Oct 8, 2008 at 6:09 PM, Glenn Satchell
>>> ><Glenn.Satchell at uniq.com.au>wrote:
>>> >
>>> >> You can specify multiple range statements and omit the IPs that should
>>> >> not be handed out dynamically, eg you want to exclude 192.168.10.25:
>>> >>
>>> >> subnet ... {
>>> >>  range 192.168.10.20 192.168.10.24;
>>> >>  range 192.168.10.26 192.168.10.29;
>>> >>  ... other options ...
>>> >> }
>>> >>
>>> >> or a single IP can be in the range, eg:
>>> >>
>>> >> subnet ... {
>>> >>  range 192.168.10.50;
>>> >>  ... othe roptions ...
>>> >> }
>>> >>
>>> >> regards,
>>> >> -glenn
>>> >>
>>> >> >Date: Wed, 8 Oct 2008 17:52:09 +0530
>>> >> >From: "Samer Sayeed" <samers at teamf1.com>
>>> >> >To: dhcp-users at isc.org
>>> >> >Subject: dhcp reserved address support
>>> >> >
>>> >> >Need help on how to reserve and ip address from dhcp default range.
>>> Does
>>> >> >anyone have any patch related to this please reply.
>>> >> >
>>> >> >On Wed Oct 08 11:51:13 2008, samers at teamf1.com wrote:
>>> >> >> HI,
>>> >> >>
>>> >> >>          In following case the the resolution which you gave fails.
>>> >> >>
>>> >> >> Ex.
>>> >> >>
>>> >> >> dhcp default range is 192.168.10.25 to 192.168.10.26.
>>> >> >> I have declared a host as you mentioned using host declaration
>>> >> >>
>>> >> >> host hostname {
>>> >> >> hardware ethernet one_of_my_clients_mac_address;
>>> >> >> fixed-address  192.168.10.25;
>>> >> >> }
>>> >> >>
>>> >> >> >>> Issue which I am facing is if I try to run dhclient from another
>>> >> >before
>>> >> >> my "one_of_my_clients_mac_address" lan host contacts then the other
>>> lan
>>> >> >host
>>> >> >> is getting 192.168.10.25 ip address.
>>> >> >
>>> >> >If you do not want an address given out by the DHCP server, it should
>>> not
>>> >> >be in a range statement.  The "host" statement will provide the
>>> address to
>>> >> >the given mac, but will NOT block it from being handed out if it is
>>> >> >available in a pool.
>>> >> >
>>> >> >Again, I ask that your questions be taken to the mailing list or that
>>> you
>>> >> >consider a support contract allowing you to support ISC.
>>> >> >
>>> >> >AlanC
>>> >> >--
>>> >> >Alan Clegg
>>> >> >ISC Training and Support
>>> >> >--
>>> >> >Thanks & Regards
>>> >> >SAmer SAyeed
>>> >> >
>>> >> >
>>> >> >
>>> >> >--
>>> >> >Thanks & Regards
>>> >> >SAmer SAyeed
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >--
>>> >Thanks & Regards
>>> >SAmer SAyeed
>>>
>>>
>>>
>>
>>
>> --
>> Thanks & Regards
>> SAmer SAyeed
>>
>
>
>
>-- 
>Thanks & Regards
>SAmer SAyeed



More information about the dhcp-users mailing list