[Bug 290173] Async DHCP does not work with bridge(4) interfaces via devd

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Oct 2025 17:13:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290173

            Bug ID: 290173
           Summary: Async DHCP does not work with bridge(4) interfaces via
                    devd
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: dhorn2000@gmail.com

Created attachment 264499
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264499&action=edit
[patch] /etc/devd/dhclient.conf changes for bridge

Submitted proposed patch in review D53051 to update /etc/devd/dhclient.conf to
enable bridge interface matching for dhclient devd rules.

When devd initializes the /etc/devd/dhclient.conf configuration for async DHCP,
it requires either a media-type match to Ethernet or 802.11 in the current
version. Unfortunately, bridge interfaces do not seem to have any media type
defined that devd can detect, so does not execute the service dhclient
quietstart $subsystem call.

This patch adds a case without a media-type match explicitly to handle bridge
interfaces. In my testings, lagg aleady identifies as an Ethernet interface
(IFM_ETHER), so works without a special case. This patch ONLY addresses
bridge(4) interfaces with async DHCP.

-- 
You are receiving this mail because:
You are the assignee for the bug.