From nobody Fri Aug 29 17:24:47 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cD4rv681Rz65syL for ; Fri, 29 Aug 2025 17:24:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cD4rv5MnRz3GvM for ; Fri, 29 Aug 2025 17:24:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756488287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V9FDZi+F6eUZvUyi+1wcc7N3xdzedFm3/iqeDYOecdk=; b=WzI7MFXbTi6L6Mi2hBt9rxwEvKeEWhmf6zeeVyijt2/QN4BKeH+NVwScoVQKmkM04NY98e hX6/PMttLq4dOhwZS/Qdlx3hm1Az1JT2hab1cQxrNFKWm2It0bF1YrIvKLLz0meOHC1MpB xCuwVvR/4mwD/U6+ZwvcPEDcvkdNCPA9s2f/B9xD/MajloRaiwEZQFx7487vRgjMqaXxSK 0SStA1Srvxyecmu5Lh1x3fCBJoV2f5Yb+nXiNDB2yfeXAJmwFo4JHeyurFEXvPw1tcAnb/ NaT8Y+52mVue5MGOQmnZRX1geE6YIb4ngif2TxvO4GiRmj8HzF82ffCPPVQdAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756488287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V9FDZi+F6eUZvUyi+1wcc7N3xdzedFm3/iqeDYOecdk=; b=anipXFZrsPEwFn2rvkV5BVhbZdQdn+uM0reryaqTImC+ixkVoIFcmcY0tsMjhKSbMJ1pib uCJQfFZd5sx1b3sCxsG+jG3JSUh2/9WzM/6jZUFKdf+Wy6cdANURy3Wm7QPCc6QyANK8um GjGLtgk1b2rOkJrjtOSbfeR5RrfNmxsadqq6VIhtR5WmtujomHW+O1HfDOz4WYkE4S5Ijg 0XxkJ56hp+ag+M/1ACFZQCrS4gLje2mgC2oK6Sq+3j+NWU+rXRDbiVcXuk/z60qQSYkmCo ClZ+6QNxJQ7BgwYxmfapimR/T6HmjbgUmgNVRSvYYFlTBsG8zj+c114AHn03Dw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756488287; a=rsa-sha256; cv=none; b=wVXQWvgVS+avg6UG6aHp6emIZ8C0gACIxnfQnChX9WCix+C+y5p3EJPB+T79NzKxugILuz xsDgdveLk7k1NWXctg0nYeBeiA+9CuzQvtW0buISqM5bXQgi/HDSf5p9k/7LFbBqV+8/Wp 5EOwbfc/Zvp56rkja3UNDc3HzdARhArE2QtbTGo4mGyS7fkAGNPJCgCQ/aFQNyKcZ8IoJC Vo2BdHtozspB8Nl2ShCPqFcqCVvDnMHms5mWe2Npoc1BKXdfy91k8IDOUEVKb/70+VOq4t BYkWFpsJCuU8BKL5mnM3rXvHeyYt0O845h8WTTinyLIbdpfN3OJZe+GIyiXsBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cD4rv4vzDzqCJ for ; Fri, 29 Aug 2025 17:24:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 57THOl89094317 for ; Fri, 29 Aug 2025 17:24:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57THOlAx094316 for net@FreeBSD.org; Fri, 29 Aug 2025 17:24:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 289142] sysutils/vm-bhyve: public bridge fails on 15-CURRENT unless net.link.bridge.member_ifaddrs=1 is set Date: Fri, 29 Aug 2025 17:24:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hpaluch@seznam.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289142 --- Comment #4 from Henryk Paluch --- (In reply to Henryk Paluch from comment #3) Addendum: I was partially wrong: there is LINK_UP event (I was wrong) but n= ot "media-type" (I was right). I verified following workaround: My minimal bridge definition in /etc/rc.conf ifconfig_vtnet2=3D"up" ifconfig_bridge2=3D"DHCP addm vtnet2" cloned_interfaces=3D"bridge2" My new devd configuration file /etc/devd/hpbridge.conf with contents: # kludge to make DHCP works on bridge (it has no media-type) # notify 0 { match "system" "IFNET"; match "type" "LINK_UP"; match "subsystem" "bridge2"; action "service dhclient quietstart $subsystem"; }; With this devd configuration DHCP client starts properly and bridge gets assigned IP address: $ ifconfig -u bridge2 bridge2: flags=3D1008843 m= etric 0 mtu 1500 options=3D10 ether 58:9c:fc:10:de:3b inet 192.168.123.218 netmask 0xffffff00 broadcast 192.168.123.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 bridge flags=3D0<> member: vtnet2 flags=3D143 port 3 priority 128 path cost 2000 vlan protocol 802.1q groups: bridge nd6 options=3D9 $ ps ax | grep 'dhclient: bridge' | fgrep -v grep 1838 - Is 0:00.00 dhclient: bridge2 [priv] (dhclient) 1862 - ICs 0:00.00 dhclient: bridge2 (dhclient) So now the question is - how could we filter LINK_UP just for bridges - to = have dedicated rule for them? --=20 You are receiving this mail because: You are on the CC list for the bug.=