I'd like to configure my QEMU/KVM virtual machine which I set up using aqemu to be on the same local network as the host computer which runs Debian/KDE.
Do I have to configure a bridge on the host computer and if so how? Or is there a way to do this with the aqemu GUI or the qemu console command?
I'm using a VPN, the nftables firewall and network manager and I don't have a network interface called eth0 as described here and in the link in the comment below.
When I follow this guide at step "How to turn on bridge interface" of that guide doesn't work: when running ip a s br0
the bridge doesn't have inet set and after running sudo nmcli con up br0
the bridge is orange, not green and the bridge-slave is grey, not green. (I can only make it so that when I run nmcli connection show --active
my Internet connection and my VPN connection are green and bridge-br0 is orange.) When I run nmcli con up bridge-slave-ifname
, I get: Error: Connection activation failed: No suitable device found for this connection (device enp0... not available because profile is not compatible with device (mismatching interface name)).
I also tried it with libvirt (Virtual Machine Manager) and this guide but then I only get the error "Wired Interface (eth0) IP configuration was unavailable" in the VM and the virbr0 bridge would not be on the LAN.
or is it impossible to make the virtual machine be on the same local network when connected to via WiFi via this method? What would be another method for that then?