Sometimes one of my Ubuntu 12.04 Server machines get into an IP conflict with another device on the network.
I can detect the IP conflict by disabling the nic, and accessing the ip from another machine, although I'm looking into a more autonomous way of detecting the ip conflict (using nmap or arp-scan).
Once an IP conflict has been confirmed, I can solve the IP conflict by running
sudo dhclient -r; sudo dhclient, followed by a reboot or ifdown/up.
This approach is not ideal, and I would like a solution which automatically detects if the machine has an IP conflict and if so automatically renews the IP.
I could write one myself, but I was hoping such a thing already existed..
Is there an ubuntu program which will automatically detect & resolve ip conflicts?