If a Red Hat or other Linux host has a conflict with an IP address, is there a way to have it display a warning message on the console or in a log, like Windows and MacOS do?

i.e. my computer has an IP address configured (or received from a DHCP server) but finds another device on the network using the assigned address. Will it log the conflict?

link|improve this question

50% accept rate
feedback

3 Answers

up vote 11 down vote accepted

IP Conflict detection is standardised in RFC 5227. One Linux tool that implements it is IPwatchd, which has a GNOME notification component (ipwatchd-gnotify).

link|improve this answer
+1 - i've never heard about that standard; thanks! – pQd Apr 28 '10 at 14:51
feedback

you can use arpwatch to find out about ip conflicts on ethernet segment you are connected to. it will alert about unseen ip-mac combinations or whenever such association change.

link|improve this answer
feedback

I don't know the exact mechanisism of how it does it, but I've seen warnings in CentOS when bringing up a network device along the lines of "Failed to bring up eth0, a device on the network already has this IP".

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.