IP address on ESX 4.0 server

We have a single ESX Host in our VMWARE lab.  I have installed the software on a new server and completed the ESX Server install.  Now I want to add the host using VSphere server and it wants the host name or IP address.  I know the iLO address for the server, but don't know what IP address were assigned to the two onboard NICs.  How can I discover what IP address that the DHCP server assigned to these two nics.
sfletcher1959VPAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
if you have the MAC address, but not the IP Address, you can use the program

http://www.youngzsoft.net/cc-get-mac-address/

(download trial available)
0
 
coolsport00Commented:
You can either ping the hostname or you can look under the Configuration tab -> Networking to see what IP was assigned to the service console port (or mgmt port if using ESXi).

~coolsport00
0
 
StefanLambdaCommented:
Heu...

"Ipconfig /all"  on the guest trought the vmware console ?!
or 'ifconfig' on linux guest

0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
sfletcher1959VPAuthor Commented:
I must have not been clear.  I don't have access to the host yet on the vmware console.  I must be added first.  In order to add, I need the IP address to host name.  I don't have either.
0
 
sfletcher1959VPAuthor Commented:
ifconfig on the  server doesn't show an IP address for the nics.
0
 
sfletcher1959VPAuthor Commented:
Here is what I get when I run the ifconfig on the server

ifconfig.bmp
0
 
coolsport00Commented:
Did you give your host a hostname during the install? If so, just ping the hostname from your workstation...that should give you the IP you need.
0
 
sfletcher1959VPAuthor Commented:
That's the problem, I don't remember having to give it a name.
0
 
sfletcher1959VPAuthor Commented:
Is there a way to get an IP address if I have the Mac address?
0
 
coolsport00Connect With a Mentor Commented:
Well, you can look at your DHCP server's "leases".
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
By default ESX uses DHCP, if you've got no IP addresses, either the NICs are not patched in, not connected, or VLAN issue.
0
 
Danny McDanielClinical Systems AnalystCommented:
from the hard console where you ran ifconfig, run 'esxcfg-vswif -l' to find out what the IP address is for the service console.
0
 
StefanLambdaCommented:
Dear sfletcher1959,

I think you should specify a static IP on your esx server (in the range of your LAN or in a range specified on your  PC). I think it's not a good manner to use an IP delivered by a DHCP server for server.
Then you can use this IP in the Vsphere (+ the login & password).

NB: when I see the ifconfig result , I think your ESX server didn't got any IP from DHCP server and can not be reachable

Stefan
0
 
Danny McDanielClinical Systems AnalystCommented:
actually, vswif0 should show here if the ifconfig was ran on an ESX host.  Either this isn't from an ESX host or you're missing the service console interface completely and you'll need to recreate it from command line.
0
 
AmitShellyCommented:
Your Scenario:
1. In your case, the esxcfg-vswif -l / ifconfig commands did not give any valid output.
2. You do not remember the hostname.
3. You cannot connect to the host through GUI using vSphere CLient.
4. Its a newly installed ESX host and does not have any virtual machines running on it.

Assuming that all the above are correct:
The best possible and fastest way you can resolve this issue is by reinstalling the ESX host. It hardly takes 20 minutes to complete the installation.
Best Practices:
1. Firstly, plan beforehand for the IP address, hostname and other stuff. So that you can avoid a similar situation, in case any further troubleshooting is required.
2. Secondly, you should always assign a Static IP to the ESX hosts and the vCenter Server.

amit
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.