nmap list all local devices code example Example: nmap list all local devices nmap -sP GATEWAYIPV4/24