[Kea-users] how to insert data other than host table in Mysql

김수인 suin4065 at naver.com
Wed Mar 24 13:16:09 UTC 2021


I am testing to use Kea instead of dhcpd.

I am using mysql as the hosts backend of kea.
The schema version is 8.2. I am using the hosts table well for host reservation purposes. (https://gitlab.isc.org/isc-projects/kea/-/wikis/docs/editing-host-reservations)
However, I would like to use only Mysql, not /etc/kea/kea-dhcp4.conf configuration file.


For example, instead of config below, I would like to use mysql's table to set up a subnet.
"subnet4": [ { "subnet": "192.0.2.0/24", "reservations": [ {"hw-address": "1a:1b:1c:1d:1e:1f", "ip-address": "192.0.2.201"} ]}

I only use host table, but I don't know how to insert data for other tables. Please give me a guide for insert. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210324/150f79cb/attachment.htm>


More information about the Kea-users mailing list