[Kea-users] IPv6 High Availability hooks library not accepting ipv6 address in square brackets for peers?
Peter Davies
peter.watson.davies at outlook.com
Fri Feb 25 22:08:02 UTC 2022
Hi Dan,
You don't mention what version of Kea you are running, but I think this may be a known issue. One which was fixed in release 2.1.2
see https://gitlab.isc.org/isc-projects/kea/-/issues/2264 "error parsing url with ipv6 address"
Kind Regard Peter
Sent from Outlook<http://aka.ms/weboutlook>
________________________________
From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Dan Oachs <doachs at gac.edu>
Sent: 25 February 2022 22:36
To: kea-users at lists.isc.org <kea-users at lists.isc.org>
Subject: [Kea-users] IPv6 High Availability hooks library not accepting ipv6 address in square brackets for peers?
I currently have ipv6 dhcp working great with high availability and am trying to set up a pair of dhcpv6 servers. However when I try to configure the hook with ipv6 addresses in square brackets as mentioned in the documentation, I get this error....
HA_CONFIGURATION_FAILED failed to configure High Availability hooks library: bad url 'http://[2001:db8::1]:8080/': Failed to convert string to address '[2001:db8::1]': Invalid argument for server
The line in my configuration looks like this...
{"name": "servername","basic-auth-user": "usernamehere","basic-auth-password": "passwordhere","url": "http://[2001:db8::1]:8080/","role": "primary"}
Do I have the configuration wrong, or is there a bug here? Hopefully I am missing something simple.
Thanks,
Dan Oachs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220225/4ceae3d6/attachment.htm>
More information about the Kea-users
mailing list