119
70
I'm basically looking for something like this but available on Mac.
I am trying to connect a new workstation to our wireless multifunction printer and I'm having a hell of a time getting the device to spit out an IP for me to connect to.
Is there a way I can scan the network somehow?
If it makes a difference, the new workstation is using Mac OS X 10.6.
13Can someone explain why/how this works? You ping the broadcast and this causes all the other connected clients to commit network activity which is then visible to arp ?? – deweydb – 10 years ago
24Best answer. You can do it one line too: ifconfig | grep broadcast | arp -a – Codeversed – 10 years ago
Best answer because it required no software download. Thanks, NSD :) – macek – 15 years ago
2@deweydb when you're on LAN, connecting to an IP involves resolving the IP into a mac address. ARP keeps a cache of all resolved IP addresses. Doing a broadcast ping indirectly triggers a resolution for all IPs on the network. Now... how can we resolve the list of IPs into DNS (or other) names? – Rolf – 8 years ago
2I use:
arp -a | grep -v '^?'
under Macosx. – Mirko Ebert – 8 years agoWhat do the
? (192.168.1.15) at <incomplete> on eth0
mean? there is nothing (and AFAIK there has never been) anything on my lan at that address – Gaia – 6 years ago2Great tip.. I filtered out the results to only show the ip's that are not incomplete (and are present) with..
arp -a | grep :
– Jas Panesar – 12 years ago