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

How do I get the IP address of all the devices on my local network? I am using Mac OS X Snow Leopard.

share|improve this question
up vote 2 down vote accepted

Using nmap, you can see machines that are alive and it will return both hostnames (if found) and IP addresses:

For example, if your network is 192.168.1.X, use:

nmap -sP

or if it's 192.168.0.X:

nmap -sP

Example output:

Host somedummyhost ( is up (0.0040s latency).
Host atinylaptop ( is up (0.013s latency).
Host is up (0.00019s latency).
Host is up (0.020s latency).
Host is up (0.018s latency).
Nmap done: 256 IP addresses (5 hosts up) scanned in 11.63 seconds
share|improve this answer
However, the wireless router may be configured to prevent clients talking to each other. In this case you see only the router and yourself. – BillThor Jul 4 '10 at 23:52

Why bother downloading and installing nmap? If you are on a home network just ping and look at the replies. All the devices on your subnet that can respond to the ping will. you can arp -a for additional info.

share|improve this answer
This doesn't always work. I get no responses to ping ping works fine, so I think some switches may block ICMP ECHO messages to the broadcast address. (Yes, I'm using the 10.x.x.x subnet.) – Fake Name Jul 6 '10 at 4:26
you need to ping your ip address with 255 in for the zero in the subnet mask. a 10.x.x.x network would be – ghostsource Jul 6 '10 at 12:35

You could (and this is what I would do) run a nmap scan on the local ip address range (e.g. 192.168.XXX.0-255) and see what responds.

share|improve this answer

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.