nmap用法
Ping 扫描
nmap-easily-ping-scan-all-addresses-in-my-subnet
nmap -sP 192.168.122.0/24
DHCP 扫描
Nmap扫描教程之网络基础服务DHCP服务类
sudo nmap -sU -p 67 --script=dhcp-discover 192.168.122.0/24
ip r sudo nmap --script broadcast-dhcp-discover -e enp1s0
Problem using the dhcp-discover script for Nmap
nmap scan dhcp