Skip to content

fsedano/kea-dhcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

Image for KEA DHCP server + Mysql + REST interface

Does the world need another KEA Dhcpd server image? I could not find a suitable one so built it.

This is a work in progress, specially need to do multistage

Instructions

kea-admin db-init mysql -u root -p kea_db_pass  -h db -n kea

/usr/local/etc/kea

REST

curl -X POST -H "Content-Type: application/json" -d @example-config.json http://localhost:8000/ | json_pp

Insert host reservation

insert into hosts (dhcp_identifier,dhcp_identifier_type,dhcp4_subnet_id,ipv4_address,hostname) values (0x0050568BD888,0,1,2886865920,'test2')