Linux - routing settings

Posted in How To's by Shafkat Shahzad, M.Sc - Senior Technical Content Manager on March 20th, 2010

Welcome to the tutorial guide. The tutorial will provide a user with guidance and instructions on routing settings.

/proc/sys/net/ipv4/route/error_burst and /proc/sys/net/ipv4/route/error_cost
This parameters are used to limit the warning messages written to the kernel log from the routing code. The higher the error_cost factor is, the fewer messages will be written. Error_burst controls when messages will be dropped. The default settings limit warning messages to one every five seconds.

/proc/sys/net/ipv4/route/flush
Writing to this file results in a flush of the routing cache.
/proc/sys/net/ipv4/route/gc_elasticity
Values to control the frequency and behavior of the garbage collection algorithm for the routing cache. This can be important for when doing fail over. At least gc_timeout seconds will elapse before Linux will skip to another route because the previous one has died. By default set to 300
/proc/sys/net/ipv4/route/gc_interval
/proc/sys/net/ipv4/route/gc_elasticity.
/proc/sys/net/ipv4/route/gc_min_interval
/proc/sys/net/ipv4/route/gc_elasticity.
/proc/sys/net/ipv4/route/gc_thresh
/proc/sys/net/ipv4/route/gc_elasticity.
/proc/sys/net/ipv4/route/gc_timeout
/proc/sys/net/ipv4/route/gc_elasticity.
/proc/sys/net/ipv4/route/max_delay
Maximum delay for flushing the routing cache.
/proc/sys/net/ipv4/route/max_size
Maximum size of the routing cache. Old entries will be purged once the cache reached has this size.
/proc/sys/net/ipv4/route/min_delay
Minimum delay for flushing the routing cache.

/proc/sys/net/ipv4/route/redirect_load
Factors which determine if more ICMP redirects should be sent to a specific host. No redirects will be sent once the load limit or the maximum number of redirects has been reached.
/proc/sys/net/ipv4/route/redirect_number
/proc/sys/net/ipv4/route/redirect_load.
/proc/sys/net/ipv4/route/redirect_silence
Timeout for redirects. After this period redirects will be sent again, even if this has been stopped, because the load or number limit has been reached.

If you followed the tutorial guide then you would have learnt about routing settings.

Bookmark Us
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • MisterWong
  • Netvouz
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • Wists

Leave a Comment