diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-04-06 10:26:27 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-04-06 11:33:11 +1000 |
commit | 55853a468331191810ade2115e5b10c3d68779ab (patch) | |
tree | 0d34da8888afcd6d71939dbb1298ed88ab07c122 | |
parent | 26ab9c272fdaa86e3ef1b5837cbfbc68838a7705 (diff) | |
download | samba-55853a468331191810ade2115e5b10c3d68779ab.tar.gz samba-55853a468331191810ade2115e5b10c3d68779ab.tar.xz samba-55853a468331191810ade2115e5b10c3d68779ab.zip |
NATGW: dont set arp_ignore in 11.natgw anymore since we no longer
need this for the natgw functionality
(This used to be ctdb commit bf3bf2967e3781c918e33b3a210e68e0ccca0c51)
-rwxr-xr-x | ctdb/config/events.d/11.natgw | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ctdb/config/events.d/11.natgw b/ctdb/config/events.d/11.natgw index 1d5ba0f557..ba6d7a5fb1 100755 --- a/ctdb/config/events.d/11.natgw +++ b/ctdb/config/events.d/11.natgw @@ -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 ;; |