Suppression of DHCP servers (dhcdrop)

dhcdrop is a utility for suppressing unnecessary DHCP servers and stress testing.

Install the necessary packages to compile the source:

sudo apt-get install build-essential automake libtool libpcap-dev

Download the archive with the latest version of the source code from the site www.netpatch.ru/dhcdrop.html and unpack:

wget http://www.netpatch.ru/downloads/dhcdrop/dhcdrop-0.5.tar.bz2
tar -xvjf dhcdrop-0.5.tar.bz2

Open the directory with unpacked sources and compile them:

cd dhcdrop-0.5
./configure
make
sudo make install

Example of start commands:

sudo dhcdrop -i eth0 -l mac_legal_server
sudo dhcdrop -i eth0 -y -l mac_legal_server

An example of stress testing a DHCP server with DHCPDISCOVER:

sudo dhcdrop -i eth0 -f

View Help:

man dhcdrop
dhcdrop -h
Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply