Routing question -- multiple gateway setup?

Robert Brockway robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org
Sun Aug 22 08:00:57 UTC 2004


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.

Works well enough until I get back to trying load balanced default routes
again.

Rob

-- 
Robert Brockway B.Sc. email: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org, rbrockway-cFo9iiqjkw8eIZ0/mPfg9Q at public.gmane.org
Linux counter project ID #16440 (http://counter.li.org)
"The earth is but one country and mankind its citizens" -Baha'u'llah
--
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