Ping all the ip range of a local network
On a network with 192.168.0.* IPs and a mask of 255.255.255.0, you can use

ping 192.168.0.255


Similarly, on the 128.0.* network, net mask 255.255.0.0

ping 128.0.255.255