On Sat, Mar 22, 2008 at 11:25:23PM -0400, Brian J. Murrell wrote:
> On Sat, 2008-03-22 at 16:00 -0700, Tom Eastep wrote:
> > 
> > Most systems won't allow two default routes with the same metric.
> 
> So for only two providers, this could work.  Two standard default routes
> at meterics 100 and (say) 101 and then the nexthop routing before that.
> When the ppp0 interface goes down the nexthop routing goes away and so
> does one of the default routes leaving you with one.
> 
> Doesn't work for >2 providers though.

It does, but there's a factorial explosion in the number of rules
required (you stack up a 3-way route first, then three 2-way routes,
etcetera). The right solution is to teach the kernel to trim down
nexthop rules when it loses interfaces, rather than deleting them
outright. As usual, the right solution is a pain to implement.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to