Hello.
I am trying to implement the following scenario:
DHCP will allocate ip addresses from different subnets acording to matching
client class.
Each PoP(router) will have own client class, based on suboption 150 of option
82.
I made a client class "GponTestMGM"(kea-dhcp4.conf in attachment)
{
"name":"GponTestMGM",
"test":"option[82].option[150].hex == 0x6441a000"
}
In the logs i see that kea matches dhcpdiscover to this client class(dhcp4 log
in attachment):
...EVAL_RESULT Expression GponTestMGM evaluated to 1
And also
...DHCP4_CLASS_ASSIGNED [hwtype=1 60:f1:8a:be:5c:18],
cid=[01:60:f1:8a:be:5c:18], tid=0x55155455: client packet has been assigned to
the following class(es): ALL, GponTestMGM, UNKNOWN
But the problem is that kea doesnt match shared network and subnet.
Configuration of shared network:
sharedred-networks": [
{
"subnet4": [
{
"id": 1,
"option-data": [{"name": "routers","data": "100.65.160.1"} ],
"pools": [{ "pool": "100.65.160.2 - 100.65.160.100"}],
"rebind-timer": 20,
"renew-timer": 10,
"subnet": "100.65.160.0/19",
"valid-lifetime": 30,
"client-class": "GponTestMGM"
}
],
"valid-lifetime": 200,
"interface":"eno3"
}
]
But in the logs i see:
...failed to select subnet for the client
What am i doing wrong?
THanks!
_______________________________________________
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
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users