[Kea-users] Leases for known clients only - how ?

Jan Rovner jan.rovner at diadema.cz
Sun Dec 10 16:45:45 UTC 2023


Thank you,

exactly - but at the times of KEA 1.4, pools were mandatory elements in config for subnet:

Here is an excerpt from my config - for example for device 192.168.109.3 in the network 192.168.109.0/24,

there is a fake pool "192.168.109.0/32" - I don't like that, but it works.

Thank you for an up-to date approach working in today's KEA.

Jan

    "subnet4": [
      {
        "id": 102001,
        "pools": [
          {
            "pool": "192.168.109.0/32"
          }
        ],
        "reservation-mode": "all",
        "reservations": [
          {
            "hw-address": "00:15:5d:bf:fd:11",
            "ip-address": "192.168.109.3",
          }
        ],
        "subnet": "192.168.109.0/24",
      },

Jan


From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of Kevin P. Fleming
Sent: Sunday, December 10, 2023 12:04 PM
To: kea-users at lists.isc.org
Subject: Re: [Kea-users] Leases for known clients only - how ?

On Sun, Dec 10, 2023, at 05:47, Jan Rovner via Kea-users wrote:
Hello,

I would like to ask about a pure static KEA DHCP server setup, where:

- only the well-known clients with static reservations for their MACs will get reserved IP addrs (leases)

- unknown clients/devices won't get anything (ideally no reply from DHCP server, or some kind of NAK)

If yes, may I ask for a working demo config file - I mean related declarations of pools and client reservations...


Isn't this just reservations for all known clients and no pools at all?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231210/97f5d0c1/attachment.htm>


More information about the Kea-users mailing list