[Kea-users] client getting IP without reservation

Bob Harold rharolde at umich.edu
Wed Nov 22 18:24:24 UTC 2023


On Wed, Nov 22, 2023 at 12:41 PM Jason Keltz <jas at yorku.ca> wrote:

> Hi.
>
> I have now configured my Kea installation with many subnets, each with
> their own reservations.  It's working well.
>
> There's also one global reservation set for hosts that are configured
> without an IP so they can connect in the dynamic range of any subnet.
>
> I wanted to do a test of what would happen if a host ether was not
> referenced in either the subnet or global sections.
>
> I took one host which was getting a reserved IP in a subnet, released
> the IP, then changed the host ethernet address in the Kea config file so
> that the host would no longer be recognized.
>
> When I DHCP renew on the host, I now get an IP in the dynamic range.
> This isn't the behaviour I want.  Since the host doesn't have a
> reservation either in a subnet or in the global pool, I want to be
> denied an IP.
>
> What option am I missing?
>
> Jason.
>
> Remove the dynamic range, if you don't want dynamic clients.  DHCP
Reserved clients should be outside any range.

(or limit it to some class of clients or list of allowed mac addresses or
other client ids or vendor ids)
... at least that's how it works in dhcpd.

-- 
Bob Harold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231122/a623891f/attachment.htm>


More information about the Kea-users mailing list