Hello.
I am trying to setup configuration where entire subnet must be used with host
reservation in database.
Configuration is following:
Client class with condition that should never exists:
curl -X POST -H "Content-Type: application/json" -d '{ "command":
"remote-class4-set","arguments": {"client-classes": [{"name": "DenyAll","test":
"option[60].hex == 0x53686f756c644e65766572457869737473"}],"remote": {"type":
"mysql"},"server-tags": [ "all" ]}, "service": [ "dhcp4" ] }'
53686f756c644e65766572457869737473 = "ShouldNeverExists"
Shared network with matching to client class "DenyAll".
Client class mathing is on shared network level.
Than I defined subnets in this shared network
And host reservation with circuid id option also in database.
curl -X POST -H "Content-Type: application/json" -d '{ "command":
"reservation-add","arguments": {"reservation": {"subnet-id": 1,"circuit-id":
"0x43484e3131","ip-address": "89.149.76.55"}}, "service": [ "dhcp4" ] }'
http://192.168.80.69:8000/
The problem is that with this scenario I get "DHCP4_SUBNET_SELECTION_FAILED"
message in the logs.
But if I remove client-class option from shared network device gets ip address
that I defined in host reservation.
Is there a way to setup kea to allocate leases from pools from shared networks
only with host-reservation?
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_______________________________________________
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