Project

General

Profile

Actions

Bug #15130

closed
CL CM

Kea will not start with identical MAC address filters on multiple interfaces

Bug #15130: Kea will not start with identical MAC address filters on multiple interfaces

Added by Chris Linstruth over 2 years ago. Updated almost 2 years 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

AP Updated by aleksei prokofiev over 2 years ago Actions #1

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

KP Updated by Kris Phillips over 2 years ago Actions #2

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.

DZ Updated by Danilo Zrenjanin over 2 years ago Actions #3

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)

KP Updated by Kris Phillips about 2 years ago Actions #4

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

DZ Updated by Danilo Zrenjanin about 2 years ago Actions #5

  • Status changed from New to Confirmed

I tested and was able to reproduce the issue on the latest 24.08 DEVELOPMENT release.

CM Updated by Christian McDonald about 2 years ago Actions #6

  • Assignee set to Christian McDonald
  • Target version set to CE-Next
  • Plus Target Version set to 24.08

CM Updated by Christian McDonald about 2 years ago Actions #7

  • Status changed from Confirmed to In Progress

CM Updated by Christian McDonald about 2 years ago Actions #8

  • Status changed from In Progress to Feedback

CM Updated by Christian McDonald about 2 years ago Actions #10

  • % Done changed from 0 to 100

Applied in changeset commit:03225b474358b66c96c59c1b87420b0078583ef4.

AZ Updated by Alhusein Zawi about 2 years ago Actions #11

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

MM Updated by Marcos M about 2 years ago Actions #12

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

JP Updated by Jim Pingle almost 2 years ago Actions #13

  • Plus Target Version changed from 24.08 to 24.11
Actions

Also available in: Atom