Skip to content

Kea: permit reservation to be created without "ip address" field #10208

Description

@whezzel

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

The DHCP reservation form (Services -> Kea DHCP -> Kea DHCPv4 -> Reservations; add new reservation) prevents the creation of new reservations if the IP address field is not set. In ISC DHCP, the IP address field is optional, and since Kea is poised to replace ISC DHCP, it should match the functionality where possible.

Per Kea documentation, this is a supported configuration for reservations (https://kb.isc.org/docs/what-are-host-reservations-how-to-use-them#example-addresses-prefixes)

Every host reservation must reserve at least one resource; if not, Kea complains at configure time. Resources include address, prefixes, options, hostname, and client classes.

Describe the solution you like

I would like to be able to create reservations without being required to set an IP address. This would primarily be used to set a specific hostname on a device that does not return the correct hostname, without setting a specific IP on that device.

Describe alternatives you considered

  • Create a DHCP reservation with an IP address configured.
  • Manually configure Kea and set reservations directly in the config files without using the Web UI.

Additional context

Add any other context or screenshots about the feature request here or links to relevant forum thread or similar

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportCommunity support or awaiting triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions