one liner
for i in {1..255} ; do ping 192.168.1.$i -c 1 | grep "time=" ; done
for i in {1..255} ; do net="192.168.1"; echo "ping $net.$i"; ping $net.$i -c 1 | grep "time=" ; done