Bug #15130
closedKea will not start with identical MAC address filters on multiple interfaces
100%
Description
Steps to duplicate:
Enter identical MAC address filters on two interfaces. kea will no longer start:
Jan 2 17:45:31 kea-dhcp4 94541 ERROR [kea-dhcp4.dhcp4.0x37f82be12000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': Can't add class: Client Class: mac_001122 has already been defined (/usr/local/etc/kea/kea-dhcp4.conf:62:13)
Tested on:
24.03-DEVELOPMENT (amd64)
built on Wed Dec 27 6:00:00 UTC 2023
FreeBSD 15.0-CURRENT
Updated by aleksei prokofiev 11 months ago
Tested on:
23.09.1-RELEASE (amd64)
built on Wed Dec 20 18:27:00 UTC 2023
FreeBSD 14.0-CURRENT
I can confirm this behavior
Updated by Kris Phillips 11 months ago
I can confirm this issue. I also can confirm that it happens with both the Allowed MACs and Denied MACs fields. You can have your MAC address in the same field on two or more interfaces or one in each opposing field on each interfaces to trigger the issue.
Updated by Danilo Zrenjanin 7 months ago
Tested against:
24.03-RELEASE (amd64) built on Wed Apr 24 17:38:00 UTC 2024 FreeBSD 15.0-CURRENT
The issue persisted.
May 4 07:19:22 kea-dhcp4 265 ERROR [kea-dhcp4.dhcp4.0x23dc89412000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': Can't add class: Client Class: mac_1C57DC603576 has already been defined (/usr/local/etc/kea/kea-dhcp4.conf:62:13)
Updated by Kris Phillips 4 months ago
Customer in ticket 2460340376 is affected by this and asking for an update on a resolution.
Updated by Danilo Zrenjanin 4 months ago
- Status changed from New to Confirmed
I tested and was able to reproduce the issue on the latest 24.08 DEVELOPMENT release.
Updated by Christian McDonald 3 months ago
- Assignee set to Christian McDonald
- Target version set to CE-Next
- Plus Target Version set to 24.08
Updated by Christian McDonald 3 months ago
- Status changed from Confirmed to In Progress
Updated by Christian McDonald 3 months ago
- Status changed from In Progress to Feedback
Updated by Christian McDonald 3 months ago
Updated by Christian McDonald 3 months ago
- % Done changed from 0 to 100
Applied in changeset 03225b474358b66c96c59c1b87420b0078583ef4.
Updated by Alhusein Zawi 3 months ago
kea-dhcp4 service is working with identical MAC address filters on multiple interfaces.
24.08-DEVELOPMENT (amd64)
built on Wed Sep 4 9:58:00 PDT 2024
FreeBSD 15.0-CURRENT
Updated by Jim Pingle about 1 month ago
- Plus Target Version changed from 24.08 to 24.11