Network scanning is one of the steps of penetration testing. There are different and popular tools to scan network line masscan, nmap etc. Arp-scan is a tool specifically designed to scan network with layer 2 or mac or ethernet arp packets. Install
$ sudo apt install arp-scan -y
$ arp-scan -h
Usage: arp-scan [options] [hosts...]
Scan Local Network...