I am working on an emulator for some legacy hardware. I recently changed the emulator to use the vmnet framework for network access rather than the old Berkley packet filter (/dev/bpf) device.
It works just fine in macOS Catalina.
In Big Sur beta 6, the vmnet_start_interface completion handler is never invoked unless the call to start the interface failed.
I've submitted FB8648370 to report this.
Here's some sample code that demonstrates the problem. Compile it with -framework vmnet and run it with privileges via sudo. On Big Sur, it will timeout after 1 minute.
It works just fine in macOS Catalina.
In Big Sur beta 6, the vmnet_start_interface completion handler is never invoked unless the call to start the interface failed.
I've submitted FB8648370 to report this.
Here's some sample code that demonstrates the problem. Compile it with -framework vmnet and run it with privileges via sudo. On Big Sur, it will timeout after 1 minute.