Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5956

qemu network bridge host to vm [closed]

$
0
0

I want to create a bridge from the host to the VM. The aim is to ssh into the VM. Also, I want the VM to be able to reach servers running on the host.

The host is Ubuntu 22.04 desktop VM running in UTM on MacBook Pro M1.

Where do I start?

qemu-system-aarch64 -machine virt -cpu cortex-a57 -smp 2 -m 1096 \                        -bios /usr/share/AAVMF/AAVMF_CODE.fd \                        -netdev user,id=net0,hostfwd=tcp::8022-:22\                        -device virtio-net-pci,netdev=net0 \                        -drive if=virtio,file="./ubuntu-core-22-arm64.img",format=raw \                        -device virtio-gpu-pci \                        -device virtio-keyboard \                        -device virtio-mouse \                        -serial mon:stdio

Viewing all articles
Browse latest Browse all 5956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>