VMware {code} Community
chrisatisb
Contributor
Contributor

How Do I Find The IP address of my vSphere Environment?

The esxi must have received a new IP address since I can no longer access it to create and manage machines.

 

How can I find my esxi environment?

Reply
0 Kudos
7 Replies
a_p_
Leadership
Leadership

The host's console usually shows the FQDN, and the management IP address.
Another reason for not being able to access the host could be a duplicate IP address in your network.

André

Reply
0 Kudos
chrisatisb
Contributor
Contributor

I don't have any way to access the console.

 

On my local machine I have VMWare Remote Console, but as my vms are linux boxes I'm not sure how I would get the esxi IP address from that session, even if I could connect.

 

I'm using the free license version of esxi, if that helps.

Looking in my ARP tables I also dont see anything conflicting with its previously used IP address.

Reply
0 Kudos
a_p_
Leadership
Leadership

With no access to the console, or a server management like iDRAC, iLO, ... , what may be an option is to run a tool like "Angry IP Scanner" which not only scans for IP addresses, but also for open ports on a reachable IP address (e.g. Port 443 for the ESXi hosts Web GUI).

André

Reply
0 Kudos
chrisatisb
Contributor
Contributor

I do have access to iDrac. Do I have options through there to get into esxi?

Reply
0 Kudos
chrisatisb
Contributor
Contributor

After several hours this is how I resolved it:

Login to iDrac and upload the enterprise license I had to access the virtual console.
Login into the console I saw the message "To manage this host to go:" which included the IP address. Visited the page and sure enough - there is my Log in to Vmware esxi.

The IP address doesn't show up at all as in use by my router.

declanlawton
Contributor
Contributor

Thanks for sharing it.

Reply
0 Kudos
flemip1
Contributor
Contributor

if you are trying to find all you ESXi and Vcenter can use nmap or zenmap

nmap -p 443 --script vmware-version (your IP or subnet )

example nmap -p 443 --script 192.168.0.1

443/tcp open https
| vmware-version:
| Server version: VMware vCenter Server 7.0.3
| Build: 18778458
| Locale version: INTL 000
| OS type: linux-x64
|_ Product Line ID: vpx
MAC Address: 00:0C:29:C5:C3:FE (VMware)
Service Info: CPE: cpe:/o:vmware:vCenter Server:7.0.3

Reply
0 Kudos