Bug #15130
closed
Kea will not start with identical MAC address filters on multiple interfaces
Added by Chris Linstruth 11 months ago.
Updated about 1 month ago.
Plus Target Version:
24.11
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
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
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.
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)
Customer in ticket 2460340376 is affected by this and asking for an update on a resolution.
- Status changed from New to Confirmed
I tested and was able to reproduce the issue on the latest 24.08 DEVELOPMENT release.
- Assignee set to Christian McDonald
- Target version set to CE-Next
- Plus Target Version set to 24.08
- Status changed from Confirmed to In Progress
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
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
- Status changed from Feedback to Resolved
- Target version changed from CE-Next to 2.8.0
- Plus Target Version changed from 24.08 to 24.11
Also available in: Atom
PDF