[Kea-users] IPv6 Address Selection from Pool
Peter Davies
peterd at isc.org
Thu Apr 20 06:55:31 UTC 2023
Hi Jeff,
The development/experimental branch Kea 2.3.6 introduces an
"iterative" and
a "random" address allocator. These may be defined at "global", "shared
network"
and "subnet" levels.
See
https://kea.readthedocs.io/en/kea-2.3.6/arm/dhcp6-srv.html#address-allocation-strategies-in-dhcpv6
This functionality will be included in the next stable release Kea 2.4.0
Kind Regards Peter
On 20/04/2023 06.33, Jeff Kletsky wrote:
> I'm working on a long-overdue IPv6 rollout here and have gotten to the
> point where I've got clients on one VLAN successfully requesting and
> receiving leases from a "trivial" single pool and managing a single
> reservation. Kea 2.2.0, FreeBSD 13.1
>
> I was surprised that the leases seem to be handed out sequentially. I
> had thought that one of the touted advantages of IPv6 is sparse host
> density, making net scanning more challenging for rogue actors.
> Packing 16 hosts into the first 16 addresses of the pool seemed
> counter enough to that to have me wonder if I have missed a
> configuration option somehow.
>
> Sole subnet6 declaration:
>
> "subnet6": [
> {
> "subnet" : "fd8a:bbbb:cccc:000b::/64",
>
> "interface": "vif2",
>
> "pools": [ { "pool": "fd8a:bbbb:cccc:000b:0::/80" } ],
>
> "option-data": [
> ],
>
> "reservations": [
> {
> "hw-address": "11:22:33:aa:bb:cc",
> "hostname": "named-host.example.com",
> "ip-addresses": [ "fd8a:bbbb:cccc:b:1111:222:3333:444" ]
> }
> ]
> }
> ],
>
>
> Is there some setting, parameter, or technique to get the lease
> assignments from the pool to be broadly distributed?
>
> Thanks!
>
> Jeff
>
>
>
>
>
>
>
--
Peter Davies
Support Engineer
Internet Systems Corporation
More information about the Kea-users
mailing list