Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

Query the local name-service. For example:


telnet or ssh to 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.

share|improve this answer

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

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

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

share|improve this answer
   $ ip address

Sample Output:

  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
         link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
         inet scope host lo
         inet6 ::1/128 scope host 
         valid_lft forever preferred_lft forever
  2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
         link/ether b8:88:e3:95:eb:c0 brd ff:ff:ff:ff:ff:ff
 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
         link/ether 20:68:9d:f1:66:88 brd ff:ff:ff:ff:ff:ff
          inet ******/24 brd scope global wlan0
          inet6 fe80::2268:9dff:fef1:6688/64 scope link 
          valid_lft forever preferred_lft forever
share|improve this answer
This command will only be valid if the person has physical access and an account on the machine. – Mogget Nov 6 '13 at 8:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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