谁帮我看一下这是什么意思?

来源:百度知道 编辑:UC知道 时间:2024/05/30 02:37:03
C:\Documents and Settings\Administrator>arp -a

Interface: 192.168.0.10 --- 0x2
Internet Address Physical Address Type
192.168.0.88 00-50-7f-03-3a-66 dynamic
192.168.0.186 00-20-ed-16-8c-bd dynamic
怎样查出ARP的发源?

Interface:192.168.0.10 ---0x2 表示本机的IP地址

Internet Address Physical Address Type
192.168.0.88 00-50-7f-03-3a-66 dynamic 表示与IP为192.168.0.88的设备连通,它的MAC地址是 00-50-7f-03-3a-66

192.168.0.186 00-20-ed-16-8c-bd dynamic 同上

另:arp /a这个命令其实是显示与本机连通的设备的IP地址,以及对应的MAC地址

值得关注

arp -a命令查看主机保存的所有的MAC地址表
interface显示的是你的IP地址。
下面的列表是MAC地址和IP地址的对应列表。
比如第一项,说明IP192.168.0.88对应MAC地址00-50-7f-03-3a-66 dynamic说明IP是动态分配的。

Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).

ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]

-a Displays current ARP entries by interrogating the current
protocol data. If inet_addr is specified, the IP and Physical
addresses for only the specified computer are displayed. If
more than one networ