I´am runnig an ubuntu 16.04 virtual machine on workstation 12 on WIn 10.
Internet works fine on Win 10, but I cannot ping (access) on ubuntu despite sytem find a network connection and connect to it.
The images below show my problem:
I`ve already ready tutorials on the internet. Most of them say to change the virtual machine network adpater, but none worked for me.
Are you using "Bridged" or "NAT" for the network adapter of the VM?
Easiest setup is to set the Ubuntu VM to use DHCP and then use either "Bridged" or "NAT".
Bridged networking will then obtain IP address and DNS just like your Windows 10 host.
NAT will share the internet connection with your Windows 10 host through a virtual switch.
If you still have trouble show the output of ifconfig of Ubuntu and ipconfig of Windows 10.
I am using NAT adapter.
DHCP were already configured.
Beneth is shown ipconfig and is config screenshots.
Can you ping by IP? ping 8.8.8.8 (Google DNS server)
what does it show for routing information in "Connection Information"?
Ping 8.8.8.8 returned the following;
The connection infomation seems ok to me:
You have a DNS server problem, 192.168.152.2 isn't getting it done. The fact you can ping by IP says you can get to the Internet OK.
What do you get if you go bridged and let your router set things up?
Set adapter connector to bridge didn`t change anything ( actually, some packages got lost when ping 8.8.8.8).
Still having DNS error.
Are you sure your DNS server's IP is the same as gateway? I think your DNS solution may has problem.
You may run "nslookup www.vmware.com" to see whether your DNS server works or not.
when you change to bridged, what do you see in connections?
Have you edited anything in the virtual network setup? What are the dns settings in your host? (ipconfig/all).
Well, I run bridged and use static IP but you may be able to edit your connections file and test.
My Ubuntu connections are defined in
/etc/NetworkManager/system-connections/Ethernet connection 1
due to space, I have to read it using
sudo cat /etc/NetworkManager/system-connections/Ethernet\ connection\ 1
the ipv4 entry is:
------------------------------
[ipv4]
address1=10.0.2.113/24,10.0.2.1
dns=8.8.8.8;
dns-search=8.8.8.8;
may-fail=false
method=manual
-------------------------------------
You may be able to change just the DNS entries to 8.8.8 for test purposes, but with dhcp, it will change when you boot up..
(it is not supposed to be this hard)
Lou
Do you have firewall turned on on your guest? If yes, try to turn it off.
Thanks guys for your replies.
I solved the problem by simple connecting the virtual machine in a different network.