To list ip addresses of all connected to the network devices, use this command:
nmap -sn 192.168.0.0/24