From: Ronnie Sahlberg Date: Tue, 9 Oct 2007 02:00:12 +0000 (+1000) Subject: send out gratious arps when we are starting up serving the "single X-Git-Tag: tevent-0.9.20~348^2~2381^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03e0277e035f982a5b76a650ca13115caa4e6a1a;p=thirdparty%2Fsamba.git send out gratious arps when we are starting up serving the "single public ip" but before we start the ipmux tool (This used to be ctdb commit dad1a80f39763314825939095f7656c13dcdbdc3) --- diff --git a/ctdb/config/events.d/90.ipmux b/ctdb/config/events.d/90.ipmux index 1653f0447e3..6b3a436aac6 100755 --- a/ctdb/config/events.d/90.ipmux +++ b/ctdb/config/events.d/90.ipmux @@ -50,6 +50,9 @@ case $cmd in ip addr del $CTDB_SINGLE_PUBLIC_IP/32 dev lo >/dev/null 2>/dev/null ip addr add $CTDB_SINGLE_PUBLIC_IP/32 dev lo >/dev/null 2>/dev/null + # send out a gratious arp so our peers will update their arp tables + ctdb gratiousarp $CTDB_SINGLE_PUBLIC_IP $CTDB_PUBLIC_INTERFACE >/dev/null 2>/dev/null + # mark all these for queueing iptables -I INPUT 1 -d $CTDB_SINGLE_PUBLIC_IP -i $CTDB_PUBLIC_INTERFACE -j QUEUE >/dev/null 2>/dev/null