Skip to content

Detect duplicate static mappings #10

@collumbrian

Description

@collumbrian

On ISC it allowed me to create duplicate entries for the same IP address. On Kea it gives an error and the service can't start. It'd be nice if this tool recognized that as an error at a minimum and either didn't migrate that reservation or asked the user what it wanted to do with it.

In my case I have a device (Home Theater AVR) that can either be configured Wi-Fi or Ethernet (but only one or the other) so I gave it the same IP address for both of its MAC Addresses. ISC was fine with this but Kea is not.

This is the error it would give and failed to start up.

ERROR [kea-dhcp4.dhcp4.0xe9d9e612000] DHCP4_PARSER_FAIL failed to create or run parser for configuration element subnet4: failed to add new host using the HW address 'XXXXXXXXX and DUID '(null)' to the IPv4 subnet id '1' for the address YYYYYYY: There's already a reservation for this address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions