LARTC
[Top] [All Lists]

RE: [LARTC] Load Balance and SNAT problem.

To: "'Peter Rabbitson'" <rabbit@rabbit.us>
Subject: RE: [LARTC] Load Balance and SNAT problem.
From: "Salim S I" <salim.si@cipherium.com.tw>
Date: Wed, 27 Jun 2007 14:41:12 +0800
Cc: 'Mail List - Linux Advanced Routing and Traffic Control' <lartc@mailman.ds9a.nl>, 'Grant Taylor' <gtaylor@riverviewtech.net>
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Importance: Normal
In-reply-to: <4681FBA2.7000709@rabbit.us>
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>
Sender: lartc-bounces@mailman.ds9a.nl
> This is true for locally generated traffic only. Any
incomming/forwarded
> traffic can be controlled in the PREROUTING, thus the cache is never
> consulted.

The cache will still be consulted, in ip_route_input. That is for input
and forwarded traffic. Only if there is no matching entry, routing
tables will be employed.

If you look in the cache, you can see routes cached for same destination
through both wan interfaces. (well, in my case, I can see...).But their
fwmarks are different,as evident from ip_conntrack.


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

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