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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

김수인

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. 


_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users