在linux上,有以下arp
命令:
arp -n
Address HWtype HWaddress Flags Mask Iface
192.168.1.100 ether 00:55:d1:c5:f8:1b C eth0
和
arp-scan -I eth0 -l
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.2 00:1b:fc:35:6a:9b ASUSTek COMPUTER INC.
192.168.1.54 c8:d3:a6:34:d2:1d (Unknown)
192.168.1.14 f0:25:b9:c2:6a:29 (Unknown)
为什么我看不到我的设备?
我也做了:
nmap -sn 192.168.1.0/24
使用arp
命令,我看到1台设备,arp-scan
看到其他设备。
arp
命令是否读取高速缓存,同时arp-scan
进行新的扫描(不读取任何高速缓存?)
“ Arp以各种方式操纵内核的ARP缓存。”
从缓存中读取是非常自然的。来自http://linux.about.com/library/cmd/blcmdl8_arp.htm
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句