look for all devices available in local network in nmap code example Example: nmap list all local devices nmap -sP GATEWAYIPV4/24