How to disable route cache instead of manually flush cache

.

Hi

mostly when you are using the load balancing router in Linux. the caching system of iproute2 causes some problem. therefore you can manually flush it by “ip route flush cache” command or changing /proc/sys/net/ipv4/route/flush file into 1.  So that  type “echo 1 > /proc/sys/net/ipv4/route/flush ” command in your Linux.
also you can configure these options

Maximum size of the routing cache. The old entries will be purged when the cache reaches this size.
/ proc/sys/net/ipv4/route/max_size

Waiting period to clear the routing cache.
/ proc/sys/net/ipv4/route/min_delay

thats it

if you have further question just let me know

regards

2 Responses to “How to disable route cache instead of manually flush cache”

  • khoshet miyad esmet o chape benvisam ?!!!
    esme e man Nasser Heidari e na Nasser Heydari !!!
    alaki am gir nade ke oni ke to neveshti 2oroste o ina …
    esme man e , hal mikonam injori benvisam . hamin e ke hast !

  • Alan ke fekresh o mikonam mibinam chegad in blog e to bahale . kheily az lahaz e content o class o ina khafan e ;-)

Leave a Reply

*

     Copyrighted Mehdi Behamin , All Rights Reserved
    
Blog has been visited 204235 times