[dpdk-dev] Cannot ping host network from guest

Venkateswara Rao Dokku dvrao.584 at gmail.com
Mon Jun 22 08:50:46 CEST 2015


HI,

I instantiated a VM from the qemu that was given along with the OVDK
package with the follwoing command.

./qemu/x86_64-softmmu/qemu-system-x86_64 --enable-kvm -smp 2 -m 4096m
-device virtio-scsi-pci,id=scsi -device
scsi-hd,drive=hd,physical_block_size=4096 -drive
if=none,id=hd,file=/var/lib/libvirt/images/ubuntu-server.raw,cache=none
-hda /var/lib/libvirt/images/arun-ubuntu-server.raw -drive
file=fat:rw:/tmp/qemu_share,snapshot=off -net none -no-reboot -mem-path
/dev/hugepages -mem-prealloc -netdev
type=tap,id=net1,script=no,downscript=no,ifname=port2,vhost=on -device
virtio-net-pci,netdev=net1,mac=01:15:75:59:61:84,csum=off,gso=off,guest_tso4=off,guest_tso6=off,guest_ecn=off

The VM comes up fine, but after that I couldn't ping host network from the
VM.

I added the route too in the VM, still couldn't reach the host network.

Am I missing any extra configuration that has to be added?

PS: When I try to instantiate a VM from the QEMU downloaded from official
site, I could able to launch a VM and can reach host network.

-- 
Thanks & Regards,
Venkateswara Rao Dokku.


More information about the dev mailing list