Page MenuHomeFreeBSD

bhyve: Document that MAC address has to be unicast
ClosedPublic

Authored by michaelo on Fri, Dec 26, 1:43 PM.
Tags
None
Referenced Files
F140908542: D54372.diff
Mon, Dec 29, 12:33 PM
Unknown Object (File)
Sat, Dec 27, 4:31 PM
Unknown Object (File)
Sat, Dec 27, 2:39 PM
Unknown Object (File)
Sat, Dec 27, 2:04 PM
Unknown Object (File)
Sat, Dec 27, 12:37 PM
Unknown Object (File)
Sat, Dec 27, 4:44 AM
Unknown Object (File)
Fri, Dec 26, 8:49 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

michaelo retitled this revision from bhyve: Document MAC address has to be unicast to bhyve: Document that MAC address has to be unicast.Fri, Dec 26, 1:45 PM

Just works:

2025-12-26T14:17:09+01:00:  [bhyve options: -c 8,sockets=1,cores=8 -m 8G -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/usr/local/bhyve/deblndw013x10v/uefi-vars.fd -K de -o system.serial_number=CZ3139VJ3010V -U 14039640-8512-11f0-826d-b499bac04fbe -u]
2025-12-26T14:17:09+01:00:  [bhyve devices: -s 0,hostbridge -s 31,lpc,fwcfg=qemu -s 0:4:0,nvme,/usr/local/bhyve/deblndw013x10v/disk0.img,ser=nvme1 -s 0:5:0,virtio-net,tap2,mac=5a:9c:fc:12:34:56]
2025-12-26T14:17:09+01:00:  [bhyve console: -l com1,/dev/nmdm-deblndw013x10v.1A]
2025-12-26T14:17:09+01:00: starting bhyve (run 1)

2025-12-26T14:23:01+01:00:  [bhyve options: -c 8,sockets=1,cores=8 -m 8G -AHPw -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd,/usr/local/bhyve/deblndw013x10v/uefi-vars.fd -K de -o system.serial_number=CZ3139VJ3010V -U 14039640-8512-11f0-826d-b499bac04fbe -u]
2025-12-26T14:23:01+01:00:  [bhyve devices: -s 0,hostbridge -s 31,lpc,fwcfg=qemu -s 0:4:0,nvme,/usr/local/bhyve/deblndw013x10v/disk0.img,ser=nvme1 -s 0:5:0,virtio-net,tap2,mac=ca:fe:00:12:34:56]
2025-12-26T14:23:01+01:00:  [bhyve console: -l com1,/dev/nmdm-deblndw013x10v.1A]
2025-12-26T14:23:01+01:00: starting bhyve (run 1)
ziaee added inline comments.
usr.sbin/bhyve/bhyve.8
553–554
usr.sbin/bhyve/bhyve_config.5
522

Remember to check the linter with mandoc -Tlint here/is/manual

753
This revision is now accepted and ready to land.Fri, Dec 26, 2:35 PM
usr.sbin/bhyve/bhyve_config.5
522

Darn, so right. I don't work on manpages often...

This revision now requires review to proceed.Fri, Dec 26, 2:59 PM

Thanks for doing these!

This revision is now accepted and ready to land.Fri, Dec 26, 4:09 PM