git: b53120be1656 - stable/14 - if_bridge.4: clarify how if_bridge assigns a MAC address
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Jun 2025 07:57:28 UTC
The branch stable/14 has been updated by maxim:
URL: https://cgit.FreeBSD.org/src/commit/?id=b53120be165637066b06203f246364a128041a2f
commit b53120be165637066b06203f246364a128041a2f
Author: Maxim Konovalov <maxim@FreeBSD.org>
AuthorDate: 2025-06-03 19:19:59 +0000
Commit: Maxim Konovalov <maxim@FreeBSD.org>
CommitDate: 2025-06-10 07:52:00 +0000
if_bridge.4: clarify how if_bridge assigns a MAC address
PR: 283400
MFC after: 1 week
(cherry picked from commit 08bc0097734824ff436769a95569e32575b51da3)
---
share/man/man4/bridge.4 | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/share/man/man4/bridge.4 b/share/man/man4/bridge.4
index 2c3bfd6aedfa..da47ba62b854 100644
--- a/share/man/man4/bridge.4
+++ b/share/man/man4/bridge.4
@@ -36,7 +36,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd May 5, 2025
+.Dd May 28, 2025
.Dt IF_BRIDGE 4
.Os
.Sh NAME
@@ -79,10 +79,12 @@ command or using the
variable in
.Xr rc.conf 5 .
.Pp
-The
+When it is created, the
.Nm
-interface randomly chooses a link (MAC) address in the range reserved for
-locally administered addresses when it is created.
+interface gets assigned a link (MAC) address in the range of universally
+administered addresses reserved for the FreeBSD Foundation by hashing
+the host UUID, jail name, and the interface name.
+If this fails, a random, locally administered address is generated instead.
This address is guaranteed to be unique
.Em only
across all