Ubuntu inside VMware Player not connecting to host

6,408

Solution 1

Once you select the NAT, from the guest Ubuntu (12.04 for my case), choose the connection as "DHCP (Automatic)" NOT "DHCP (Automatic) addresses only". This worked for me. I am running Vista 32 Host and Ubuntu 12.04 guest.

Solution 2

A bridged connection isn't necessary for a simple connection to the internet or the host but I'll assume that you choose a bridged connection because you need the guest to be a part of the same physical network that the host is. I haven't seen this particular problem but I can think of a few things to try.

  1. Check the TCP/IP settings in both the host and the guest. They should have IP addresses within the same subnet, the same dns and default gateway.
  2. Remove the virtual network adapter, shutdown the vm and add it again. If you have more than one network adapter, it's hard to tell which one it will "bridge" with.
  3. I was having trouble with shared folders and the solution turned out to be to reinstall VMware tools. If libraries were updated then you may have broken VMware tools compatiblity with Ubuntu. Luckily the automated perl script that installs it can also build new binaries!
Share:
6,408

Related videos on Youtube

Admin
Author by

Admin

Updated on September 17, 2022

Comments

  • Admin
    Admin over 1 year

    I am running a Ubuntu inside VMware player and it was working fine. But then I updated the ubuntu to latest version of it and from then it is not able to connect to the host i.e. Windows 7. Thus it is also not able to connect to internet. Can anyone tell how do I restore the connection with host. FYI - I have VMware Player network adapter configured in Bridged mode.

    • Pointy
      Pointy over 13 years
      Strictly speaking I don't think this is a Stackoverflow kind of question.