Skip to content

Kea DHCPv4 does not respond to DHCPDISCOVER on VLAN interface despite correct configuration #9756

@mgsdomo

Description

@mgsdomo

Environment:

  • OPNsense version: 26.1.1
  • Kea DHCPv4 enabled
  • VLAN interface: WIFI_VLAN50 (vlan0.50)
  • Interface IP: 10.4.50.5/28
  • DHCP pool: 10.4.50.6–10.4.50.14
  • Auto collect option data: enabled
  • Firewall rule: allow DHCP on WIFI_VLAN50
  • Client: mobile phone connecting via UniFi AP

Problem:
Kea receives no DHCPDISCOVER on WIFI_VLAN50, even though the firewall logs show the packet arriving on the correct interface.

Firewall log example:
UDP 0.0.0.0:68 → 255.255.255.255:67 (pass, allow access to DHCP server)

Kea log shows no DHCPDISCOVER entries at all.

Additional tests:

  • Assigning a static IP (10.4.50.10/28) on the client works perfectly: routing, DNS and Internet access all function.
  • This confirms VLAN tagging, switching, routing and firewall rules are correct.
  • Only Kea DHCPv4 fails to respond.

Expected behavior:
Kea should receive the DHCPDISCOVER and respond with DHCPOFFER.

Actual behavior:
Kea receives nothing and does not respond.

Notes:
The same configuration works instantly if switching to ISC DHCPv4.

VLAN INTERFACE CONFIG:

Image

KEA SUBNET CONFIG:

Image

FIREWALL LOGS SHOWING DISCOVER:

Image

KEA LOGS WITHOUT DISCOVER:

Image

FIREWALL LOGS - CLIENT WITH STATIC ADDRESS:

Image

ISC DHCPv4 LEASES:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteIssue template missing info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions