> User mode network (SLIRP) only supports plain TCP and UDP, traceroute and
ping (which need ICMP) do not work.

Indeed - wget google.com works just fine!

Chris, your link to the documentation is helpful. Here's my modified command

amitava@bonjovi:~/qemu$ kvm -name cold -m 512 -drive
file=$PWD/cold.qcow2,if=virtio,boot=on -vnc :0 -netdev type=user,id=mynet0
-device e1000,netdev=mynet0

For folks who might be looking for tap/tun approach (to allow ssh'ing to the
guest) -

 amitava@bonjovi:~/qemu$ sudo kvm -name cold -m 512 -drive
file=$PWD/cold.qcow2,if=virtio,boot=on -vnc :0 -netdev type=tap,id=netdev0
-device virtio-net-pci,netdev=netdev0

Thank you Chris and Blue for your help.

-Amitava

Reply via email to