比如要查找IP为192.168.0.72的主机的MAC地址,可以这样:
先ping一下,让它进到你的ARP表里
C:\Documents and Settings\lenovo>ping 192.168.0.72
Pinging 192.168.0.72 with 32 bytes of data:
Reply from 192.168.0.72: bytes=32 time<1ms TTL=64
Reply from 192.168.0.72: bytes=32 time<1ms TTL=64
Reply from 192.168.0.72: bytes=32 time<1ms TTL=64
Reply from 192.168.0.72: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.0.72:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
下一步:
C:\Documents and Settings\lenovo>arp -a 192.168.0.72
Interface: 192.168.0.148 --- 0x20002
Internet Address Physical Address Type
192.168.0.72 00-14-2a-3e-08-cf dynamic