kea-dhcp4 - DHCPv4 server in Kea
Synopsis
kea-dhcp4 [-v] [-V] [-W] [-d] [-F] [-R] [-X] [-c config-file] [-t config-file] [-p server-port-number] [-P client-port-number]
Description
The kea-dhcp4 daemon provides the DHCPv4 server implementation.
Arguments
The arguments are as follows:
-vDisplays the Kea version.
-VDisplays the extended Kea version.
-WDisplays the configuration report.
-dEnables the debug mode with extra verbosity.
-FAs of Kea 3.3.0, makes the server exit immediately on any fatal error detected when executing API commands. Default behavior (parameter not set) is to just log the error and continue, making it possible for an administrator to intervene and fix the issue without restarting the server.
-RAs of Kea 3.3.1, starts the server in CB repair mode. DHCP service, lease reclamation, lease sanity checking, and configuration back end data fetching are all disabled. The server will still connect to configured config back ends but will not attempt to fetch and use config back end data. It will however still process all config back end API calls. This allows admins to correct fatal errors that may have been introduced into the config back end data. This mode of operation is intended to be a short term intervention only, once data corrections have been made the server must be restarted without -R to resume normal operation.
-XAs of Kea 3.0, disables security restrictions. The server will still check for violations but will emit warning logs when they are found rather than fail with an error. Please see Kea Runtime Security Policy Checking for details.
-c config-fileSpecifies the configuration file with the configuration for the DHCPv4 server. It may also contain configuration entries for other Kea services.
-t config-fileChecks the configuration file and reports the first error, if any. Note that not all parameters are completely checked; in particular, service and control channel sockets are not opened, and hook libraries are not loaded.
-T config-fileChecks the configuration file and reports the first error, if any. It performs extra checks beyond what -t offers, such as establishing database connections (for the lease backend, host reservations backend, configuration backend, and forensic logging backend), loading hook libraries, parsing hook-library configurations, etc. It does not open UNIX or TCP/UDP sockets, nor does it open or rotate files, as any of these actions could interfere with a running process on the same machine.
-p server-port-numberSpecifies the server port number (1-65535) on which the server listens. This is useful for testing purposes only.
-P client-port-numberSpecifies the client port number (1-65535) to which the server responds. This is useful for testing purposes only.
Documentation
Kea comes with an extensive Kea Administrator Reference Manual that covers all aspects of running the Kea software - compilation, installation, configuration, configuration examples, and much more. Kea also features a Kea Messages Manual, which lists all possible messages Kea can print with a brief description for each of them. Both documents are available in various formats (.txt, .html, .pdf) with the Kea distribution. The Kea documentation is available at https://kea.readthedocs.io.
Kea source code is documented in the Kea Developer's Guide, available at https://reports.kea.isc.org/dev_guide/.
The Kea project website is available at https://kea.isc.org.
Mailing Lists and Support
There are two public mailing lists available for the Kea project. kea-users (kea-users at lists.isc.org) is intended for Kea users, while kea-dev (kea-dev at lists.isc.org) is intended for Kea developers, prospective contributors, and other advanced users. Both lists are available at https://lists.isc.org. The community provides best-effort support on both of those lists.
ISC provides professional support for Kea services. See https://www.isc.org/kea/ for details.
History
The b10-dhcp4 daemon was first coded in November 2011 by Tomek
Mrugalski.
In mid-2014, Kea was decoupled from the BIND 10 framework and became a
standalone DHCP server. The DHCPv4 server binary was renamed to
kea-dhcp4. Kea 1.0.0 was released in December 2015.
See Also
kea-dhcp6(8), kea-dhcp-ddns(8), kea-admin(8), keactrl(8), perfdhcp(8), kea-netconf(8), kea-lfc(8), Kea Administrator Reference Manual.