Re: How to elegantly handle two ISPs on a single box?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 06, 2005 at 02:14:24PM -0500, Taylor, Grant wrote:
> You might try Equal Cost Multi-Path (ECMP) routing.

That will have me send out packets with source A to ISP B and vice
versa which will have the packets killed by the ISPs reverse path
filters.


> Give this a shot and see what happens.

I don't need to try this, it will end up with pretty much exactly 50 %
packet loss.

> You will just need to make sure that you do something like the following in
> your nat / POSTROUTING chain:
> 
> iptables -t nat -A POSTROUTING -o <dev of ISP B> -j SNAT --to-source
> 172.16.0.129
> iptables -t nat -A POSTROUTING -o <dev of ISP A> -j SNAT --to-source
> 10.0.0.1

This will NAT the first, third, fifth packet of a TCP session to
172.16.0.129 and the second, fourth and sixth packet of the same
session to 10.0.0.1. I seriously doubt that the session will come up
at all.

I am either completely missing the poing or your suggestion is making
things worse.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux