The following configuration works for my environment, using Mac address for 
ipv6 reservations

- on the dhcp client side after installing the node, I force the use of the 
DUID-LL and the setting dhcp6.method = auto (if I remember correctly it is used 
to set the routing correctly)
       nmcli connection modify <iface> ipv6.dhcp-duid ll
       nmcli connection modify <iface> ipv6.method auto
 
- on the kea dhcp server  with the following option I can used the Mac address 
for ipv6 reservations

     - "mac-sources": [ "client-link-addr-option", "ipv6-link-local”] —> I’ve 
configured relay agent on router so ipv6-link-local should not be used 

- "host-reservation-identifiers": ["hw-address”]

- example of host reservations

    {
   "hostname": “<fqdn>",
   "hw-address": “00:00:00:00:00:00",
   "ip-addresses": [“abcd:abcd::7"] 
} ,

   Hope this help,

Cristina 

> On 29 Nov 2024, at 13:06, Marek Greško via Kea-users 
> <kea-users@lists.isc.org> wrote:
> 
> 
> Nope, solution is to not place reservations into leases. The reservations in 
> leases create more problems then it solves. There are many change requests 
> for it from multiple people. This was just step sidewards.
> 
> Marek
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> On Friday, November 29th, 2024 at 11:46, Francis Dupont <fdup...@isc.org> 
> wrote:
> 
>> Véronique is right: the solution is to use flex-id with replace-client-id
>> set to true.
>> 
>> Regards
>> 
>> Francis Dupont fdup...@isc.org
> -- 
> 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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users

-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to