Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mbcollins93

macrumors member
Original poster
Hi,
I used to know a command that would show all of the ip address and the name of the devices on your network. I have not use the command in a while and I forgot it. Does any one know?
 
Are you looking for info from your own Mac, or other devices on the network?

If the latter, then what interface? Wireless or wired? On what kind of Mac?
 
Then as far as I know, ifconfig isn't what you need. That is for configuring your device's interfaces. Maybe what you're looking for is nmap?
Why not just use /Applications/Utilities/Network Utility?
 
arp -a may show it.

The only other way I would know how to do this is a ping sweep.

arp -a will displays all of the current ARP entries.

The arp entry will only be created when you have resovled the address.

Is it something similar to net view that you want? Do you know the device's name?
 
arp -a will displays all of the current ARP entries.

The arp entry will only be created when you have resovled the address.

Yes but in a Wireless topology isn't everyone on a single broadcast domain that is on that wireless AP?

I would think that arp would give you a pretty complete list.
 
I usually use the ping command to check for all the IPs in a network.
For example if the adresses in my network are formatted like this
10.0.1.x
I simply type in the terminal ping 10.0.1.255 and all the reacheable IPs in the network will be pinged.

If you use another formatting just add the first 3 numbers and put 255 in the last block
eg:
192.168.1.255
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.