[Kea-users] Multiple classes match
Juan Settecase - Interlink S.R.L.
juan at interlink.com.ar
Mon Jan 21 18:59:10 UTC 2019
Hi kea-users list,
I'm working on kea 1.4 and I have a few questions.
It's possible to match multiple classes for same subnet?
Please, forget the syntax check on this example
Suppose I have 3 clases, and 3 IPv4 subnets... for example,
....
"subnet4": [
"client-classes": [
{
"name": "A"
},
{
"name": "B"
},
{
"name": "C"
},
{
"name": "AorB",
"test": "member('A') or member('B')",
"only-if-required": true
}
],
{
"subnet": "10.42.0.0\/16",
"pools": [
{
"pool": "10.42.0.10 - 10.42.0.100"
}
"require-client-classes": [ "AorB" ], /////this subnet
must be selected only for hosts that match within A or B classes
],
{
"subnet": "10.43.0.0\/16",
"pools": [
{
"pool": "10.43.0.10 - 10.43.0.100"
}
"client-class": "B", ],// //this subnet
must be selected only for hosts that match within B class
{
"subnet": "10.44.0.0\/16",
"pools": [
{
"pool": "10.44.0.10 - 10.44.0.100"
},
"client-class": "C", // //this subnet must be selected
only for hosts that match within C class
],
....
Thanks in advanced!
--
Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20190121/13837339/attachment.htm>
More information about the Kea-users
mailing list