All of lore.kernel.org
 help / color / mirror / Atom feed
From: "William L. Thomson Jr." <support@obsidian-studios.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] many ways to do load balancing (or not?)
Date: Fri, 22 Nov 2002 18:47:41 +0000	[thread overview]
Message-ID: <marc-lartc-103799098424636@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103788125614081@msgid-missing>

On Fri, 2002-11-22 at 05:26, Vincent Jaussaud wrote:
> On Fri, 2002-11-22 at 13:39, Andreas Hasenack wrote:
> > - the internal network would probably do many downloads, and not uploads
> > 
> > - the web server doesn't originate traffic, it responds to requests from
> > the outside world, and it will respond using the same link the request
> > came in (or not?)
> > 
> No, replies packet will hit the multipath route, and thus may not take
> the same link to come back.

Actually if you create the proper rules, there are gateways defined in a
table prior to the multipath. So if the route is know via cache, it will
take a known gateway.

Otherwise if it is not, it will be compared to each table, and then
finally hit the multipath equalize one and go from there.

> But in such situation, the sraddr in the replies packets are likely to
> be set to the one on which the original request came on.

Which will use the rules if defined. They should be there.

> In that case, we can add specific routing rules to ensure that the
> replies goes back through the right link.

Exactly, but you put them before the multipath route so they are looked
at and compared to first.

> As far as I know, sraddr is likely to be set correctly for TCP servers,
> while for UDP servers it may not work as expected.

Haven't really seen and problems there. So far from my experience my DNS
queries use both TCP and UDP. I have not seen and problems effecting UDP
and not TCP. But DNS lookups are quick and short, as most UDP services,
so there could be some problems there that are not effecting me in my
current scenario.

> Also, if our ISPs don't do rp_filtering, then we don't care what link is
> beeing used for the replies, as soon as the saddr is correct.

Not sure here, I never got into that aspect. I just assumed they did do
rp filtering. I played with turing rp filtering on in the Linux router,
but in the end left it on or what ever the default is.

-- 
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone  707.766.9509
Fax    707.766.8989
http://www.obsidian-studios.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-11-22 18:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21 12:19 [LARTC] many ways to do load balancing (or not?) Andreas Hasenack
2002-11-21 17:46 ` Ashok N N
2002-11-21 19:11 ` Andreas Hasenack
2002-11-21 20:00 ` Ramin Alidousti
2002-11-21 22:20 ` William L. Thomson Jr.
2002-11-21 22:55 ` Christoph Simon
2002-11-21 23:41 ` Christoph Simon
2002-11-22  0:06 ` William L. Thomson Jr.
2002-11-22  0:24 ` William L. Thomson Jr.
2002-11-22  1:17 ` Ashok N N
2002-11-22 12:28 ` Andreas Hasenack
2002-11-22 12:30 ` Andreas Hasenack
2002-11-22 12:39 ` Andreas Hasenack
2002-11-22 12:41 ` Andreas Hasenack
2002-11-22 13:00 ` Christoph Simon
2002-11-22 13:26 ` Vincent Jaussaud
2002-11-22 18:05 ` William L. Thomson Jr.
2002-11-22 18:21 ` William L. Thomson Jr.
2002-11-22 18:37 ` William L. Thomson Jr.
2002-11-22 18:47 ` William L. Thomson Jr. [this message]
2002-11-22 20:34 ` Andreas Hasenack
2002-11-25 13:20 ` Vincent Jaussaud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103799098424636@msgid-missing \
    --to=support@obsidian-studios.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.