Zero-downtime, web-based management for ISC DHCP Server â built in Rust.
Compiles to a single static x86_64-unknown-linux-musl binary. No runtime dependencies required.
Detects your Linux distribution and installs the ISC DHCP server automatically if missing.
Auto-patches Debian/Ubuntu systems to run IPv4-only, preventing common IPv6 daemon crashes.
Modern, responsive interface for managing subnets, fixed leases, and app settings.
Displays systemctl status and journalctl logs directly in the browser after restart.
Config files are generated with strict 0600 (root-only) permissions.
chmod +x atrc_dhcp_server_manager_x86_64_linux
sudo ./atrc_dhcp_server_manager_x86_64_linux
# Install build dependencies (Debian/Ubuntu)
sudo apt update
sudo apt install build-essential musl-tools
# Build for x86_64 and i686 musl targets
time nice ./compile_atrc_dhcp_server_manager.sh
Binaries will be located in:
target/x86_64-unknown-linux-musl/release/atrc_dhcp_server_managertarget/i686-unknown-linux-musl/release/atrc_dhcp_server_managerOn first execution, the application will:
apt or dnf)./etc/atrc_dhcp_manager/dhcp_server.conf with defaults./etc/default/isc-dhcp-server to serve IPv4 only.0.0.0.0:8080.adminadminOpen your browser and navigate to:
http://<your-server-ip>:8080
Click Manage Subnets in the dashboard.
| Field | Example |
|---|---|
| Network | 192.168.10.0 |
| Netmask | 255.255.255.0 |
| Range Start | 192.168.10.50 |
| Range End | 192.168.10.200 |
| Router | 192.168.10.1 |
| Broadcast | 192.168.10.255 |
Click Add Subnet & Apply, then go to the Dashboard and click Restart DHCP Service.
Click Manage Fixed Leases in the dashboard.
| Field | Example |
|---|---|
| Hostname | hr-printer-01 |
| MAC Address | 00:1A:2B:3C:4D:5E (use colons) |
| IP Address | 192.168.10.201 (outside dynamic range) |
| Device Type | Printer |
Click Add Lease & Apply, then restart the DHCP service from the dashboard.
Click Application Config to modify:
0.0.0.0)8080)isc-dhcp-server or dhcpd)After any configuration change, click Restart DHCP Service on the dashboard. The page will display:
systemctl status outputjournalctl logs for troubleshooting| File Path | Description | Permissions |
|---|---|---|
/etc/atrc_dhcp_manager/dhcp_server.conf |
ATRC Manager's internal state (TOML format). Stores app settings, subnets, and leases. | 0600 (Root only) |
/etc/dhcp/dhcpd.conf |
The active ISC DHCP Server configuration file, generated dynamically by the Manager. | 0644 |
/etc/default/isc-dhcp-server |
Debian/Ubuntu init defaults. Modified by the Manager to enforce IPv4-only mode. | 0644 |
| Symptom | Likely Cause | Solution |
|---|---|---|
| "Unit not found" on restart | DHCP server isn't installed | Run sudo apt install isc-dhcp-server manually. |
| "Configuration file errors" | Typo in Subnet or MAC address | Check the journalctl output in the Web UI. It points to the exact line. Correct it and restart. |
| "Lease declared twice" | Overlapping subnet ranges | Ensure subnet ranges don't overlap with fixed leases or other subnets. |
| Cannot access Web UI | Firewall blocking port 8080 | Run sudo ufw allow 8080/tcp (Ubuntu) or check cloud security groups. |
| Forgot Admin Password | Locked out of Web UI | Edit /etc/atrc_dhcp_manager/dhcp_server.conf, change admin_password, save, and restart the app. |
| Service fails with IPv6 errors | IPv6 daemon can't find subnet6 declaration | The Manager auto-patches this on startup. If it persists, verify /etc/default/isc-dhcp-server has INTERFACESv6="". |
00:11:22:33:44:55). Hyphens (00-11-22...) will cause the DHCP server to fail on restart.
admin_password on first login.bind_address to 127.0.0.1.8080./etc/atrc_dhcp_manager/dhcp_server.conf and /etc/dhcp/dhcpd.conf.Developed and maintained by ATRC (Applied Technology Research Center).
For enterprise support, custom integrations, or IT consulting: