bhyve: Document that MAC address has to be unicast

bhyve accepts any MAC address even foreign as long it is a unicast one.

Reviewed by:	ziaee
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D54372
This commit is contained in:
Michael Osipov
2025-12-26 14:40:37 +01:00
parent 02376be32d
commit e1bfd541c7
2 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd December 23, 2025 .Dd December 26, 2025
.Dt BHYVE 8 .Dt BHYVE 8
.Os .Os
.Sh NAME .Sh NAME
@@ -551,6 +551,7 @@ If
is not specified, the MAC address is derived from a fixed OUI, and the 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 remaining bytes from an MD5 hash of the slot and function numbers and
the device name. the device name.
If specified, it must be a unicast MAC address.
.Pp .Pp
The MAC address is an ASCII string in The MAC address is an ASCII string in
.Xr ethers 5 .Xr ethers 5
+8 -4
View File
@@ -517,8 +517,10 @@ Intel e82545 network interfaces support the following variables:
.It Sy Name Ta Sy Format Ta Sy Default Ta Sy Description .It Sy Name Ta Sy Format Ta Sy Default Ta Sy Description
.It Va mac Ta MAC address Ta generated Ta .It Va mac Ta MAC address Ta generated Ta
MAC address. MAC address.
If an explicit address is not provided, If not specified, the MAC address is derived from a fixed OUI, and the
a MAC address is generated from a hash of the device's PCI address. remaining bytes from an MD5 hash of the slot and function numbers and
the device name.
If specified, it must be a unicast MAC address.
.El .El
.Ss Frame Buffer Settings .Ss Frame Buffer Settings
.Bl -column "password" "[IP:]port" "127.0.0.1:5900" .Bl -column "password" "[IP:]port" "127.0.0.1:5900"
@@ -746,8 +748,10 @@ VirtIO network interfaces support the following variables:
.It Sy Name Ta Sy Format Ta Sy Default Ta Sy Description .It Sy Name Ta Sy Format Ta Sy Default Ta Sy Description
.It Va mac Ta MAC address Ta generated Ta .It Va mac Ta MAC address Ta generated Ta
MAC address. MAC address.
If an explicit address is not provided, If not specified, the MAC address is derived from a fixed OUI, and the
a MAC address is generated from a hash of the device's PCI address. remaining bytes from an MD5 hash of the slot and function numbers and
the device name.
If specified, it must be a unicast MAC address.
.It Va mtu Ta integer Ta 1500 Ta .It Va mtu Ta integer Ta 1500 Ta
The largest supported MTU advertised to the guest. The largest supported MTU advertised to the guest.
.El .El