From nobody Wed Dec 18 14:22:12 2024 X-Original-To: doc@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 4YCwqS1Bt2z5hPmT 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 4YCwqR6bHkz4L5Q for ; Wed, 18 Dec 2024 14:22:11 +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=1734531731; 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=YsgDKwTlgFU3ijjQyEQJwXhB1mTryTGgR9t5G/O6xZ4=; b=A31R++CXb1r6ZfeHPzxCgKJgU4FGfGJhTjOmeKUX9pJQxN6d3h8gW0jDWwZA6/3/WIT+km GzC8pFL/4D3dc3peQUe09lRhauv/GwCwgAOkk0lp1LYxCGXBkw4bn2UqrufK0956i4LweX r3OA0momI+8mQPqBHyqwu78LcF5jW9PCPDZtQM2yxmld2noEkcg/A84S4191EKqaHAJvu8 NtgYa5zNWwRwhHQQ3Fl4P3s6l5L4NBj9SohnKUSXH+5ZtIGzKYu1DdDxkNLgmSgkQ2PN9S QPSprbXpi29t+ldDmGp6koBninCUUtmzWEWW3I95PDow79vUX4PB5xhciPyxEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734531731; a=rsa-sha256; cv=none; b=bhzfPfxWSIwyv9OsvIB3g+CCS+cIA7NFpAe32d8meRG10hs2AxerQKQyGHVGJqlTGIRNwz yZDpWEzomHS9LqrpKLvC73+YdI4izmtnflxNaDEzS/oDPSQjkIUlyh5VimRkOFtPohodfk Ly9Wk3X392LclI8YP08JbGsSQbiFLnla9yaGACwAj3p8jlJOWrbX2czQdD+30FDqUYU7Lj jjxYd4gy7QqmhI/XHRH4JYiIC/EfI8p+SdhbDwFg750wtyHW0IUjZJqEcSXnvSvw8MFpZp r181QugLqQ4i97ZXTaq+asfvjcULOjTO6YfozSl2CViIB2G1lK3dY09ov0t5oA== 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 4YCwqR6CPlz1BGM for ; Wed, 18 Dec 2024 14:22:11 +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 4BIEMBdH076056 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 4BIEMBAs076055 for doc@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: doc@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: CC 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@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 on the CC list for the bug.=