LARTC
[Top] [All Lists]

Re: [LARTC] custom routing (two gateways)

To: Mail List - Linux Advanced Routing and Traffic Control <lartc@mailman.ds9a.nl>
Subject: Re: [LARTC] custom routing (two gateways)
From: Grant Taylor <gtaylor@riverviewtech.net>
Date: Mon, 09 Jul 2007 14:01:26 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <200707092007.51792.trapni@gentoo.org>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Organization: Riverview Technologies Inc.
References: <200707092007.51792.trapni@gentoo.org>
Reply-to: gtaylor+reply@riverviewtech.net
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070511 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
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

<Prev in Thread] Current Thread [Next in Thread>