linux 查看局域网内ip

$ sudo apt-get install nmap

$ nmap -sP 192.168.1.1/24

windows 下直接arp -a就能看到。

原文地址:https://www.cnblogs.com/duanguyuan/p/3526771.html