• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 706
  • Last Modified:

VMWare Server 2: Failed to connect to guest OS from host (linux ubuntu).

DNS name and ip address on the "VMWare Infrastructure Access" page under the Summary tab says "not available". Host OS is ubuntu 8.04 and guest OS is Windows 7.
0
opike
Asked:
opike
  • 5
  • 4
1 Solution
 
opikeAuthor Commented:
The guest is set up for NAT.

The contents of /etc/vmware/vmnet1/dhcpd are still at the default:

allow unknown-clients;
default-lease-time 1800;                # 30 minutes
max-lease-time 7200;                    # 2 hours

subnet 192.168.71.0 netmask 255.255.255.0 {
    range 192.168.71.128 192.168.71.254;
    option broadcast-address 192.168.71.255;
    option domain-name-servers 192.168.71.1;
    option domain-name "localdomain";

}


0
 
John HurstBusiness Consultant (Owner)Commented:
The starting point here is that (1) you must set your host firewall to allow the NAT traffic (always on a different subnet to the host) and (2) install VMware Tools in your Windows guest. Then, permit the host IP range in your Windows guest and you should be able to connect from one OS to the other. Try connecting from Ubuntu to Windows first, but if that doesn't work (you may need to install and / or configure Samba), try connecting from Windows 7 to Unbuntu. The VMware Tools are essential here. ... Thinkpads_User
0
 
opikeAuthor Commented:
I was running the same guest VM under a different host (windows) and the NAT networking worked fine there...so should I assume that everything in the guest is already configured correctly?
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
John HurstBusiness Consultant (Owner)Commented:
Your guest is probably configured correctly. Don't forget that the NAT range on the new host will be different than the NAT range on the old host, so firewalls have to be adjusted accordingly. Test this by pinging from one OS to the other. Also, you will likely have to configure Samba on the Ubutntu host to talk to Windows.
... Thinkpads_User
0
 
opikeAuthor Commented:
Right now I'm just trying to connect to the guest through the browser (running apache on the guest) so I shouldn't need samba for that.
0
 
opikeAuthor Commented:
Also... I haven't yet set up a firewall on my ubuntu box and I don't currently see one. Does one come by default?
0
 
John HurstBusiness Consultant (Owner)Commented:
I can't answer the question on default firewall in Ubuntu, and Samba is used for printing and file sharing, so you may not need that.

What I was asking is: Can you ping from one OS to the other? If you cannot ping, then something is in the way and you need to determine what. Typically for me, what prevents pinging is that I forgot to configure firewalls. You need to determine that.

Also (you did not mention one way or the other), does your Windows 7 guest have Internet? Can it browse websites. ... Thinkpads_User
0
 
opikeAuthor Commented:
It just started working....I don't think it was the result of anything I changed, it was just taking a long time for the network connection to be established. Thanks for your help...
0
 
John HurstBusiness Consultant (Owner)Commented:
Thank you. VMware can be tricky, and I was pleased to assist you.  ... Thinkpads_User
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now