iptables/iproute2 stops routing until ip route flush cache is run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have a number of firewall rules/iproute2/rules/routes setup and was
curious, once and awhile, routing (behind the Linux host will stop
working (clients cannot get out past the Linux host after awhile), if
I run ip route flush cache it starts working again.

In my route script (after the firewall script) I run ip route flush
cache last, (presumably) after an /etc/init.d/network* restart it will
flush the cache again..

Was just curious was is the most common reason for that problem to
occur?  My guess is the order of the interface initialization
(eth0..eth6) and when I flush the cache, I flush it on eth2 regularly,
I had been running, e.g.

eth6 (definition)
post-up /sbin/ip route flush cache

Is there a ‘best’ time to flush the cache or how best do I determine
what is causing this issue?

Justin.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux