[kea-dev] Kea DHCP 1.3 issue

Mikhail Yagodin mikhail.yagodin at eltex-co.ru
Wed Nov 22 07:53:41 UTC 2017


Hi, everyone! My name is Mikhail.

Please help me to solve my problem that I've faced while migrating from 
old dhcpd to Kea v1.3.

Quote from dhcpd.conf:

"class "xx.yy.zz class" {
   match if(
     (binary-to-ascii(10, 8, ".", packet(12, 3)) = "xx.yy.zz")
   );
}
"

Here we compare part of source IP address with certain pattern.

How can I solve this issue? I suppose that I need to have at least two 
functions "reverse" and "findfirst" to succeed, or may you please 
suggest another solution?

Furthermore, if these functions do not exist, can I implement them to 
contribute to this project?

Thanks.

Mikhail Yagodin



More information about the kea-dev mailing list