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
ping -b 192.168.0.255
nmap -sP 192.168.0.0/24
nmap ip