Disable ip route caching
I use Linux Debian as a router for a school project with Quagga/Zebra. I need to make loadbalancing between routes of the same costs.
It seems to work but the Linux route caching mecanism avoid load balancing to work properly. I can flush manualy the route cache with a while 1 bash script calling ip route flush cache but I'm looking for the good way to do that.
Is there any option, in the kernel configuration I hope, ?
If not what .c file is concerned, maybe I could try to disable route caching by deleting some code ?
Thanks in advance for your help,
deleting code is probably not the best route (hehe get it?).
Thanks for your answer.
Theses parameters improves route caching timers but it's not perfect. I need to completly disable route caching.
How about this then:
Linux Advanced Routing & Traffic Control HOWTO
see section 4.2.2, has link to a patch for loadbalancing.
Thanks a lot, I will try this solution ;)