kea

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Merge-arrows-2.pngThis article or section is a candidate for merging with Network configuration#DHCP.Merge-arrows-2.png

Notes: Content does not warrant an article. (Discuss in Talk:Kea)

Kea is an open source DHCPv4/DHCPv6 server being developed by ​Internet Systems Consortium. Kea is a high-performance, extensible DHCP server engine that is designed to be easily modified and extended with hooks libraries.

Installation

Install the kea package, available in the official repositories.

Usage

kea includes two unit files kea-dhcp4.service and kea-dhcp6.service, which can be used to control the DHCP daemons. By default, they start the daemons on all network interfaces for IPv4 and IPv6, respectively. There are three other daemons that ship with Kea which do not currently come with built systemd unit files. They are kea-ctrl-agent, which can be used to control running Kea daemons, and kea-dhcp-ddns, which is used to send dynamic DNS updates to DNS servers. The kea-netconf daemon is not currently built with this package.

Configuration

By default, configuration files are stored under /etc/kea. keactrl.conf is a ini style configuration file which is used to configure the keactrl command which can be used in leu of systemd to start and stop kea daemons. The other files, kea-ctrl-agent.conf, kea-dhcp-ddns.conf, kea-dhcp4.conf, kea-dhcp6.conf, and kea-netconf.conf are all JSON formatted config files which control the configuration of the daemons.