NetBox DHCP
The NetBox DHCP plugin enables NetBox to manage operational DHCP data such as servers, shared networks, subnets, pools, options and host reservations. It serves as a "source of truth" for DHCP servers, such as Kea DHCP, providing data for network automation tools that can be used to configure the DHCP infrastructure.
This works in much the same way in which NetBox provides configuration data for automatic configuration of network components, or NetBox DNS provides the input necessary to configure DNS infrastructure and zone data.
Requirements
- NetBox 4.7.0 or higher.
- Python 3.12 or higher.
Installation & Configuration
Installation
$ source /opt/netbox/venv/bin/activate
(venv) $ python3 -m pip install netbox-plugin-dhcp
NetBox Configuration
Add the plugin to the NetBox configuration file /opt/netbox/netbox/netbox/configuration.py:
PLUGINS = [
"netbox_dhcp",
]
To permanently keep the plugin installed when updating NetBox via upgrade.sh:
echo netbox-plugin-dhcp >> /opt/netbox/local_requirements.txt
To add the required tables to your database run the following command from your NetBox directory:
./manage.py migrate
Full documentation on using plugins with NetBox: Using Plugins - NetBox Documentation.
Contribute
Contributions are always welcome! Please see the Contribution Guidelines.
Documentation
There is no documentation at this point.
License
MIT
Known Issues
- There is an issue that sometimes causes a lock conflict while running the test suite. The symptom is that the tests stop at some point and the
./manage.py test netbox_dhcpcommand never returns. The issue does not seem to affect normal operation, just the tests. The specific tests have been disabled for the time being until the issue is resolved. - Documentation is still missing.
These issues will be addressed in upcoming Beta releases.
Metadata
Release files for netbox-plugin-dhcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netbox_plugin_dhcp-0.2.0.tar.gz | 70.8 kB | With provenance | Details for netbox_plugin_dhcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netbox_plugin_dhcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for netbox_plugin_dhcp-0.2.0-py3-none-any.whl |
Total release size: 220.9 kB
Release files / netbox_plugin_dhcp-0.2.0.tar.gz
| Download URL | netbox_plugin_dhcp-0.2.0.tar.gz |
|---|---|
| Size | 70.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0de89361c022c271694319762226ffb276657675997d6536cf75c139d07e596
|
|
BLAKE2b-256 checksum How to use checksums |
894bfa1b36002cfd89fc7382253187381588eb93854d17b11fab915707339a2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency logRelease files / netbox_plugin_dhcp-0.2.0-py3-none-any.whl
| Download URL | netbox_plugin_dhcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 150.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fa2221357bafe3884fcb38fe8934104232bb17632789707683c561f27217794
|
|
BLAKE2b-256 checksum How to use checksums |
058a9bd5b14df8d8c46cfd820c3975077e9bdbe6f7b29fe04ac15ae085a8f824
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency logSecurity for netbox-plugin-dhcp 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for netbox_plugin_dhcp-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.