[Kea-users] isc_kea: Reuse same IP for a host

Mayank Tiwari mike.tiwari at gmail.com
Tue Jun 2 15:39:39 UTC 2020


Hi,

  We have requirement to use same IPv6 for the host after the reboot of the
host. What we have observed is that every SOLICIT message results in
allocation of new IP to the host.

First solicit:
2020-06-02 14:29:41.499 DEBUG [kea-dhcp6.alloc-engine/1]
ALLOC_ENGINE_V6_ALLOC_UNRESERVED no static reservations available - trying
to dynamically allocate leases for client duid=[00:03:00:01:**:45:34],
tid=0x8be064

Second immediate solicit:
2020-06-02 14:29:43.103 DEBUG [kea-dhcp6.alloc-engine/1]
ALLOC_ENGINE_V6_ALLOC_LEASES_NO_HR no reservations found but leases exist
for client duid=[00:03:00:01:**:45:34], tid=0xcae8c5

  Both solicit allocate different IP. (First one ::2, Second one ::3)

 Similarly after reboot of host:

First solicit:
2020-06-02 14:35:38.020 DEBUG [kea-dhcp6.alloc-engine/1]
ALLOC_ENGINE_V6_ALLOC_UNRESERVED no static reservations available - trying
to dynamically allocate leases for client duid=[00:03:00:01:***:45:34],
tid=0xac71b9
Second immediate solicit:
2020-06-02 14:35:38.023 DEBUG [kea-dhcp6.alloc-engine/1]
ALLOC_ENGINE_V6_ALLOC_UNRESERVED no static reservations available - trying
to dynamically allocate leases for client duid=[00:03:00:01:***:45:34],
tid=0xac71b9
Both solicit allocates different IP (First one ::4, Second one: ::5)

  How can I override this behaviour in kea so that for the given DUID it
keeps using same IP address which is allocated for the first time when it
SOLICITS(::2 in this example).

Thanks,
Mayank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20200602/bdb681de/attachment.htm>


More information about the Kea-users mailing list