disable redirects

In my relative simple setup, i saw the following in dmesg on the command prompt:

[quote]IPv4: Redirect from on eth1 about ignored
Advised path = 173.[my.ip.address] →

Ip redirect is part of the network layer:
Internet Control Message Protocol (ICMP)

There is a nice firewall rule to force ignoring ip redirects.

[quote]set firewall receive-redirects disable
set firewall send-redirects disable[/quote]
After that of course commit & save to apply the rule and make sure it is loaded next time the router is booted.

BTW: This also works on vyatta & edgeos.