admin 管理员组

文章数量: 887021

方法一:使用arp-ping

arp-ping下载地址
运行arp-ping命令查看同一ipMAC是否相同

C:\Users\91214>D:

D:\>arp-ping.exe -t 192.168.1.246
Reply that 2C:6B:7D:53:22:00 is 192.168.1.246 in 1.983ms
Reply that 2C:6B:7D:53:22:00 is 192.168.1.246 in 1.994ms
Reply that 2C:6B:7D:53:22:00 is 192.168.1.246 in 1.981ms
Reply that 2C:B4:72:33:52:01 is 192.168.1.246 in 1.980ms
Reply that 2C:6B:7D:53:22:00 is 192.168.1.246 in 1.981ms
Reply that 2C:6B:7D:53:22:00 is 192.168.1.246 in 1.976ms
Reply that 2C:6B:7D:53:22:00 is 192.168.1.246 in 1.976ms

Soft abort.  CTRL-C again for Hard abort.

Ping statistics for 192.168.1.246/arp
     7 probes sent.
     7 successful, 0 failed.
Approximate trip times in milli-seconds:
     Minimum = 1.542ms, Maximum = 2.484ms, Average = 1.951ms

方法二

打开cmd使用如下命令

> cmd /V /C "set "IP=192.168.1.246" & FOR /L %i in () do @ping -n 1 -w 1000 "!IP!" >NUL & arp -a | findstr /c:"!IP! "

结果
查看192.168.1.246对应的mac是否会变化

  192.168.1.246         2c-6b-7d-53-22-00     动态
  192.168.1.246         2c-6b-7d-53-22-00     动态
  192.168.1.246         2c-6b-7d-53-22-00     动态
  192.168.1.246         2c-6b-7d-03-01-00     动态
  192.168.1.246         2c-6b-7d-53-22-00     动态

本文标签: 冲突 Windows IP