2009年10月22日 星期四

Find out All Online Hosts on the Same LAN on Linux

1. ping allow pinging a broadcast address

ping -b 192.168.0.255

but windows host does not reply broadcast ping

2. use network mapper, nmap

nmap -sP 192.168.0.0/24

-sP: ping scan

3. if a host be set to discard ping request, try to use arping with loop