Hi Veronique,

Thanks for that - that's what we were missing: the auth info inside the peers block.


A note to the Kea Document Maintainers: I do not recall *ever* reading *anywhere* in the doco or sample config files where the basic-auth-user and basic-auth-password need to be included in the ha->peers block. Of course, I may have missed it, but still, it may behove you to make something like this much more predominant in the documentation *and* sample config files.


Thanks to everyone who helped us out in this - we really appreciate it


Cheers


Dulux-Oz


On 27/01/2023 18:49, Veronique Lefebure wrote:
We have this in the kea-ctrl-agent config and it works fine:

    "authentication": {
      "type": "basic",
      "realm": "kea-control-agent",
      "clients": [
        {
          "user": "xxxxx",
          "password": "yyyy"
        }
      ]
    }

and in kea-dhcp4.conf:

        "parameters": {
          "high-availability": [
            {
...
              "peers": [
                {
                  "auto-failover": true,
"basic-auth-password": "yyyy",
                  "basic-auth-user": "xxxx",
                  "name": "kea1.example.com",
                  "role": "primary",
                  "url": "http://xx.xxx.xx.xx:90xx/";
                },
...
-- 
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

Reply via email to