Networking Forums

Networking Forums > Computer Networking > Linux Networking > route caching

Reply
Thread Tools Display Modes

route caching

 
 
Peter Buelow
Guest
Posts: n/a

 
      01-08-2004, 04:16 PM
For the networking internals people out there, hope someone can answer the
question. What I would like to know is if Linux will cache routes used to
send previous packets? My problem is this.

A packet (packet A) is sent over a specific route (not the default). Between
packet A and the following one (packet B), the specfic route used to send
packet A is deleted/removed. Packet B is then sent over the default route
as that's the most specific route still valid for the particular
destination. A new route is then added to the table to provide a new
specific route to said packets destination. Packet C, the third packet,
would ideally use the newly added specific route rather than the default. I
believe BSD (or some offshoots thereof) cache the previously used route and
will continue to use the default route (it's cached and valid, why not,
right?) even after the new route is established. In my application, this is
the wrong behavior and I would like to know if Linux will behave like this
(use the default even if a more specific route is added). Basically, what
I'm doing is a failover scheme, where we lose one route for some reason,
and recreate the route to the existing destination using some other
hardware. In this application, using the most specific route is very
important.

Hoping someone knows the answer to this. Thanks in advance for any help
given.
--
Pete Buelow
replace nospam with putzin to reply to me
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid not caching yaro137 Linux Networking 4 04-21-2009 08:47 PM
VPN client adds wrong route to local route table snowdog_2112 Windows Networking 7 11-01-2005 02:05 PM
Caching nameserver Cameron Kerr Linux Networking 5 06-30-2004 04:24 PM
Bind as caching server Doug Laidlaw Linux Networking 9 04-25-2004 09:07 AM
Caching only name server * Tong * Linux Networking 3 10-23-2003 01:17 AM



1 2 3 4 5 6 7 8 9 10 11