[Kea-users] ISC DHCP to Kea – Why KeaMa comments some options?
Peter Davies
peterd at isc.org
Sat Apr 12 13:32:14 UTC 2025
Hi Diogo
I ran this config snippet through Keama and got:
Started parsing new subnet declaration in line 1
(...)/bc97e1f6-17a1-11f0-8122-0242ac120002.conf line 3: unknown option dhcp6.vendor-class
option dhcp6.vendor-class 0
^
Could this be because option 16 is expected to be sent by the client and not by the server?
/Peter
From: "Kea-users at lists.isc.org" <kea-users at lists.isc.org>
To: "Kea-users at lists.isc.org" <kea-users at lists.isc.org>
Cc: "Diogo André de Assumpção" <daa at meta.com>
Sent: Friday, 11 April, 2025 17:40:29
Subject: [Kea-users] ISC DHCP to Kea – Why KeaMa comments some options?
Hi all,
I’m using KeaMa to validate a few things around a planned migration from ISC to Kea. I noticed that for some v6 options the script will output a Kea version of the ISC config, but comment it out. Any idea why?
Here’s an example:
ISC:
subnet6 2001:db8:1234::/64 {
option dhcp6.name-servers 2001 : DB 8 : 1234 :: 53 ;
option dhcp 6 .vendor-class 0 10 "HTTPClient" ;
option dhcp 6 .bootfile-url "http://deploy.cisco.com/install/ipxe2/ipxeb.efi" ;
pool 6
{
range6 2001 : DB 8 : 1234 :: 320 2001 :DB 8 : 1234 :: 1000 ;
}
}
Kea
{
"id": 1997,
"subnet": "2001:db8:1234::/64",
"option-data": [
{
"space": "dhcp6",
"name": "dns-servers",
"code": 23,
// "original-data": "2001:DB8:1234::53",
"data": "2001:db8:1234::::53"
}
// {
// "space": "dhcp6",
// "name": "vendor-class",
// "code": 16,
// "data": "0, 10, HTTPClient"
// }
// {
// "space": "dhcp6",
// "name": "bootfile-url",
// "code": 59,
// "data": "http://deploy.cisco.com/install/ipxe2/ipxeb.efi"
// }
],
"pools": [
{
"pool": "2001:db8:1234::320 - 2001:db8:1234::1000"
}
]
},
Thanks!
– Diogo
--
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
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250412/85f941de/attachment.htm>
More information about the Kea-users
mailing list