lartc.org : Linux Advanced Routing & Traffic Control
(Answer) (Category) lartc.org FAQ :
Multiple internet providers
http://linux-ip.net/html/adv-multi-internet.html

If you want load balancing (Nano-HOWTO) :
http://www.ssi.bg/~ja/
stef.coene@docum.org

There are two issues requiring different handling when dealing with multiple Internet providers on a given network. The below assumes that the host which has multiple Internet connections is a masquerading (or NATting) host and is at the chokepoint between the internal and external networks.
For the use of multiple inbound connections to the same internal server (public IP A from ISP A and public IP B from ISP B both get redirected to the same internal server), the ideal solution involves using two private IP addresses on the internal server. This leads to an end-to-end uniqueness of public IP to private IP and can be easily accomplished by following the directions here:
  http://linux-ip.net/html/adv-multi-internet.html#adv-multi-internet-inbound
For the use of multiple outbound links to the Internet, there are a number of different techniques. The simplest is identified here:
  http://linux-ip.net/html/adv-multi-internet.html#adv-multi-internet-outbound
Better (and more robust) techniques are available after a kernel routing patch by Julian Anastasov. See the famous nano-howto.
  http://www.ssi.bg/~ja/
-Martin
mabrown-lartc@securepipe.com
[Append to This Answer]
Previous: (Answer) On which device do I have to shape ?
Next: (Answer) Example of load balancing/redundant internet connections
This document is: http://qos.dyndns.org:3389/cgi-bin/fom?file=44
[Search] [Appearance]
This is a Faq-O-Matic 2.719.