[LARTC] Balancing multiple connections and NAT

Sebastian Bork sebi at sebi.org
Fri Feb 24 16:20:33 CET 2006


On Fr, 2006-02-24 at 00:44 +0530, Raj Mathur wrote:
> I have a client connected to the 'net through 3 ISP's.  Have set up a
> Linux box to do routing and load sharing for the 3 connections.  A
> fourth interface is connected to the LAN with private IP addresses.
> Am using iptables to SNAT traffic to the appropriate IP depending on
> the interface the packet gets routed onto.

I use exactly the same setup with a customer's conenction, the only
difference: I use MASQUERADE instead of SNAT. I did not see anything
like the problem you describe. Maybe because MAQUERADE works stateful,
SNAT not? If you do not have a special reason for using SNAT, I think
you should try MASQUERADE. If your problem persits, please tell me, as I
have to look at my customer's setup very closely then, to catch this
before anyone complains.



More information about the LARTC mailing list