Avec nmap c'est tout simple :
-sP pour ne faire "que" un ping.
nmap -sP 192.168.0.0/24
Starting Nmap 7.40 ( https://nmap.org ) at 2018-04-19 14:09 CEST
Nmap scan report for 192.168.0.20
Host is up (0.00015s latency).
Nmap scan report for 192.168.0.40
Host is up (0.00079s latency).
Nmap scan report for 192.168.0.41
Host is up (0.00077s latency).
Nmap scan report for 192.168.0.47
Host is up (0.00071s latency).
Nmap scan report for 192.168.0.50
Host is up (0.00075s latency).
Nmap scan report for 192.168.0.254
Host is up (0.0013s latency).
Nmap done: 256 IP addresses (6 hosts up) scanned in 8.61 seconds