[CentOS] Run commands automatically when bringing up/down network interfaces?

Wed Sep 14 21:50:00 UTC 2011
Devin Reade <gdr at gno.org>

--On Wednesday, September 14, 2011 03:37:34 PM -0600 Devin Reade
<gdr at gno.org> wrote:

> Have a look at arping(8) and it's -U flag in particular rather than ping.

Sorry, I should have said the -A flag.  FWIW, gratuitous ARP is the
mechanism used by Linux-HA when dealing with IPs moving between nodes.
For example:
    arping -A -c3 -I eth0 YOUR_IP

Devin