... | ... | @@ -12,8 +12,6 @@ This page documents status of client classification as of 1.5.0 (January 2019), |
|
|
|
|
|
1. With the increasing number of classes defined, kea performance drops. This can be mitigated with only-if-required flags. This, however, complicates the setup, because you need to specify in which subnets each class is required.
|
|
|
|
|
|
1. Kea doesn't have the ability to create classes on the fly. The idea is that you take a fixed prefix and add a value of some option, e.g. you configure a DEVICE_VENDOR_ prefix and value of first 3 bytes of MAC address. A client sends a packet with MAC address 01:02:03:04:05:06, so the packet is assigned to class DEVICE_VENDOR_01_02_03. There would be one such definition and it would work for all 16 millions of possible values. This would be a rough equivalent to spawn client classes in isc dhcp, except we wouldn't create any long lasting objects in memory.
|
|
|
|
|
|
1. Whatever we choose to, it has to be documented and explained clearly. @sgoldlust reported several doc sections that are unclear and confusing.
|
|
|
|
|
|
# Goals
|
... | ... | @@ -40,7 +38,9 @@ There are arguments in favor of going the way ISC DHCP with options precedence: |
|
|
|
|
|
1. CON: If misconfigured, there's a huge potential to shoot your own foot.
|
|
|
|
|
|
**Action C**: _add your proposal here_
|
|
|
**Action C**: Develop a new hook with classes templates. Kea doesn't have the ability to create classes on the fly. The idea is that user would define templates, similar to flex-id expressions. In a way it would be flex-id for classes. You take a fixed prefix and add a value of some option, e.g. you configure a DEVICE_VENDOR_ prefix and value of first 3 bytes of MAC address. A client sends a packet with MAC address 01:02:03:04:05:06, so the packet is assigned to class DEVICE_VENDOR_01_02_03. There would be one such definition and it would work for all 16 millions of possible values. This would be a rough equivalent to spawn client classes in isc dhcp, except we wouldn't create any long lasting objects in memory. This would be a great subscriber material.
|
|
|
|
|
|
**Action D**: _add your proposal here_
|
|
|
|
|
|
# References
|
|
|
- https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#dhcp4-client-classifier
|
... | ... | |