Win7 VM @ ESXi Server @ VMWorkstation (Win7) – ping works only from VM -> HostOS, not vice versa

right now I’m toying around with VM Ware stuff and not having any pcs then my laptop I decided to run an ESXi Server inside of VWmware Workstation. I was just curios to see if the server would allow to setup and run a VM. And after some tweaking there it was, working like a charm.
Okay not that fast but startin’ the VM from vSphere and “opening a console” gave my direct access to that VM.

Now I wanted to see if I could ping the host from the VM (VM Workstation Network is set to “host only”).
And it worked, at least from the VM I could ping the ESXi server and the host.
From the host I am able to ping the ESXi Server but I can’t ping the VM!

I asked myself anyway where the VM got its ip adress from. At the DCHPs IP there is at no machine after all.
I even tried to use that DHCP adress for my Host and it didn’t work out.

You can see my settings from the screenshot here (it’s pretty wide so just a link):
http://yfrog.com/n4desktopfeop

The only thing that got me thinking was when I once changed the ESXi’s IP from 192.168.92.137 to 192.168.0.137. I still was able to connect to the ESXi server via its new IP but when I tried to run the VM console from vSphere I got an error after a while that said “couldnt connect to 192.168.92.137:903”.

So vSphere connects just through a port of the ESXi server to the VM?!?
Could I setup a Linux VM to use it as a DHCP that I’d at least have control over the IPs that are given.
Which lowest end linux could be used for this purpose?!?

Thank you for your time! 🙂

Answer

Hi in response to you comment on your question, if you enable remote desktop and add the users to the remote desktop users

Important note: Remote desktop is only included in the Professional, Business, or Ultimate versions of Windows. Home editions do not have remote desktop.

To get to the configuration page, you can either right-click the Computer icon and choose properties, or you can type in system into the start menu search box, and then find the entry for System.
alt text

Now you’ll want to click the Remote Settings link on the left hand side:
alt text

Now you can finally turn it on:

alt text

To connect from another Vista / Win7 PC on the same network, click the bottom radio button. If you need to connect from an XP/2k machine, click the “Allow connections from computers running any version of Remote Desktop” radio button.

Don’t worry about setting up firewall rules, Vista or Windows 7 does that for you automatically.

Note: This should work for both Windows 7 and Vista.

Attribution
Source : Link , Question Author : DK2000 , Answer Author : trozz

Leave a Comment