I don't use vm-bhyve, can it be working without vm-bhyve?Bridging does not work with wlan0 device.
You need to use NAT with pf(4) for that.
Details here:
- https://vermaden.wordpress.com/2023/08/18/freebsd-bhyve-virtualization/
Check Laptop WiFi NAT section.
The problem isn't with bhyve(8), it's because of the way a wireless interface works. And sysutils/vm-bhyve is a collection of shell scripts that make life with bhyve(8) easier. How you set up PF for NAT is unrelated to this. You just have to translate the various interface/bridge names as sysutils/vm-bhyve uses a specific naming convention, and it might be different from yours. But that's all it is.I don't use vm-bhyve, can it be working without vm-bhyve?
Yep - just do the same without vm-bhyve.I don't use vm-bhyve, can it be working without vm-bhyve?
Your traffic will have the source address of the VM (x.x.61.8?), not the bridge's IP address.my wlan0 address is x.x.62.8/24
I created tap0 and bridge0, and set bridge0 x.x.61.1/24, then add "nat on wlan0 from { x.x.61.1 } to any -> (wlan0)"