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 <johan...@midgren.net>
Sent: 10 November 2021 23:38
To: Peter Davies <peter.watson.dav...@outlook.com>
Cc: egor.gri...@orange.com <egor.gri...@orange.com>; kea-users@lists.isc.org 
<kea-users@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.
_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to