From nobody Fri Dec 26 12:28:27 2025 X-Original-To: virtualization@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 4dd4f35THnz6LWNy for ; Fri, 26 Dec 2025 12:28:27 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dd4f34tQvz3fqf for ; Fri, 26 Dec 2025 12:28:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766752107; 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; bh=ROj5RKI62/xnC6r45YedM+rpvsg1J4qQUuWUI1dxtDA=; b=weCfFuPPcQTjPS2tlGlMsRO/B7cvkaPyfsKWzl17IQeVkNiZNAkS5367vNPFi+xDNq6d+b OFCsl/JucOO3Sfi1ct6X1fLeuoDUtMHZzRWBa7CJJFVY3S+3tOXkzuJ4IC0vjh7F4Dm5IY cwLsPJdFNI0sZEoek1dg2Bbn63CQjhikChAehaR5gkPjYBaUHHINqZN9MUh0P+mVP6ycxx SPOh4djftMxj8JfKmZ4F0EfgWJoxk//Rzc0VvTr89COSTuigDtr/uLs6RcpQHAGKZ+tdvQ kuIYzd4F2GheRh28FmlFt2cXNbBkBG6Y2izVh1fQxt0AoG/1QnOJ7fTDLCJ4zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1766752107; 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; bh=ROj5RKI62/xnC6r45YedM+rpvsg1J4qQUuWUI1dxtDA=; b=TTkqBtQMOpc5EK4Dao0BA/Og0w2LmgEyItsa03SovSUAoe4U0+041RiIZGBbs2VBUtr2Wv jUSouM8QOwXKh5t71Z5j8jdZwQCxYdq+W5Yh4KlLZAHfBWVIUQdRtZ1XOj2cCqIZ5xSUsu ilzUFIAfM4P1HQZYRGf8Yp1VDiVPSYLGABRCTeW728276uwAIJTgJQqoHKiQTldKplOKqM 5Q3ySyTdKpmZRVW4wMnbt/EjoIiscolARVJXeJ8L3Sct24NAre2v/uXu6PwUPND4AoXbec vtpYwHp79k8Oqpbi6Aio3v4T75f9+erP09PehBAJJwFZrkO3pyBRthjIRWj3Ng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1766752107; a=rsa-sha256; cv=none; b=wzMn4lj8Oua5EqpWLsiP+nsVUwp+zYQve2SAURnQ9iwa6Xkueah9PqLm6FinG+FftZIA6E Wv44+DtKdCYQh8s7R7WaKSo2pBXt+ukTZe9uMXPt7Yo05EqPYOZKqn4/Z/MGs5fGcEX384 DkzX/jtbyRls7VO+NtkIqq8R3N+Qa71BYh2uC/rJUuT+5W/RmpaPKUvXymbYlklzUoEXQk 3ytLXKJpA0owiw6LL36NAUYzSESBsFE38o6W0Q9ZVEZSAgAQOcvjBoRNHA/ZJZx2BArYMl jd1o8OA18o/bi2V0zKvzXRQDAqw64+wi3uEuUqTBcMmnxDSO6J/a7IylbW+TpQ== 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 4dd4f34Fqkz1CC1 for ; Fri, 26 Dec 2025 12:28:27 +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 5BQCSR8b065091 for ; Fri, 26 Dec 2025 12:28:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BQCSRnV065090 for virtualization@FreeBSD.org; Fri, 26 Dec 2025 12:28:27 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: virtualization@FreeBSD.org Subject: [Bug 291948] Stop using NetApp's OUI for generated MAC addresses Date: Fri, 26 Dec 2025 12:28:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D291948 Bug ID: 291948 Summary: Stop using NetApp's OUI for generated MAC addresses Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: michaelo@FreeBSD.org If a MAC address is not supplied for a NIC the code says: > ./usr.sbin/bhyve/net_utils.c: * The default MAC address is the standar= d NetApp OUI of 00-a0-98, We should stop using NetApp's OUI (see net_genmac()). The manpage says: > If mac is not specified, the MAC address is derived from a > fixed OUI and the remaining bytes from an MD5 hash of the > slot and function numbers and the device name. Since "fixed" is not specified it is implementation specific and can be cha= nged anytime. AT least 16-CURRENT shall use 58:9C:FC. It needs to be made sure that the generated MAC address is within > ./sys/net/ieee_oui.h:#define OUI_FREEBSD_BHYVE_LOW OUI_FREEBSD(0x000= 001) > ./sys/net/ieee_oui.h:#define OUI_FREEBSD_BHYVE_HIGH OUI_FREEBSD(0x0ff= fff) --=20 You are receiving this mail because: You are the assignee for the bug.=