KEA IPv6 Leases

Started by rjopn, November 25, 2025, 08:51:10 PM

Previous topic - Next topic
The "Services: Kea DHCP: Leases DHCPv4" shows to which interface the IP-address is assigned.

The "Services: Kea DHCP: Leases DHCPv6" shows only "LAN" as interface.

Have I done something wrong?




Apparently there are no IPv6 leases on any other interface?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Make sure that your device supports DHCPv6. For example, Google devices currently only support slacc, which will not appear on KEA IPv6 leases.

Many IoT devices only support SLAAC, if they support IPv6 at all.

Other than that, you have to select the correct RA mode to instruct devices to use DHCPv6 for all interfaces where you want it.

To me, it does not make much sense to use DHCPv6, even if you want to identify devices, because with IPv6 privacy extensions and randomized MACs these days, you cannot effectively do that anyway. Therefore, I prefer to use SLAAC only: https://forum.opnsense.org/index.php?topic=45822.0
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Quote from: Patrick M. Hausen on November 25, 2025, 08:59:56 PMApparently there are no IPv6 leases on any other interface?

Thanks. The IPv4 Web-GUI shows them "correct".

Quote from: meyergru on November 25, 2025, 09:26:01 PMMany IoT devices only support SLAAC, if they support IPv6 at all.

Other than that, you have to select the correct RA mode to instruct devices to use DHCPv6 for all interfaces where you want it.

To me, it does not make much sense to use DHCPv6, even if you want to identify devices, because with IPv6 privacy extensions and randomized MACs these days, you cannot effectively do that anyway. Therefore, I prefer to use SLAAC only: https://forum.opnsense.org/index.php?topic=45822.0


Thanks. I will have a look at it...

Quote from: rjopn on November 26, 2025, 08:18:25 PMThanks. The IPv4 Web-GUI shows them "correct".

I meant probably all these leases ARE in the LAN interface. Can you tell for sure they belong anywhere else?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Quote from: Patrick M. Hausen on November 26, 2025, 09:04:05 PM
Quote from: rjopn on November 26, 2025, 08:18:25 PMThanks. The IPv4 Web-GUI shows them "correct".

I meant probably all these leases ARE in the LAN interface. Can you tell for sure they belong anywhere else?

Thanks. I am now using SLAAC...

The DHCPv6 leases are coming from different interfaces:

HOME = ::10
IOT =  ::20

but it shows only LAN.

As long as Kea DHCPv6 is not active for an interface, it is neither shown nor selectable in the interface filter of the "leases" display.

SLAAC is never shown at all, because those are no leases - the clients decide for themselves, which suffix they use. You would see SLAAC assigments in the NDP table only. If you ever had DHCPv6 leases, they will show up for a long time after they have been handed out, though.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+