Linux always send ICMP redirect

view story

http://unix.stackexchange.com – I have several Debian Squeeze (6.0.6 up to date) used as routers. When a link is down, they send ICMP redirects to local hosts. This is the default behaviour of Debian and several others. So once the link comes back to life, the hosts can't reach it until reboot. I don't want any ICMP redirect to be sent from those routers. I tested echo 0 > /proc/sys/net/ipv4/conf/all/send_redirects and sysctl -w net.ipv4.conf.all.send_redirects=0 and putting net.ipv4.conf.all.send_redirects=0 into /etc/sysctl.d/local.conf Every of those solution put the right value into /proc/sys/net/ipv4/conf/all/send_ (HowTos)