Results 1 to 5 of 5
Hello,
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-13-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 3
Disable ip route caching
Hello,
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,
- 12-13-2011 #2
deleting code is probably not the best route (hehe get it?).
check under:
/proc/sys/net/ipv4/route/
maybe min_delay...linux user # 503963
- 12-13-2011 #3Just Joined!
- Join Date
- Dec 2011
- Posts
- 3
Thanks for your answer.
Theses parameters improves route caching timers but it's not perfect. I need to completly disable route caching.
- 12-13-2011 #4
How about this then:
Linux Advanced Routing & Traffic Control HOWTO
see section 4.2.2, has link to a patch for loadbalancing.linux user # 503963
- 12-13-2011 #5Just Joined!
- Join Date
- Dec 2011
- Posts
- 3
Thanks a lot, I will try this solution


Reply With Quote
