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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

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
coolsport00Commented:
Well, you can look at your DHCP server's "leases".
0
Andrew Hancock (VMware vExpert / EE MVE^2)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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.