Tom Eastep wrote:
Kenneth Burgener wrote:
We have 3 DSL modems that we load balance using Shorewall providers. Once a route is picked for a particular destination, what is the life
span of that route?  Do these routes "age" and die, or do they clear out
when the cache is full, or are they eternal?  (if they are eternal, I
assume the kernel route cache is cleared when shorewall is restarted?)

I believe I can see these routes by viewing the kernel route cache
"route -nC", but there doesn't seem to be any indication as to if a
route changes.

The 'route' command is archaic -- use 'ip route ls cache'.


The reason I ask is because one of our sales people uses a site called
Sales Genius and his browser session would error with the message saying
that his IP address changed.  I was able to setup two static routes and
the problem went away.  I assume the problem actually had to do with
their login and application sites having two different IP addresses, but
it makes me wonder if other uses could experience a problem with other
sites if they browsed a site one day, left their session open, and tried
to continue browsing the next day.

There are a bewildering number of tunable parameters in /proc/sys/net/ipv4/route/ that control the aging of route cache entries. I don't understand them and I lack the spare time right now to try to research them.

Hopefully someone else can help.

Note, however, if you use the 'track' option on your providers, the route that each connections uses should be constant.

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to