[Bug 291948] Stop using NetApp's OUI for generated MAC addresses
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Dec 2025 12:28:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291948
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 standard 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 changed
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(0x000001)
> ./sys/net/ieee_oui.h:#define OUI_FREEBSD_BHYVE_HIGH OUI_FREEBSD(0x0fffff)
--
You are receiving this mail because:
You are the assignee for the bug.