[Kea-users] DHCP reserved leases (infinite lease)

Igor Smitran sigor at blic.net
Mon Jun 2 10:11:16 UTC 2014


Thank you for the info.
I've already implemented a hook for classifying device type (MTA, MODEM, 
CPE).
What would be preferred way for using mysql database in a hook?
Some code snipet would be nice to get me started.

Thank you,
Igor

On 06/02/2014 10:18 AM, Marcin Siodelski wrote:
> Igor,
>
> Many thanks for your email and interest in Kea.
>
> The "host reservation" hasn't been implemented yet. Its implementation
> is scheduled for Kea 1.0 release (most likely early 2015).
>
> As a temporary solution, it is possible to deal with the assignment of
> the same addresses to selected clients by implementing a library using
> the Hooks API in Kea. Hooks API is a powerful feature allowing a
> customization of the DHCP packet processing, including the lease
> allocation decisions. However, this would require that you implement the
> library, because we currently don't have a sample that would serve this
> purpose.
>
> If you're interested in developing your own hooks libraries please refer
> to Kea Developer's Guide and see the code of the sample library in the
> Kea source tree: src/hooks/dhcp/user_chk.
>
> Kind Regards,
> Marcin
>
> On 02/06/14 09:10, Igor Smitran wrote:
>> Hi all,
>>
>> What is the procedure for reserved leases for some clients?
>> How would one accomplish that?
>>
>> Thank you,
>> Igor
>> _______________________________________________
>> Kea-users mailing list
>> Kea-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/kea-users




More information about the Kea-users mailing list