On 3/20/26 08:44, Kraishak Mahtha wrote:
Hi Peter, Thanks for responding. So, basically, I have these doubts
The client-class definition inside the pool was previously one line, now
in the latest version. I see that the client class is a set of
ArrayLists, so can we mention the comma-separated classes,
like let's say I have two pools configured in load balancing mode, where
I want to associate pool-1 with clientclassPhones and pool-2 to
associate with clientclassLaptop can we configure it like below
"pools": [
{
"client-classes": ["HA_dev-ipv4-stack-remote-20",
"clientclassPhones"]
"pool": "14.0.0.12-14.0.0.19"
},
{
"client-classes": ["HA_kea-dhcp-21", "clientclassLaptop"]
"pool": "14.0.0.2-14.0.0.9"
}
],
On Fri, Mar 20, 2026 at 4:36 PM Peter Davies <[email protected]
<mailto:[email protected]>> wrote:
Hi Kraishak,
HA's Hub and Spoke configuration is designed to support multiple
"hot-standby"
HA relationships.
If you attempt to define multiple "load-balancing" relationships, Kea
will exit
with the following message:
“HA_CONFIGURATION_FAILED failed to configure High Availability hooks
library: multiple HA relationships are only supported for 'hot-standby'
mode”
For configurations examples: see:
https://kea.readthedocs.io/en/latest/arm/hooks.html#hub-and-spoke-
configuration <https://kea.readthedocs.io/en/latest/arm/
hooks.html#hub-and-spoke-configuration>
/Peter
--
Peter Davies
Support Engineer
--
ISC funds the development of this software with paid support
subscriptions. Contact us at https://www.isc.org/contact/ <https://
www.isc.org/contact/> for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
[email protected] <https://lists.isc.org/mailman/listinfo/kea-
[email protected]>
Note that this configuration will not work like you expect. The
"client-classes" setting is an implicit "OR" operation. A client is
allowed to use the pool if they have any of the classes in the list. In
order to make an "AND" operation of the server handling the client and
your laptop vs phone split, you would need 4 pools and 4 classes. Each
class can just test for membership in 1 HA server class and either
laptop or phone class, and then set each pool's "client-classes" to one
of these classes.
-Doug
--
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.
[email protected]