docker_notes:docker-dhcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker_notes:docker-dhcp [2023-11-05 Sun wk44 10:49] – [main dhcp4] baumkpdocker_notes:docker-dhcp [2024-02-24 Sat wk08 14:18] (current) – [References] baumkp
Line 1: Line 1:
 {{tag>linux docker kea dhcp}} {{tag>linux docker kea dhcp}}
 ======Docker - DHCP Server====== ======Docker - DHCP Server======
-propose to create a Docker ISC Kea Image using base Docker Alpine Linux images, with S6 init system. <fs x-small>(ISC Kea is a modern replacement for their DHCP.)</fs>+Since mid 2023 have been running a Docker ISC Kea Image using base Docker Alpine Linux images, with S6 init system. <fs x-small>(ISC Kea is a modern replacement for their DHCP.)</fs>  The main DHCP server runs on my main server and I have an automatic fall over back up on my separate Linux router.  I basically followed the Kea template [[https://kea.readthedocs.io/en/latest/arm/config-templates.html#template-home-network-of-a-power-user|Home Network of a Power User]].  I was never quite sure I had the automatic fall over back-up working. On 2023-01-02 I modified a configuration file on the primary server with a syntax error. Today, 8 days later I notice millions of lines of errors on my log files.  Sure enough the backup had simply been working.  I fixed up the simple syntax error and the primary server took back over.  Everything basically worked as expected.
  
 ISC also has a project for a simple GUI interface primarily for Kea and basic for Bind9.  There is apparently no Alpine package yet for Stork. ISC also has a project for a simple GUI interface primarily for Kea and basic for Bind9.  There is apparently no Alpine package yet for Stork.
Line 63: Line 63:
 ====Kea logging==== ====Kea logging====
   *[[https://kb.isc.org/docs/kea-logging-configuration|Kea Logging Configuration]]   *[[https://kb.isc.org/docs/kea-logging-configuration|Kea Logging Configuration]]
 +I have stored log files in the .config directory that is a Docker mounted volume for persistence and easy external viewing outside container.  The following logs files can be seen.
 +  * ''.config/log/kea-dhcp4-commands.log''
 +  * ''.config/log/kea-dhcp4-dhcpsrv.log''
 +  * ''.config/log/kea-dhcp4-leases.log''
 +  * ''.config/log/kea-dhcp4.log''
 +  * ''.config/log/kea-dhcp4-ha-hooks.log''
  
 ====Kea Miscellaneous==== ====Kea Miscellaneous====
Line 78: Line 84:
     *[[https://github.com/JonasAlfredsson/docker-kea| JonasAlfredsson / docker-kea ]]     *[[https://github.com/JonasAlfredsson/docker-kea| JonasAlfredsson / docker-kea ]]
  
-<- docker_notes:docker-dns|Back ^ docker_notes:index|Start page ^ docker_notes:nginx-php-notes|Next ->+<- docker_notes:docker-dns|Back ^ docker_notes:index|Start page ^ docker_notes:diun-ntfy|Next ->
  • /app/www/public/data/attic/docker_notes/docker-dhcp.1699152577.txt.gz
  • Last modified: 2023-11-05 Sun wk44 10:49
  • by baumkp