dhcp6leased(8)

dhcp6leased8

Dynamic host configuration protocol (dhcpv6) client daemon for ipv6 prefix delegation

Usage

dhcp6leased [-dnv] [-f file] [-s socket]

Overview

dhcp6leased is an IPv6 dynamic host configuration protocol (DHCPv6) daemon for clients. It requests IPv6 prefix delegations from DHCPv6 servers for assignment to downstream interfaces.

DHCPv6 clients are identified by DHCPv6 Unique Identifiers (DUID). dhcp6leased uses a DUID based on a random Universally Unique Identifier (UUID). The DUID is stored in /var/db/dhcp6leased/uuid. If the file does not exist or the UUID is not readable a new UUID is generated.

A running dhcp6leased can be controlled with the dhcp6leasectl(8) utility.

The options are as follows:

-d

Do not daemonize. If this option is specified, dhcp6leased will run in the foreground and log to stderr.

-f file

Specify an alternative configuration file.

-n

Configtest mode. Only check the configuration file for validity.

-s socket

Use an alternate location for the default control socket.

-v

Produce more verbose output. Multiple -v options increase the verbosity.

Files

/dev/dhcp6leased.sock

UNIX-domain socket used for communication with dhcp6leasectl(8).

/etc/dhcp6leased.conf

Default dhcp6leased configuration file.

/var/db/dhcp6leased/⟨if⟩

Interface specific lease files.

/var/db/dhcp6leased/uuid

DUID to identify this client.

Releases

6 releases since OpenBSD 7.6; the text changed 1 time.

  1. 7.6
  2. 7.7–8.0

Standards

T. Mrugalski, M. Siodelski, B. Volz, A. Yourtchenko, M. Richardson, S. Jiang, T. Lemon, and T. Winters, Dynamic Host Configuration Protocol for IPv6 (DHCPv6), RFC 8415, November 2018.

History

The dhcp6leased program first appeared in OpenBSD 7.6.

Authors

The dhcp6leased program was written by Florian Obser ⟨[email protected]⟩.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.