DHCP server

Hand out addresses on the networks you choose, from one OpenBSD dhcpd.

View leases {{#DRIFT_BADGE}}{{#B_UNSAVED}}Unsaved edits{{/B_UNSAVED}}{{#B_DRIFT}}{{B_LABEL}}{{/B_DRIFT}}{{#B_ERROR}}Drift state unknown{{/B_ERROR}}{{#B_OK}}In sync{{/B_OK}}{{/DRIFT_BADGE}}
{{#ERROR}}
{{ERROR}}
{{/ERROR}} {{#FLASH}}
{{FLASH}}
{{/FLASH}} {{#ADOPTION}}

Existing dhcpd configuration detected

This router has a /etc/dhcpd.conf that OgmaProtect does not manage. Applying from this page replaces it with the settings below. The current file is preserved to dhcpd.conf.preadopt before the first overwrite, and shown read-only here — it is never imported automatically.

{{#LIVE_PREVIEW_TRUNCATED}}

Preview truncated — the full file is preserved on adoption.

{{/LIVE_PREVIEW_TRUNCATED}}
{{/ADOPTION}}
Configured {{ENABLED_LABEL}} Server {{RUNNING_LABEL}}
{{#ENABLED_DRIFT}}

The server's service state does not match the configuration — applying re-synchronizes it.

{{/ENABLED_DRIFT}} {{#CONFIG_DRIFT}}

The live /etc/dhcpd.conf differs from the saved configuration (hand-edited, or never applied) — applying overwrites it with the settings below.

{{/CONFIG_DRIFT}}

DHCP server

Served networks

Tick an interface to serve DHCP on its network.

{{SUBNET_CARDS}}
{{#ADOPTION}} {{#WRITE}} {{/WRITE}} {{/ADOPTION}} {{#WAN_CONFIRM}} {{/WAN_CONFIRM}} {{#WRITE}} {{/WRITE}}
{{#PF_HINT}}

Firewall

Ensure your firewall passes UDP ports 67 and 68 on {{HINT_SUBNETS}} so clients can reach this server. This page never changes firewall rules — manage them on the Firewall page.

{{/PF_HINT}}
Live DHCP server log (dhcpd)
Open to stream dhcpd events.
TimeSourceProgramMessage

Scoped to the dhcpd tag in /var/log/daemon. Watch DHCPDISCOVER / DHCPOFFER / DHCPACK negotiations as devices join. Requires the log:*:read capability.