Routing question -- multiple gateway setup?

James Knott james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Sun Aug 22 12:48:54 UTC 2004


Robert Brockway wrote:
> On Sun, 22 Aug 2004, William Park wrote:
> 
> 
>>If you have multiple connections to Internet (say, PPP dialup, DSL, and
>>Cable), how do you make use of all 3 ?
>>
>>    - Do you put 3 default entries in the routing table?  Like
>>	route add default gw 11.22.33.44
>>	route add default gw 55.66.77.88
>>	route add default gw 99.11.22.33
>>
>>    - Is there some /proc/* parameter you set to "round robin" the
>>      default gateway?
> 
> 
> You can use the iproute2 utilities to do this.  Note: there seems to be
> bug when using both NAT and load balanced default routes which I can into
> (and which was alluded to the Netfilter list).  Not sure if there is a fix
> yet.
> 
> I currently have 2 links operating in a fail-over configuration with
> certain specific routes going out the secondary (such as a web proxy-cache
> to act as a parent to a local proxy-cache).  A script running locally on
> the firewall rationalises routing if one of the links drops unexpectedly.

Are your links with the same ISP?  I thought load balancing had to be 
configured at both ends.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list