imb*_*aer 4 network-monitoring ip-scanner
可能的重复:
如何在网络上找到未使用的 IP 地址?
目前我正在使用 nmap 来扫描我的 DHCP 服务器分配给主机的 IP 范围。然而,这是 a) 慢和 b) 有时 nmaps 不会发现所有主机。无线连接的笔记本电脑有时不计算在内。
我尝试了几乎所有可能的 nmap 扫描技术,例如:
sP,sS, sT, sW, sM 等等...他们有时都会错过笔记本电脑,尽管我可以随时 ping 它们。
我正在寻找一种有效的方法来实现这一点,而不会错过一些主机。我的路由器是 Linksys WRT54GL,我使用的是最新的 Tomato 固件。
您也可以尝试arp-scan(sudo apt-get install arp-scan在终端上安装)
它返回 MAC 地址并尝试查找网络适配器的制造商。
即,sudo arp-scan --retry=8 --ignoredups -I eth0 192.168.1.0/24(--ignoredumps和--retry=8使结果更准确)的回报
Interface: eth0, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.8.1 with 256 hosts (http://www.nta-monitor.com/tools/arp-scan/)
192.168.1.1 68:7f:74:a5:07:18 Cisco-Linksys, LLC
192.168.1.5 00:11:32:07:71:ac Synology Incorporated
192.168.1.100 00:21:9b:f8:ec:1c Dell Inc
192.168.1.117 00:12:fb:1a:88:8a Samsung Electronics
4 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.8.1: 256 hosts scanned in 1.377 seconds (185.91 hosts/sec). 4 responded
Run Code Online (Sandbox Code Playgroud)
试一试。