I have an Ubuntu guest -- more precisely Yahoo Cloud VM on Virtualbox on the top of MacOS. I have configured VirtualBox to serve internet connection to the guest using NAT. Ubuntu uses dhcp to get IP (10.0.2.15) and the IP of my DNS server (in /etc/resolv.conf I find the correct IP - 192.168.1.1 - it is IP of my router used by MacOS). So it seems that everything works fine, however when I try to ping google.com I get error that the host was not found (apt-get does not work either). In the same time, nslookup resolves google.com without any problems using 192.168.1.1. Does anybody experience such a situation?
ifconfig output:
