安装nmap sudo apt-get install nmap 扫描 nmap 192.168.3.0/24 我所在的网段为192.168.3.*网段 查看mac地址 cat /proc/net/arp