[plug] ADSL failover

James Bromberger james at rcpt.to
Tue Aug 14 16:15:44 WST 2001


On Tue, Aug 14, 2001 at 03:25:46PM +0800, Simon.Scott at flexiplan.com wrote:
> A friend of mine is setting up a linux box to act as a gateway for a small
> network. He plans on getting ADSL, as well as a dialup account (due to ADSL's
> problematic nature).

I've had very few problems with my iiNet DSL...

> Has anyone written/heard of a script which will automatically dial 
> in after ADSL fails (plus a few retries)?

/etc/network/if-down.d or similar. You can tell pppd to do something 
when it exists. Why not tell it to pick up the modem!

> If not, can anyone think of the best way of acheiving this? It would be 
> nice to
> go the other way too, where the script would start a cron job to test ADSL
> connectivity (maybe via pppoe switches to see if the access concentrator is
> visible) every now and then and if ADSL comes up, drop dial up.
> 
> As an aside, if I had a dialup account and ADSL up at the same time, what would
> the routing issues be? (ie which would take preference?)


Evil. Assuming you are calling the same service provider, you can try and 
get them to figure this out. You may have to delve into BGP broadcasts if 
you have a protable network block, or Dynamic DNS, if you're hosting services.

If you're just putting web traffic over it, and not serving stuff up, 
then it should matter if you change IP addresses.

-- 
 James Bromberger <james_AT_rcpt.to> www.james.rcpt.to

 Remainder moved to http://www.james.rcpt.to/james/sig.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20010814/686ff36a/attachment.pgp>


More information about the plug mailing list