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