Link to home
Start Free TrialLog in
Avatar of cpatte7372
cpatte7372Flag for United Kingdom of Great Britain and Northern Ireland

asked on

VMware Virtual Machine Not Accessible

Hello Expert,

My hosting provider has given me four public ip addresses that I can use for my VM'. I have configured the VM with the public ip address and gateway provided by the hosting provider.

However, I can't ping the gateway. I'm sure there is something very simple that I'm missing.

Can you help?

Cheers
Avatar of David Paris Vicente
David Paris Vicente
Flag of Spain image

You just can´t ping?
Are you able to access th VM´s?

As security concern probably your ISP has disable ICMP protocol for the gateways, so you can´t ping your gateway but you can access the VM´s or ohter protocols.

Let us know.

Regards
Avatar of cpatte7372

ASKER

Hi David,

At the moment, I can only access the VM via console.

I don't think my ISP has a problem with ICMP has I can ping the gateway from any remote PC.

Cheers
David,

I think I have to do something like this

User generated image
However, I can see the option to select Bridged Network
Oops!

I sent the wrong image.

User generated image
Can you answer my second question?

If it´s true can you ping your VM Machine?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland 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
Hi David,

Are you able to access th VM´s?

I can only access the VM from the console from the vSphere client..
Do as Hancok mention, and also check your OS for ports blocked in the OS Firewall, like RDP, ICMP, remote connections and so on.

Can you provide the OS?
Going to upload screenshot
I have turned off the firewall.

Andrew, I have configured the TCP/IP on the VM to match the same subnet and mask as the host. Can you let me know where I can find the network properties of the host?

Cheers
Andrew/David,

Don't I have to do the following?

User generated image
are the gateways the same as the Host?

Select Host > Configuration Tab > DNS and Routing
Carlton....

Are you using ESXi ?

Where are you getting these instructions from.....

these are for VMware Workstation.....VMware Player.....VMware Server........

NO NO NO NO NO NO NO NO NO
can you host ping the VM, and VM ping the host to check network?
can you host ping the VM, and VM ping the host to check network?

No

 User generated image
#Edited By
Andrew Hancock
VMware Topic Advisor
And even with the firewall disabled you will need to enable remote acess to the machine.

ALso check if this is enable Control Panel -> System and Security -> System -> Remote settings
Andrew,

Yes the gateway's are the same as the host... why?
I don't understand how I can't ping the host or gateway??
Are the IP Address of the Host and VM, on the same subnet work and net mask ?

if they are on the same network, Host and VM, should be able to ping each other....

Your VMs are connected to a Public Network?

Screenshot of networking please.....
David,

User generated image
Andrew,

User generated image
Screenshot of networking, vSwitches.... please...

I already know your IP Address!!!
Andrew,

The above screenshot is that of the tcp/ip settings on the VM
There must be something simple that I'm missing ....
You have made sure, the IP Address of Host and VM are different ?

so you four public IPs are

 64.187.x.x
 64.187.x.x
 64.187.x.x
 64.187.x.x

?

and one of these is also ESXi Host?
Andrew,

Absolutely correct,

The ESXi host has the first address and VM has the second address...
And can you check if the netmask is in the subnet range for that subnet?
Hi Andrew,

I fixed it!

I had to add the Win7 to the same Virtual Machine Port Group as the Management Network, see image
User generated image
Yes, that is working!

That's why I asked, Does the ESXi host and VM, connected to the same Public Network!

What had you connected the VM to ?

what network?

none ?
The VM was connected to a network called ProdLan
That was not connected anywhere? or wrong LAN!!

TIP Make sure you use really secure passwords! 16-20 chars, upper, lower, numbers, chars!

if you hang things directly off a public IP!
Thanks again Andrew, and for the advice.

Cheers
Cheers mate.