pydhcp

Python DHCP client/server library

Install

All systems
curl cmd.cat/pydhcp.sh
Debian Debian
apt-get install python-pydhcplib
Ubuntu
apt-get install python-pydhcplib
image/svg+xml Kali Linux
apt-get install python-pydhcplib
Windows (WSL2)
sudo apt-get update sudo apt-get install python-pydhcplib
Raspbian
apt-get install python-pydhcplib

python-pydhcplib

Python DHCP client/server library

pydhcplib is a Python library which provides two levels of support for DHCP clients and servers. The first is the low-level support for encoding and decoding DHCP packets (the library supports both RFC 2131 and RFC 2132 options). The second is support communicate as a client or as a server, sending and receiving packets over the wire.