Hi,
Is there any possible to find IP address of ESX(Host IP) from Linux Guest OS?
Thanks.
Actually there is no way. And which IP do you want to find, Service Console (there can be several interfaces), VMkernel (also can be several interfaces). In some cases there is no connectivity between virtual machine network and service networks, so it would be useless.
---
VMware vExpert '2009
You could always use VMTools..... http://communities.vmware.com/thread/202822
Is there any possible to find IP address of ESX(Host IP) from Linux Guest OS?
Do you mean from the Service Console (in this case there are several commands) or from a generic Linux VM?
Andre
Hi Andre
from a generic Linux VM, i am trying to retrieve the ip.
I am writing a program to communicate esx server from Linux guest OS. There is no option given in VmwareTools to get HOST name.(GuestOS)
And i dont want to use any packages that is related to ESX or Vcenter. I am just using Shell Script.
I configured my ESX storage name, using IP address.
For example,
/vmfs/volumes/134.123.3.20:storage1/GuestLinux/GuestLinux.vmx
134.123.3.20, I am looking inside GuestOS and this is the IP of ESX server.
If i can able to locate my VMX location from guest, i can resolve my problem.
Do you have any idea about this?
You have to try with the link suggested before ( ).
Using VMware API from a VM.
Andre