From nobody Wed Dec 18 14:22:12 2024 X-Original-To: bugs@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 4YCwqS3tYTz5hPnt for ; Wed, 18 Dec 2024 14:22:12 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCwqS106cz4L7j for ; Wed, 18 Dec 2024 14:22:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734531732; 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=jB9aKKbrGhA1PGdtGsV26nmRCaAp4Wi7FWmrpQOtRVM=; b=QAUJhkomWrhIwLTRGU8JVZFGBtaXvf+MQ0PXS1GJPol3WaVkbv9keCKTsunWTHwazPgeGf n1H6YlU4F6v1TKWso+1afVB4VRS+ODXbI2rWACG6jThARROHVk6lUu/CcvEGwWC9Yt+IMF O0rudKz4Ooio09bRiNbv2unIBXTmeBTzHlGIbpvdcSa45ipYmHfbDKpKVg/BDi8nVVO5/K WUEsxD9nlJJB6xFiYYLx1Mtbm9pGTi553YPV8ZJAgx38lGVKvIW7ikQ9zWFkk667ueh2nz UFJWWlnBUgq4EJS9C/A/ugLxMqUxV2FDZtbfj8mPZJ2hnhXhO8e3cugT/31TFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734531732; a=rsa-sha256; cv=none; b=NgGDK8Mzkysc+ICYIn8tuzBvyNDdtUm8RfezwXSzkNgmgW/fWeK5JJSf14GHGd6JvmqpA/ P2v0yIWzU5omIbGfcEJ9jIopj8DaWkTCbw1UTBgt5eRsjnzkODihWwpHmyzZkVxK6uy9l+ xX6t4mO+HKZ4yO3MA3PdrNAdajcevD/alAZJMU7pXTLkNlLihiTFZRuO6HSaEimkTCNZAH U4CT689R1FFWOSevkUM6QzB52qRE4uxHb0CeL0P5wptxIOSPENSAgsDXUHiFUSVvaysB/Y 4NFQBDipU78h4WvLYd9sUYuQrz+NOsU4KQT64OWYsyxz7s+/pNosieoRu8b0XA== 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 4YCwqS0JF0z1BGP for ; Wed, 18 Dec 2024 14:22:12 +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 4BIEMBDO076064 for ; Wed, 18 Dec 2024 14:22:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BIEMBsv076063 for bugs@FreeBSD.org; Wed, 18 Dec 2024 14:22:11 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: bugs@FreeBSD.org Subject: [Bug 283400] if_bridge(4) contains false statement about link address selection Date: Wed, 18 Dec 2024 14:22:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jason.mann@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283400 Bug ID: 283400 Summary: if_bridge(4) contains false statement about link address selection Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: jason.mann@gmail.com CC: doc@FreeBSD.org if_bridge(4) contains the following paragraph: The if_bridge interface randomly chooses a link (MAC) address in the range reserved for locally administered addresses when it is created. This address is guaranteed to be unique only across all if_bridge interfaces on the local machine. Thus you can theoretically have two bridges on different machines with the same link addresses. The addre= ss can be changed by assigning the desired link address using ifconfig(8). It appears that the choice of bridge link address is not random, but is ins= tead based on the value of kern.hostid. If two systems mistakenly end up with the same hostid, when using disk clon= ing for example, then the MAC address chosen for bridge interfaces will also be= the same. To avoid confusion, this should be clarified. Also, the MAC address chosen for a bridge appears to always begin with the octets 58:9c:fc:10:xx:xx. The '8' as the second digit of the first octet indicates a universally administered address, not a locally administered on= e. https://en.wikipedia.org/wiki/MAC_address#Ranges_of_group_and_locally_admin= istered_addresses --=20 You are receiving this mail because: You are the assignee for the bug.=