Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a local network powered by a Time Capsule, and connected to 4 or 5 macs. There are other devices on the network too. (Printers, IP Cameras, etc). Is there a way to list the devices on the local network - and their IP addresses?

I've seen this Q/A How do I know the IP addresses of other computers in my network?

but the responses do not show what is what - just a list of IP addresses.

share|improve this question

4 Answers 4

up vote 1 down vote accepted

You can view this in Finder: in the Sidebar, there is a collapsable group called SHARED (if you don't see it, Finder > Preferences > Sidebar > SHARED , and ensure that Bonjour Computers is checked, but it's probably helpful to check all of them).

To view all detactable network devices, select All….

To get a device's IP address, select it and Get Info (ctrl+click > Get Info or cmd+i). Alternatively to find a specific device's IP via Terminal, run nslookup $hostname, replacing $hostname with the device's name listed in Finder: ex nslookup foo.yournetwork.com.

Beyond that, you'd have to log into the router to see what devices are connected (its admin GUI will/should display the device's name next to the IP address it assigned to it).

share|improve this answer
    
Thanks Jacob. The problem is that some of the devices on the router are not known by device - Time Capsule can tell me what Macs are connected, but only the IP addresses and the manufacturer of other devices. But knowing a device is built by Digiboard or Hon Hai doesn't help. I guess if iNet can do it, there must be a way. –  David DelMonte Jan 30 '13 at 2:02
1  
Hi @DavidDelMonte, sorry I didn't get a notification that you'd responded. I'd be very disappointed if a router could/did not know a device's name. The device's name might be called Device ID. Look for DHCP or DHCP Clients (this is what it looks like on an AirPort: apple.stackexchange.com/a/22596/40675) –  jacob Feb 21 '13 at 21:44
    
No worries. Thanks for responding Jacob. That must be the new Airport Utility. I'm not using that for various reasons (reliability, etc). Inet worked for what I needed. –  David DelMonte Feb 21 '13 at 21:59
    
Select All??? All-where? Where on the Sidebar is there anything that says All? –  user51349 Jun 16 '13 at 10:04
    
@user51349, in the Sidebar, there is a collapsable group called SHARED (if you don't see it, Finder > Preferences > Sidebar > SHARED , and ensure that Bonjour Computers is checked, but it's probably helpful to check all of them). –  jacob Jun 16 '13 at 19:19

There are different way to locate devices on your network : Netbios traffic / ARP traffic / bonjour traffic / ICMP probes...

Now the most reliable would be to use a reliable tool such as nmap, able to perform multiple probing technic to discover host on your network. You can download nmap for Mac OS here (This isn't the latest version, but it is easier to install this way) : http://nmap.org/dist/nmap-6.46.dmg

#!/bin/bash
$i=en1
cidr=$(while read y; do echo ${y%.*}".0/$(m=0; while read -n 1 x && [ $x = f ]; do m=$[m+4]; done < <(ifconfig $i | awk '/mask/             {$4=substr($4,3); print $4}'); echo $m )"; done < <(ifconfig $i | awk '/inet[ ]/{print $2}'))
myip=`ifconfig $i | grep "inet " | awk 'NR==1 {print $2}'`
echo "sudo nmap -n -T4 -PN --exclude $myip $cidr"
sudo nmap -n -T4 -PN --exclude "$myip" "$cidr"
share|improve this answer
    
Thanks Florian. nmap requires X-11. I don't want to install X-11 stuff anymore, as 1. my need for it is limited, and 2. I don't know how well X-11 plays with new operating systems. –  David DelMonte Jun 30 at 7:42
1  
Hi David, Zenmap might require X11, but I believe nmap doesn't. It is a command line tool. It is up to you, you can find plenty of network scanner on the market (free and shareware), nmap being the --one of-- best. –  Florian Bidabe Jun 30 at 8:20

If you have Android or iOS devices running on the same network, you can install a FREE app called Fing and list all devices connected and their MAC addresses and IPs.

share|improve this answer

I bought this software. It works ok.

http://www.macupdate.com/app/mac/36478/inet

share|improve this answer

Your Answer

 
discard

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.