Skip to content

Instantly share code, notes, and snippets.

@Skywalker-11
Skywalker-11 / README.MD
Last active Mar 8, 2021
kea dhcp systemd service files for single instance
View README.MD

This systemd service files can be used to launch a single kea instance on a server.

This requires that the config files are located under /etc/kea/ and the config files themself match this pattern:

  • dhcp4 server: kea-dhcp6.conf
  • dhcp6 server: kea-dhcp4.conf
  • ddns server: kea-ddns.conf
  • ctrl agent: kea-ctrl-agent.conf

You can name them differently but then have to adjust the service files accordingly

@Skywalker-11
Skywalker-11 / README.MD
Last active Apr 19, 2021
kea dhcp systemd service files for multiple instances
View README.MD

This systemd service files can be used to launch multiple kea instances with different configs on the same server eg. for mutliple vlans or network interfaces

This requires that the config files of each instance are located under /etc/kea/<instanceid>/ and the config files themself also match this pattern:

  • dhcp4 server: kea-dhcp6-<instanceid>.conf
  • dhcp6 server: kea-dhcp4-<instanceid>.conf
  • ddns server: kea-ddns-<instanceid>.conf
  • ctrl agent: kea-ctrl-agent-<instanceid>.conf

You can name them differently but then have to adjust the service files accordingly