List the IP Address of all computers connected to a single LAN

1) Read the subnet mask and calculate all the IP addresses in the subnet mask you are in. Then you can either user ICMP ping (standard ping) or ARP ping to list all the valid IP addresses. ARP Ping is much reliable in a subnet setting.

2) You can nmap to list all the hosts

nmap -nsP 192.168.10.1/254 | grep ^Host

Leave a Comment