I have a Unix/Linux machine aster-star-98 in our company but it's on a different network.

How can I get the IP address of that machine?

If I could enter the complete address of the machine and ping it I might get the IP address, but I don't know the complete address, only the simple name aster-star-98. I'm sure that it's running.

link|improve this question
feedback

5 Answers

Check the mac address of the network adapter then ping the broadcast address of the subnet (from within said subnet). broadcast address on /24 is .255, then run arp -a from the windows machine and find the mac address.

link|improve this answer
feedback

Query the local name-service. For example:

nslookup aster-star-98.example.com
host aster-star-98.example.com
dig aster-star-98.example.com

telnet or ssh to aster-star-98.example.com then

ifconfig -a

If you don't know the fully qualified domain name and have no way to open a session then you'll have to visit the computer or enlist the help of someone near the computer.

link|improve this answer
Probably the most useful answer, +1 – slhck May 10 '11 at 14:12
feedback

If you run ping aster-star-98, you should see the real IP.

link|improve this answer
feedback

Also try host aster-star-98 which might give that ip.

link|improve this answer
feedback

as root, run ifconfig, or sudo ifconfig as a simple user.

The second line should display the private network address of the network interface (usually eth0 or eth1). If you're looking for the public address, check http://checkip.dyndns.com/

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.