foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.64k stars 1.14k forks source link

Connecting VM to LAN? #442

Open alexmat2on opened 3 years ago

alexmat2on commented 3 years ago

Hi! I'm interested in connecting my macOS VM to my local network, but am kind of stuck on setting this up. I looked at the instructions for creating a bridged network, which sounds like what I want, but the problem is I am running the VM on a laptop without an ethernet connection -- the host is connected to the network through a WiFi/wireless interface.

Has anyone had success creating a bridged network to the VM with a wireless card on the host?

Alternatively, is there any other method I could try to reach other devices on my home LAN from inside the VM (and vice versa)?

My host OS is Manjaro Linux. Thanks!

ipatch commented 3 years ago

doing the same thing now, except i'm fortunate enough to have a thunderbolt to ethernet adapter that i have gotten working. reading through the docs seems that you just need to use the proper devicename ie. substitute DEVICENAME with that of your wifi devicename. is that something you've already tried?

and if your just trying to expose the filesystem of the vm on your lan a simple workaround until you get your bridged networking going is to mount the fs on your host system using something like smb or possibly sshfs and then you're host system should be able to pass that share on to other devices on your lan, no?