[Kea-users] a few questions from a Kea newbie

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Nov 14 16:16:51 UTC 2023


On Tue, Nov 14, 2023 at 10:10 AM Jason Keltz <jas at yorku.ca> wrote:

> Hi Kevin,
>
> Thanks for your message!  It was very helpful.
>
> I just tried to do host reservation with memfile and indeed it mostly
> worked.
>
> Multiple ether mapped to same IP is working as you said (with the
> understanding that one would have to released first).
>
> However, my experience with multiple IPv4 addresses to the same ether does
> not work, and you said that it should.
>
> I tried to reserve:
> hw-address: 78:24:af:45:32:99 with hostname test1 and ip <masked ip>
> hw-address: as-above with hostname test1 and different ip
>
> When running kea, it loads the first reservation, but after reading the
> second one, it reports that this HW address has already been added so it
> can't be added again - thoughts?:
>
> DHCP4_PARSER_FAIL failed to create or run parser for configuration element
> reservations: failed to add new host using the HW address
> '78:24:af:45:32:99' to the IPv4 subnet id '0' as this host has already been
> added
> DHCP4_CONFIG_LOAD_FAIL configuration error using file:
> /xconf/kea/kea-dhcp4.conf.fowl1, reason: failed to add new host using the
> HW address '78:24:af:45:32:99' to the IPv4 subnet id '0' as this host has
> already been added
> DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using
> file '/xconf/kea/kea-dhcp4.conf.fowl1': failed to add new host using the HW
> address '78:24:af:45:32:99' to the IPv4 subnet id '0' as this host has
> already been added
>

I think you'd need to have different subnet ids for different IP addresses
for the same MAC.

Otherwise, if both IPs are on the same subnet, how would Kea know which to
use?

-m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20231114/29136640/attachment.htm>


More information about the Kea-users mailing list