Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
Normal
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
24.11
Release Notes:
Default
Affected Version:
Affected Architecture:

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

Actions #1

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

Actions #2

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.

Actions #3

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)
Actions #4

Updated by Kris Phillips 4 months ago

Customer in ticket 2460340376 is affected by this and asking for an update on a resolution.

Actions #5

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.

Actions #6

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
Actions #7

Updated by Christian McDonald 3 months ago

  • Status changed from Confirmed to In Progress
Actions #8

Updated by Christian McDonald 3 months ago

  • Status changed from In Progress to Feedback
Actions #10

Updated by Christian McDonald 3 months ago

  • % Done changed from 0 to 100
Actions #11

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

Actions #12

Updated by Marcos M 3 months ago

  • Status changed from Feedback to Resolved
  • Target version changed from CE-Next to 2.8.0
Actions #13

Updated by Jim Pingle about 1 month ago

  • Plus Target Version changed from 24.08 to 24.11
Actions

Also available in: Atom PDF