NATGW: dont set arp_ignore in 11.natgw anymore since we no longer
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 6 Apr 2011 00:26:27 +0000 (10:26 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 6 Apr 2011 01:38:55 +0000 (11:38 +1000)
need this for the natgw functionality

config/events.d/11.natgw

index 1d5ba0f5570a804a7d5e782259cc002aec300667..ba6d7a5fb16475694516ac64318dabd474feb506 100755 (executable)
@@ -24,8 +24,6 @@ delete_all() {
        [ -z "$CTDB_NATGW_PUBLIC_IFACE" ] || {
            delete_ip_from_iface $CTDB_NATGW_PUBLIC_IFACE $_ip $_maskbits 2>/dev/null
        }
-       delete_ip_from_iface lo $_ip 32
-
        ip route del 0.0.0.0/0 metric 10 >/dev/null 2>/dev/null
 
        # Delete the masquerading setup from a previous iteration where we
@@ -47,8 +45,6 @@ case "$1" in
                exit 1
        }
 
-       # do not respond to ARPs that are for ip addresses with scope 'host'
-       echo 3 > /proc/sys/net/ipv4/conf/all/arp_ignore
        # do not send out arp requests from loopback addresses
        echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce
        ;;