Scan the nearby IP addresses, MAC addresses, hostnames, etc.
Run various scans and identify all the devices connected to your network,
Interpret IP addresses and create masks on your Mac.