Nmap
From Steak Wiki
Jump to navigationJump to searchPing Lan Address Range and Report who is Active
$ nmap -sP 192.168.1.1/24
This commonly used.
Get DHCP Servers in LAN
$ sudo nmap --script broadcast-dhcp-discover -e eth0
$ nmap -sP 192.168.1.1/24
This commonly used.
$ sudo nmap --script broadcast-dhcp-discover -e eth0