Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Run commands automatically when bringing up/down network interfaces? (http://www.linux-archive.org/centos/575771-run-commands-automatically-when-bringing-up-down-network-interfaces.html)

Edward Morbius 09-14-2011 10:06 PM

Run commands automatically when bringing up/down network interfaces?
 
Thanks, that should do it.

On Wed, Sep 14, 2011 at 2:50 PM, Devin Reade <gdr@gno.org> wrote:

--On Wednesday, September 14, 2011 03:37:34 PM -0600 Devin Reade

<gdr@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



_______________________________________________

CentOS mailing list

CentOS@centos.org

http://lists.centos.org/mailman/listinfo/centos



--
Dr. Ed Morbius
Chief Scientist / Philologist / Robot Wrangler / Powerplant Operator
Krell Power Systems Unlimited


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 05:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.