您的位置:首页 > 其它

ping获取远程主机MAC地址

2009-12-29 21:35 330 查看
比如要查找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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: