[Kea-users] Question regarding to HA for kea-dhcp6 VMs

Victoria Risk vicky at isc.org
Thu Feb 29 21:09:34 UTC 2024


Xiao,

This is actually exactly why we implemented HA instead of DHCPv4 failover! So that you can use the same mechanism for DHCPv6. 

I am sorry if the documentation was misleading at all, I think the documentation focuses on DHCPv4 because that is what most people are using.

Vicky

> On Feb 29, 2024, at 4:04 PM, Xiao, Yu (CCI-Atlanta) via Kea-users <kea-users at lists.isc.org> wrote:
> 
> Greetings,
>  
> I have an interesting question for you esp for ISC developers. I want to only use kea-dhcp6, which means I need VMs working as DHCP servers to provide IPv6 addresses to other devices so those clients can have IPv6 addresses. But I don’t care or need that my kea-dhcp6 servers themselves have IPv6 addresses or not.
>  
> But the problem is that in the documentation, I can see they give some examples which all put the redundancy configurations under the Dhcp4 configuration section. Does it imply that in order to use the HA feature for kea-dhcp6 servers, my DHCP servers themselves must be configured to have their own IPv6 addresses? I don’t think this makes any sense since in reality we only need the connectivity between primary and secondary servers no matter this connectivity is based on IPv4 or IPv6.
>  
> "Dhcp4": {
>     "hooks-libraries": [
>         {
>             "library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so <http://libdhcp_lease_cmds.so/>",
>             "parameters": { }
>         },
>         {
>             "library": "/usr/lib/kea/hooks/libdhcp_ha.so <http://libdhcp_ha.so/>",
>             "parameters": {
>                 "high-availability": [ {
>                     "this-server-name": "server1",
>                     "mode": "load-balancing",
>                     "peers": [
>                         {
>                             "name": "server1",
>                             "url": http://192.168.56.33:8000/,
>                             "role": "primary"
>                         },
>                         {
>                             "name": "server2",
>                             "url": http://192.168.56.66:8000/,
>                             "role": "secondary"
>                         }
>                     ],
>                     "state-machine": {
>                         "states": [
>                             {
>                                 "state": "waiting",
>                                 "pause": "once"
>                             }
>                         ]
>                     }
>                 } ]
>             }
>         }
>     ],
>     ...
> }
>  
> May I ask can I configure my servers like this?
>  
> "Dhcp6": {
>     "hooks-libraries": [
>         {
>             "library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so <http://libdhcp_lease_cmds.so/>",
>             "parameters": { }
>         },
>         {
>             "library": "/usr/lib/kea/hooks/libdhcp_ha.so <http://libdhcp_ha.so/>",
>             "parameters": {
>                 "high-availability": [ {
>                     "this-server-name": "server1",
>                     "mode": "load-balancing",
>                     "peers": [
>                         {
>                             "name": "server1",
>                             "url": http://192.168.56.33:8000/,
>                             "role": "primary"
>                         },
>                         {
>                             "name": "server2",
>                             "url": http://192.168.56.66:8000/,
>                             "role": "secondary"
>                         }
>                     ],
>                     "state-machine": {
>                         "states": [
>                             {
>                                 "state": "waiting",
>                                 "pause": "once"
>                             }
>                         ]
>                     }
>                 } ]
>             }
>         }
>     ],
>     ...
> }
>  
>  
>  
> Related section:
> https://downloads.isc.org/isc/kea/2.5.5/doc/html/arm/hooks.html#hooks-high-availability
>  
>  
>  
>  
> Best Regards,
> Yu
>  
> -- 
> 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
> Kea-users at lists.isc.org <mailto:Kea-users at lists.isc.org>
> https://lists.isc.org/mailman/listinfo/kea-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240229/4a079f90/attachment-0001.htm>


More information about the Kea-users mailing list