On 9/12/07, Sjon Wijnolst <[EMAIL PROTECTED]> wrote: > > > >I have two DSL lines, each of them is rather unreliable, going down > >and up frequently. My solution is to arping the gateways for the two > >lines every 5 seconds or so, and if a line is not responding, then add > >an ip rule to direct all traffic via another line. Then when the line > >is back, this ip rule is deleted. The actual script is very simple and > >it works well. This way shorewall doesn't have to be restarted, and tc > >rules are also not affected. > > > > > That could be a solution for when ISP2 really goes down.
That's also a solution when the link seems to be up, but ISP's gateway doesn't respond, as it is often the case with DSL bridges. > Since this doesn't happen every day, and I use tcrules to mark en direct > traffic to one ISP or another, Why do use tcrules for that? IP rules are used for routing, tc rules for shaping. Regards, Gregory ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
