 |
 |
Terminal Command or lite app to find IPs in use on LAN?
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status:
Offline
|
|
HI, I just want to know what machines have been given what IP address on our local network (192.168.x-xxx) via DHCP. I downloaded intermapper, but geez, I just want a quick local list. there must be a way! thx.
|
Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Do you control the DHCP server? Is it an actual server, or just an appliance/router? The easiest way would be to get this list from the DHCP server...
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status:
Offline
|
|
thanks besson, yes i am using an airport express as the DHCP router, and Airport Utility maps mac addresses to IP addresses in use. is there something that just maps computer names to IP addresses? thats what i want...
|
Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Probably not, Apple generally doesn't offer these sorts of advanced features in their products.
You could write a script to ping the entire netblock, but I don't think it would be able to return the machine name.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2007
Location: NY
Status:
Offline
|
|
I'd be really interested in having a script for such task. I don't know how often I would run it, but I could definitely see it coming in handy if there is some fishy activity going on.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Are all the machines Macs? If so, you could probably use Rendezvous/Bonjour to accomplish this.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2002
Location: Illinois
Status:
Offline
|
|
nmap will do what you're looking for (ping a range, then ask for the reverse DNS records).
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Good post King Bob, I forgot about nmap!
Yeah, you can do a network scan with nmap by doing the following:
nmap -v -sP 192.168.0.0/24
This does a ping scan of 192.168.0.x. Since nmap is not included with OS X you'll have to compile this via Macports.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|