Lee Howard wrote:
>
> Hello. I'm looking for/going to write a script that will provide a type of
> redundant internet connection.
>
> I have a client who has a "wireless" LAN connection to an ISP, however,
> from time-to-time that connection will fail and he uses a modem to connect
> to another ISP until the wireless connection returns. He isn't hosting any
> critical web servers, but it is relatively important for him to have
> internet access at all times during business hours since many, if not most,
> of his sales, orders, and correspondence to him and his staff is done via
> e-mail (this e-mail is on an off-site POP server). So, the key here is to
> keep the internet connection alive, even if at a low-bandwidth such as a
> 56K modem provides. The linux box is an ip-forwarding/masquerading system,
> so under normal circumstances it is their only real-world IP number.
>
*snip*
> Thanks.
>
> Lee Howard
lee,
i had a similar setup with a site with a leased E1 line and PPP
connection as backup. the E1 would go down a couple of times a month,
and the modems would kick in. the setup i had was a cron pinging job
that established a lower-metric route via PPP. that way, you don't have
to take the route for the "fixed" line down at all.
that part is easy, your problem will be figuring out how to ping
"through" the lower-metric route to find out when it comes back on so
that the PPP link can be off-lined.
also, you will probably want to use diald for the PPP backup link so
it's only on when your client needs it.
i'm a little swamped right now, so i can't help you straight away.
however, figure out if you want to bring the backup link automatically,
and if so, how you're going to find out when the "main" link is working.
if you still need help, email me and i'll see if i can find some time to
help.
finally, i have a different setup for another site where the configs are
ISDN and modem dialup. i use diald there to provide the redundancy by
specifying both devices as a "pool", and then locking the ISDN with a
script if it fails. diald then automatically picks the first available
device from the pool (the modem) and uses that. then the connection
hangs up because it has been inactive for some time, and diald tries the
ISDN card next as it has now become unlocked.
good luck, and email if you need more help.
cheers,
--
:D_ima
Dima Nemchenko
[EMAIL PROTECTED]
---------------------------------------------------------------------
"Eventually, every frog has to croak."
Louis, the "Budweiser Lizard"
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]