Knowledge Base ISC Main Website Ask a Question/Contact ISC
How can I protect my DHCP server from a badly behaved spamming client?
Author: Cathy Almond Reference Number: AA-00211 Views: 2587 Created: 2011-04-01 17:02 Last Updated: 2017-03-02 10:52 0 Rating/ Voters


There's no rate-limiting built into the dhcp server, but you may be able to use iptables or other software or middleware solutions to provide that kind of protection for your server.

However, in dhcpd.conf you can block a client by using deny booting; or ignore booting;.

For example:

class "badguys" {
    match hardware;
    ignore booting;

subclass "badguys" 1:00:01:02:03:04:05;


host "bad1" {
    hardware ethernet 00:01:02:03:04:05;
    ignore booting;

What is the difference between deny and ignore?

The difference between deny and ignore is that deny logs a message, ignore is silent.


Kea currently (March 2017) allows selective client drops by using hooks mechanism (see pkt4_receive and pkt6_receive hook points). More convenient method of dropping misbehaving clients will be added in ticket #5167 (see

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu