Re: Redundant internet connections.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 21, 2007 at 04:24:19PM -0500, Grant Taylor wrote:
> 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?
sorry yep, just woken up, reading and answering whilst eating breakfast

okay then why not

default via preffered path
default via backup path metric 100


> 
> 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@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 

Attachment: signature.asc
Description: Digital signature

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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux