[
]
没有试过,不过楼主可以试试通过运行ping 某IP然后用arp -a查询相关的MAC地址,查看返回的结果来判断IP与MAC地址是否相符。
如:
C:/>ping 10.20.8.17
Pinging 10.20.8.17 with 32 bytes of data:
Reply from 10.20.8.17: bytes=32 time<10ms TTL=128
Reply from 10.20.8.17: bytes=32 time<10ms TTL=128
Reply from 10.20.8.17: bytes=32 time<10ms TTL=128
Reply from 10.20.8.17: bytes=32 time<10ms TTL=128
Ping statistics for 10.20.8.17:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:/>arp -a
Interface: 10.20.8.16 on Interface 0x1000003
Internet Address Physical Address Type
10.20.8.17 00-0b-cd-07-81-76 dynamic
10.20.8.253 00-00-0c-07-ac-08 dynamic