Link to home
Start Free TrialLog in
Avatar of opike
opike

asked on

VMWare image cannot ping host OS (and vice versa)

I am unable to ping a VMWare image from the host OS and also cannot ping the host OS from the VMWare image. The VMWare image is set up for DHCP. I have attached the output from an ipconifg /all from the guest VM image.
ipconfig-guest.txt
Avatar of Ravi Agrawal
Ravi Agrawal
Flag of India image

More details needed.

What is the mode of connection you are using to connect the the Host.

Bridged, NAT, something else. You should get it in the Nic controller properties of the VM.

Post an IPconfig of the Host too.

Ravi.



nic-properties.PNG
All of the above... and what is the host OS -- do you have a software firewall on there?  

You have IPV6 turned on the guest, you probably don't need / want that on - remove it in properties on there against the NIC.

Can you PING by IP the 192.168.233.2 address, can you PING through onto the hosts real network, eg. to your internet router IP address?

Unless specifically needed to NAT etc. I normally run VM's "bridged".  Firewalls etc. on the host shouldn't get in the way.

Steve
Avatar of opike
opike

ASKER

The network connection is NAT.
I've attached an ipconfig /all from the host OS.
I turned off IPV6 on the guest.
Firewalls have been disabled on the guest and the host.
I can ping from the guest to the internet router IP address.
ipconfig-host.txt
There is no connection showing as connected there on the "host" machine?

What address / interface are you trying to get to from the guest - the LAN interface seems to be set to DHCP and disconnected

Also I don't see there any VMWARE interfaces.

And how does it get from guest through to the internet router then?!

Did you happen to have ethernet disconnected when you did this ipconfig?

Please explain how the items are connected, e.g. mine is:

VM's
|
Bridged interfaces
|
Host PC
|
LAN connection to switch
|
cable to power-powerline adaptor
|
power cables
|
cable to power-powerline adaptor
|
ADSL2+ router
|
ISP

Steve
Avatar of opike

ASKER

I disabled the wifi connection when I did the ipconfug /all on the host. I thought it might present some security issues....
ok.... that was what we needed to see though really.  So.. you don't have a LAN connection on there at all, only wifi. Does this go to your own router, I.e. it gets a 192.168.x.x address for instance typically or a public internet address?
ok.... that was what we needed to see though really.  So.. you don't have a LAN connection on there at all, only wifi. Does this go to your own router, I.e. it gets a 192.168.x.x address for instance typically or a public internet address?
Avatar of opike

ASKER

Is it necessary to have the host machine connected to the internet in order to have the VM and the host machine talk to each other? I'm running VMWare on my laptop but I would think that I should be able to communicate with the virtual machines even if my laptop is not connected to the internet.
You just need at least one interface 'up' and the vmware interfaces - the ipconfig you showed doesn't show any host interfaces with addresses to ping - can it ping itself for instance?
You just need at least one interface 'up' and the vmware interfaces - the ipconfig you showed doesn't show any host interfaces with addresses to ping - can it ping itself for instance?

Can you see the inerfaces for NAT such as 192.168.233.2 when you do ipconfig at once the internet is up etc?

Could you check the ipconfig /all at a point where the vm can ping out to the internet, or your router please.   By all means change the ip's if there are any showing - if they are local ones 192. 10. etc. then no security issue.

Also a
route print
command output on the host would be useful - again at the point when the guest is able to talk out..

You can always amedn any ip addreses in there or email it direct to address in my profile if you don't want to piblish it (click on dragon-it link above)
Just in case, you don't have an UP connection, you can install the "Microsoft Loopback Adapter" as a Virtual NIC on your Host. This will always be up.

Install this using the

1. Contol Panel >> Add Hardware
2. Select - Yes, I have already connected the Hardware
3. Select - Add a new Hardware Device
4. Select - Install the hardware that I manually select from a list (Advanced)
5. Select - Network Adapters
6. Select - Microsoft -- Microsoft Loopback Adapter
7. Click Next on the following screen
8. Click Finish to complete the installation of the Hardware.

You will find it listed in Network Connections under "Local Area Connection"

Ravi.
Ravi, thanks was going to suggest that once we had worked out what was going on - the vmware interfaces should be "up" anyway regardless of the LAN connection though normally, maybe this a different vmware version to I use that doesn't have the virtual adaptors?

ASKER CERTIFIED SOLUTION
Avatar of Ravi Agrawal
Ravi Agrawal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of opike

ASKER

Discovered the problem... the VMware adapters on the host had been disabled (duh).
Ahh that would be why they didn't show up in the ipconfig then :-)
Just for the other people who are reading this thread, the author had his vmware interfaces disabled. He enabled and got it working then.

Ravi.