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 <[email protected]>
Sent: 10 November 2021 23:38
To: Peter Davies <[email protected]>
Cc: [email protected] <[email protected]>; [email protected]
<[email protected]>
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users