All of lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] custom routing (two gateways)
Date: Mon, 09 Jul 2007 18:59:54 +0000	[thread overview]
Message-ID: <46928606.5060301@riverviewtech.net> (raw)
In-Reply-To: <200707092007.51792.trapni@gentoo.org>

On 07/09/07 13:07, Christian Parpart wrote:
> I tried here several approaches, like adding custom routing tables, 
> and modifying the tables (including main) either I got no answers 
> routed to the FW or no traffic got routed to the LB.

I think you were on the right path.

I would set up a custom routing table for traffic associated with the 
load balancer to use.  This load balancer routing table would use the 
load balancer as the default gateway.

You would then use ip rule(s) to determine which traffic would deviate 
from the normal default routing tables and use the load balancer routing 
table.  This could probably be done based on source port on the web 
server, or based on connection / packet marks in IPTables.  However you 
do it, you will probably need an additional routing table.

Keep going the direction you were, or perhaps post some of what you did 
try and let us take a look at it to see if you were close.



Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2007-07-09 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09 18:07 [LARTC] custom routing (two gateways) Christian Parpart
2007-07-09 18:59 ` Grant Taylor [this message]
2007-07-10 14:14 ` Christian Parpart

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=46928606.5060301@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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.