UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Allow the use of an existing bridge interface?

Open tgburrin opened this issue 3 years ago • 4 comments

I'm using UTM on an M1 and currently when I select bridged networking mode it creates a new bridge using the interface specified in the dialog. I'm wondering if it would be possible to allow people to select an existing bridge that they've already configured in the os. This might also allow people to use the bridge that mac creates by default, bridge0, where they can add additional interfaces.

Would this be possible to add as an option?

tgburrin avatar Jan 29 '23 17:01 tgburrin

Is this possible in vmnet.framework? That's what QEMU uses for Bridged Networking on macOS

ktprograms avatar Jan 31 '23 08:01 ktprograms

@ktprograms , that is a good question, I'll attempt to do some research to see if I can figure that out. At a cursory glance, it looks like doing anything 'advanced' with the vmnet framework might require some sort of licensing with Apple. I'll see if I can get a more concrete answer to that though.

tgburrin avatar Jan 31 '23 19:01 tgburrin

I wouldn't worry too much about the licensing, afaik there's not an "advanced" vs "basic" split for vmnet, and osy already got permission/entitlements to use vmnet in UTM.

ktprograms avatar Feb 01 '23 00:02 ktprograms

Looking forward to this, any updates?

My use case is Thunderbolt Bridge (bridge0) and I want to add this host bridge0 to the VM so that it can be accessed from other hosts on the other side of the Thunderbolt Bridge.

qupig avatar Jun 06 '24 22:06 qupig