Virtual machine internet access

I created a virtual machine using the Ubuntu 14.04 image found on the Opennebula Marketplace.
My virtual machine can ping the host machine and vice versa. but when I try to ping I get error saying unknown host
Info on the marketplace about this image says that it has contextualization preinstalled
Network driver I am using is openvswitch and my host machine has internet access.

Here is the interfaces file from the virtual machine

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
source /etc/network/interfaces.d/*.cfg

The image I am using is…

I am new to all this and I don’t know what info exactly do you need. If anything else is needed I will post it.

Check that DNS is correctly set in /etc/resolv.conf. If this is not the case add it to the virtual network using DNS variable:


I think DNS is good. File /etc/resolv.conf contains nameserver

What about your network config in host node? You have some bridge? By IP addresses it doesn’t look like public network. Would you share with us you network infrastructure?