-
released this
2026-05-16 00:47:52 +03:00 | 17 commits to main since this releaseFirst public release.
What it is
A tiny portable DHCP server for the laptop of a storage/server engineer.
Plug a cable into a server's BMC/host port (or into a switch), double-click
dhcpsrv.exe, pick the NIC — the box gets an IP, you see it pop up in the
live table.Highlights
- Single .exe, ~12 MB, no Python required on the target machine.
- One question at startup: which network adapter to use.
- Defaults: server
10.10.10.1/24, pool10.10.10.2..10.10.10.51
(50 addresses), lease7200 s, TFTP option (66/150) = server IP. - Live TUI (rich):
- header with server config + counters (Leases used / Pkts / DISCOVER /
REQUEST / RELEASE); - clients table with
#, IP, Hostname, MAC, Last seen, Ping; - rolling events panel.
- header with server config + counters (Leases used / Pkts / DISCOVER /
- Event-driven UI — no flicker on resize.
- Reliable ping — uses the
TTL=marker so a real BMC reboot is
reflected as red--. - Filters out wireless / VPN / virtual adapters from the picker.
Install
Unzip, double-click
dhcpsrv.exe, accept UAC, pick a NIC.
Ctrl+Cto stop; you'll be asked whether to revert the NIC to DHCP.Build from source
python -m pip install rich pyinstaller python -m PyInstaller --onefile --uac-admin --console --name dhcpsrv dhcpsrv_app.pyDownloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
dhcpsrv-portable-v1.0.0.zip
1 download · 12 MiB