All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Routing, SNAT and two ISPs
@ 2004-08-10 12:15 Jason Opperisano
  2004-08-12  1:11 ` Ming-Ching Tiew
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Opperisano @ 2004-08-10 12:15 UTC (permalink / raw)
  To: netfilter

> Well, it's seams to be a little bit more complicated than
> I thought to loadbalance Internat connection between 2 (different) ISP
> lines ...
>
> Here is my problem:
>
> Basically, I need to connect my office to 2 differents ISP (different
> gateways and different DNS ). My linux box is a 3 NICs Box. The problem
> is that, for the first ISP, I don't have static Addresses.
>
> So, I would like to loadbalance, "route" and NAT all my internals Addresses
> through thoses 2 ISP except for some addresses and some port numbers
> which will use
> only the ISP2.

have a look at:
	http://linux-ip.net/html/adv-multi-internet.html

-j


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Routing, SNAT and two ISPs
@ 2004-08-10  9:18 guillaume
  0 siblings, 0 replies; 4+ messages in thread
From: guillaume @ 2004-08-10  9:18 UTC (permalink / raw)
  To: iptables

Hi all,

Well, it's seams to be a little bit more complicated than
I thought to loadbalance Internat connection between 2 (different) ISP
lines ...

Here is my problem:

Basically, I need to connect my office to 2 differents ISP (different 
gateways and different DNS ). My linux box is a 3 NICs Box. The problem 
is that, for the first ISP, I don't have static Addresses.

So, I would like to loadbalance, "route" and NAT all my internals Addresses
through thoses 2 ISP except for some addresses and some port numbers 
which will use
only the ISP2.

I would like also to detect dead gateway (maybe I ask for to much ...).

My problem is that SNAT is POSTROUTING. I am lose ...
I don't know if I have to deal with iptable2 loadbalancing or if I can do
this only with netfilter.

Maybe in a first part, I just would like to "statically loadbalance" my 
connections.
I mean, just put rules to (for example)

- route http packets to my first ISP and ssh packets to my second ISP,
- route packets from my internals IP 10.0.0.2-100 to ISP 1
- route packets from my internals IP 10.0.0.101 to ISP2
        (all with NAT, of course)

After, I will deal with a real loadbalancing for a part of my internal 
IP and
for some protocols.

Any Help will be very appreciated,
Thank you in advance,
Guillaume




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-13  0:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-10 12:15 Routing, SNAT and two ISPs Jason Opperisano
2004-08-12  1:11 ` Ming-Ching Tiew
2004-08-13  0:38   ` guillaume
  -- strict thread matches above, loose matches on Subject: below --
2004-08-10  9:18 guillaume

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.