[Kea-users] Lease affinity of released leases

Peter Davies peter.watson.davies at outlook.com
Thu Nov 11 08:54:28 UTC 2021


Hi Johannes,

 One of Kea's built-in classes is the "DROP" class. Packets associated with this class are, as the name suggests, dropped.

You can test for dhcpv4 DHCPRELEASE packets with "test": "pkt4.msgtype == 7"

Which gives the following:

   "client-classes": [

       {

           "name": "DROP",

           "test": "pkt4.msgtype == 7"

       }

   ]

   or for dhcpv6

  "client-classes": [

       {

           "name": "DROP",

           "test": "pkt6.msgtype == 8”

       }

   ]

 /Peter



________________________________
From: Johannes Midgren <johannes at midgren.net>
Sent: 10 November 2021 23:38
To: Peter Davies <peter.watson.davies at outlook.com>
Cc: egor.grijuc at orange.com <egor.grijuc at orange.com>; kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: Re: [Kea-users] Lease affinity of released leases


Hi Johannes,
   If you don't want to define host reservations you can give the client very long lease times and get Kea to drop   DHCPRELEASE packet

/Peter

Hi Peter, Thanks for your reply!

Do you know of an easy way to drop the DHCP Release package with KEA using only configuration, or would it require writing a hooks library as was suggested in another reply? I can't find anything in the docs about such a feature.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20211111/9407b1d7/attachment.htm>


More information about the Kea-users mailing list