On Mon, Jan 14, 2008 at 12:58:32PM -0800, Tom Eastep wrote: > Andrew Suffield wrote: > > On Mon, Jan 14, 2008 at 07:28:10AM -0800, Tom Eastep wrote: > >>> However, when I do connect or restore the feed for primary internet > >>> connection, the route still continue pointing to backup. > >>> > >>> I've been trying to figure out if exist some config or delay to move > >>> default route back to Primary, but I didn;t have luck. > >> If you want to automatically restore routing in this case, you will need > >> to run a script in the background that periodically checks the health of > >> each of your internet connections and that restarts Shorewall when one > >> of the interfaces comes back up. In this case, I recommend that all > >> providers have the 'optional' option. > > > > But maybe you should be using quagga instead. > > Depending on whether your providers support routing protocols on the > gateway routers.
It works without that if the interfaces go up and down at the appropriate moments (ie, they're ppp interfaces or something similar). In that configuration it's a routing network consisting of a single host with no routing protocols running, which is a little weird, but functional. You simply give zebra a bunch of static routes with suitable metrics, and it inserts and removes them as the interfaces change state. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
