lkml.org 
[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Disabling route cache
On Monday, 09 August 2004, at 02:28:18 +0800,
ken wrote:

> I am building Linux routers with multiple DSL WAN links. I'm using
> iproute2 to load balance users onto the Internet. However, with IP route
> cache the result is sometimes poor. Is there a way to disable route
> caching in the kernel.
>
If the problem is that after a link/ISP failure some already stablished
connections or new connections use the cached route to go through the
failed link, you can make the kernel forget about any route caches it
currently has with the command:
# ip route flush cache

You can check the routing cache at any time with:
# ip route show cache

Hope it helps.

--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.8-rc2-mm2)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.025 / U:5.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site