static routes

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Mar 20 12:16:45 UTC 2006


On 2006-03-20 12:51, Ludovit Koren <lk at tempest.sk> wrote:
>
> Hi,
>
> I realized on several different versions of FreeBSD including
> 5.4-STABLE, when using static routes to specific subnets and the WAN
> link goes down for unpredictable reasons, the server gets ICMP
> redirect message and rearranges routes to use default router. Then all
> the traffic is routed to the default router even the WAN link is again
> up. Other unix like system (HP-UX, Linux) do not act the way,
> i.e. they do not change static routes.
>
> Should not be ignored the ICMP redirect messages concerning static
> routes?

That depends on what you have configured the system to do.  You can set
the net.inet.icmp.drop_redirect sysctl to 1 to drop them.



More information about the freebsd-net mailing list