Local IP addresses
macos, server, ip, commands – Aug 15 2018
This shortcut makes it easy to see machines that are connected to your network.
• • •
If you need to find all the IP addresses for the items that are connected on your network.
To get started, launch the Terminal app from
/Applications/Utilities/ (or accessed with Spotlight and Command+Spacebar).
From the terminal window we are going to use an app called arp. The ARP tool (Address Resolution Protocol) is used to display and control network address resolution functions. For the most simple use of arp is with an -a flag attached:
As you are connected to a WiFi network run this command:
arp -a iphone (192.168.0.1) at 0:0:ca:1:2:3 on en0 ifscope [ethernet] apple-tv (192.168.0.2) at 68:b8:3d:22:1c:42 on en0 ifscope [ethernet] printer (192.168.0.11) at b4:12:23:5a:d3:6f on en0 ifscope [ethernet] ? (192.168.0.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
You now have insight into what devices are connected to your WiFi network.