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 – 2014-12-28T18:28:21.560
24Best answer. You can do it one line too: ifconfig | grep broadcast | arp -a – Codeversed – 2015-01-21T13:16:02.933
Best answer because it required no software download. Thanks, NSD :) – macek – 2010-03-29T16:00:47.597
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 – 2016-10-25T10:24:37.917
2I use:
arp -a | grep -v '^?'
under Macosx. – Mirko Ebert – 2016-12-29T23:11:30.347What 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 – 2018-10-16T20:30:28.8172Great 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 – 2013-07-17T02:46:08.833