|
很多时候我们需要快速知道上游局域网中存在哪些设备,IP地址是否冲突
很多扫描工具都可以达到这一目的,比如nmap,arp-scan等,我实际测试,效率最高的还是arp-scan,下面是安装步骤及使用方法
安装
- opkg update
- opkg install arp-scan
复制代码 使用
- root@GL-AXT1800:~#arp-scan -I eth0 192.168.99.0/24
- Interface: eth0, type: EN10MB, MAC: 94:83:c4:17:06:1a, IPv4: 192.168.99.218
- WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/ieee-oui.txt: No such file or directory
- WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/ieee-iab.txt: No such file or directory
- WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/mac-vendor.txt: No such file or directory
- Starting arp-scan 1.9.7 with 256 hosts (https://github.com/royhills/arp-scan)
- 192.168.99.1 e4:95:6e:47:8c:b3 (Unknown)
- 192.168.99.105 3c:7c:3f:7d:fb:ca (Unknown)
- 192.168.99.129 94:83:c4:1a:fc:a8 (Unknown)
- 192.168.99.211 b4:2e:99:c4:ed:85 (Unknown)
- 192.168.99.123 2a:e2:c5:d6:4c:3f (Unknown: locally administered)
- 5 packets received by filter, 0 packets dropped by kernel
- Ending arp-scan 1.9.7: 256 hosts scanned in 1.929 seconds (132.71 hosts/sec). 5 responded
复制代码
|
|