Skip to contentSkip to conversation

2 ISP NAT configuration

DISCUSSION guillaume 1 participant 1 message Jul 29, 2004

lore
Share & tools
lore

guillaume

author
#0 lore raw

Dear All netfilter users and developpers,

This software is an amazing software,
We are are very happy of this solution
for our office.

Now, I need some help to improve our network:

Our office is based in Vietnam, and in this country (for the moment) all internet connections are unstable.

We currently use an ISP with a (slow) connection, but providing real static IP address (6). We want to add a second ISP to our office with non static IP Address. They provide us also a modem/router for NAT.

We already install a GNU/Debian Router with netfiler support (2.6 kernel) in order to manage our first ISP link.

We would like to add a network card in this router and "loadbalance" our internet connection between those two ISPs.

The problem is that some of our internal IP need to be link to a real external IP on the first provider only (For VPN connections).

Is it possible with netfilter to link some internal IP to a "load balancing" between 2 ISPs and some other on just one of those ISP ?

Is there a possibility to detect a "down" line and to use automatically the second line for all our internals IP ?

How can I manage the differents bandwith with "load balancing" ( I mean, my first ISP average is something around 64 kbps and my second is 512 kpbs: How can I said to net filter 20% on this line and 80% on this line)

Is there How to or Dosumentation for this on 2.6 kernel ?

Thank you in advance for your help,

Guillaume