cracauer@
Developer
I am trying to run a QEMU VM while bridging the virtual network interface to my physical Ethernet. The physical interface is cabled so the usual Wifi problem with spoofing doesn't apply.
Here is what I have and it doesn't work:
There is nothing making it in or out according to tcpdump on the physical Ethernet. Can anybody spot what is wrong?
Specific question:
Here is what I have and it doesn't work:
Code:
qemu-system-x86_64 \
-object rng-random,id=rng0,filename=/dev/urandom \
-device virtio-rng-pci,rng=rng0 \
-smp 4 \
-m 4G \
-nographic \
-drive if=pflash,format=raw,file=OVMF_CODE_4M.fd \
-drive file=ipxe.raw,format=raw,index=0,media=disk \
-device virtio-net,netdev=vmnic,mac=00:a0:98:ea:28:35 \
-netdev tap,id=vmnic,ifname=tap1,script=no,downscript=no,br=bridge0 \
-device usb-ehci
There is nothing making it in or out according to tcpdump on the physical Ethernet. Can anybody spot what is wrong?
Specific question:
- Does the "br=bridge0" option to -netdev automatically add the tap interface to the bridge? It tried manually adding tap1 to the bridge and not doing it, neither seem to work.