From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Date: Thu, 21 Jun 2007 21:24:19 +0000 Subject: Re: [LARTC] Redundant internet connections. Message-Id: <467AEC83.1070502@riverviewtech.net> List-Id: References: <467A2354.1070805@riverviewtech.net> In-Reply-To: <467A2354.1070805@riverviewtech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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