LARTC
[Top] [All Lists]

Re: [LARTC] Redundant internet connections.

To: Mail List - Linux Advanced Routing and Traffic Control <lartc@mailman.ds9a.nl>
Subject: Re: [LARTC] Redundant internet connections.
From: Grant Taylor <gtaylor@riverviewtech.net>
Date: Thu, 21 Jun 2007 16:24:19 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <20070621210101.GB31479@samad.com.au>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Organization: Riverview Technologies Inc.
References: <467A2354.1070805@riverviewtech.net> <467A9AB1.4090902@rabbit.us> <20070621210101.GB31479@samad.com.au>
Reply-to: gtaylor+reply@riverviewtech.net
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070511 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
On 06/21/07 16:01, Alex Samad wrote:
should something like this work

default  proto static  metric 5
        nexthop via 58.173.108.1  dev vlan2 weight 10
        nexthop via 10.20.20.106  dev ppp0 weight 20

and then let the dgd detect dead gateways and drop the relevant route
about.

Doesn't this use "Equal Cost Multi Path" (ECMP) routing?

If so, how does this take in to account that I do not want any of the traffic to run over the backup connection unless the primary is down?

It is my understanding that the weights of an ECMP route are for a fraction of the traffic. I.e. 10/30 and 20/30 of the traffic will use each of the routes.

(Note: I state 10/30 and 20/30 because the man page indicates that 10/30 does not equal 1/3. Namely because the kernel creates an in memory route for each weight for each route. Thus if you use a weight of 10, there will be 10 routes in memory.)



Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>