Linux – How to find duplicate IP address?

This is a quick tip to find duplicate IP address in your local LAN network.

To find duplicate IP address, you can use arping command under linux.


#arping -D


# arping -D 132

ARPING from eth0

Unicast reply from [00:0C:29:2A:3C:C7]  0.896ms

Unicast reply from [00:0C:29:55:B7:DB]  0.923ms

Where the option -D mean: duplicate address detection mode.

In our example there is duplicate IP address in local LAN network.