utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.04k stars 1.35k forks source link

Adding "-netdev vmnet-macos,mode=bridged,id=net0" is not supported anymore #3999

Closed bartheerman closed 2 years ago

bartheerman commented 2 years ago

Describe the issue I used additional qemu cli parameters to have multiple network interfaces. Since UTM 3.2.0 (and qemu 7), vmnet-macos is not supported anymore. What alternative could be used?

Configuration

Crash log n/a

bartheerman commented 2 years ago

I found the new setup. It seemd to be -netdev vmnet-bridged,id=net0,ifname=en0 and -netdev user,id=net1.

osy commented 2 years ago

Why not use the GUI?

bartheerman commented 2 years ago

The gui only allows for 1 interface

osy commented 2 years ago

I see so a vote for #3585

dmilith commented 1 year ago

Well, if you want bridged networking in Qemu on modern macOS, there's only one solution that will work no matter which Qemu version you use (I use v6.1.0 with the HVF acceleration patch).

See stuff from https://github.com/lima-vm/socket_vmnet/tree/master#qemu

Checked on macOS 12.6.x arm64, bridged networking works like a charm!