Using the Kea DHCP DROP class
  • 22 Oct 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Using the Kea DHCP DROP class

  • Print
  • Share
  • Dark
    Light

Sometimes clients send DHCP packets that you would like your DHCP server to ignore. For example you may have modems that send DHCPRELEASE packets, only to return a short time later looking for a new IP address, which can cause unwanted churn in the available address pools.

Kea 1.6 introduced a new built-in class, the DROP class - this is described in the Client Classification section of the Kea Administrator Reference Manual

The DROP class can be used to classify and then ignore (drop) any client traffic that you can identify. Here's an example of the DROP class being used to ignore unwanted DHCPRELEASE packets:

"client-classes": [
   { "name": "DROP", "test": "pkt4.msgtype==7" },
   ...
],

(DHCPRELEASE packets have message type 7)