Dear all, I cannot get networking to work with qemu. I have on my computer a bridge br-lan with DHCP that I already use for LXC container and WIFI clients. I would like to have my KVM containers join this bridge, so that they can get an 192.168.1.x IP-address.
>From reading various blogs, I used the following command line: qemu-system-x86_64 -enable-kvm -cpu host -smp 4 -m 1G \ -drive file=/mnt/data/share/internal/debian10.qcow2,if=virtio,copy-on-read=on,if=virtio,format=qcow2 \ -cdrom /mnt/data/share/internal/firmware-10.1.0-amd64-netinst.iso \ -device virtio-net-pci,mac=E2:F2:6A:01:9D:C9,netdev=br0 -netdev bridge,br=br-lan,id=br0 \ -usb -device usb-tablet -net user,smb=$HOME -vnc 0.0.0.0:1 -k de Unfortunately I get the following error: qemu-system-x86_64: warning: hub 0 with no nics What am I doing wrong? Any help would be greatly appreciated! Thank you, Alex
