Lee Howard wrote:
> 
> Hi.  I'm setting up an IP masquerading/IP forwarding server with RedHat 6.1
> (updated) for internet access to an office of 10 workstations.  The
> internet connection comes through eth0 on a full-time "wireless" (like a
> cable modem) connection.  However, it's not 100% reliable, as the
> connection through it will drop periodically when the ISP's wireless
> equipment blows up.  So, we've hooked up an external 56K modem to ttyS1 so
> that we can use it when the wireless connection drops.
> 
> I had thought that this could be done by simply adding a ppp0 to netcfg and
> have it enable ppp0 on startup.  We'd leave the modem turned off until we
> needed it, and then we'd turn it on, and the connection would come up.
> This works... except that when ppp0 becomes connected it permanently kills
> the internet connectivity through eth0, which won't return until the DNS
> numbers are reset, ppp0 removed, and eth0 restarted.
> 
> It would be nice if I could have two simultaneous connections and have
> traffic come through either one as the bandwidth demands, but as it stands
> it looks like this will only work with one connection.  Does anyone know
> how to get two simultaneous MASQ/IPFWD internet connections working?  Has
> someone configured diald to connect a ppp connection when the LAN
> connection drops (and then down the connection when the LAN returns)?
> Basically I'm needing to configure a redundant internet connection.
> 
> Thanks.
> 
> Lee Howard
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]

hi lee,


obvious answer is to look into routed and so on!

otherwise, i did a similar set-up with a leased E1 line at my previous
workplace -- sometimes the E1 would go down, and we'd revert to a
dial-up. the way i did that was to have a script `ping` the remote every
couple of minutes, and start a lower-metric dialup link if the pings
failed (and also email the admin about the apparent leased line
failure). bringing the link down again was more problem -- what is
needed is a "directed" ping command which will use a specific interface.
i looked briefly, but as the line went down fairly rarely i decided it
was not worth the effort of finding or writing such a tool.

third way might be to use diald with two devices (your "leased line" and
the dialup) and "dev" mode (i.e. connect straight to the network
device). then, if a "dial-out" on your leased line fails, lock that
device and dial-out on the modem next. then the program locking the
leased line `sleeps` for a few minutes. after the modem link goes down
because there is no more traffic, diald will try the "leased line" again
next time. only thing is, i think some clever use of dial scripts will
be necessary to "trick" diald into using a "direct" device and a modem
at the same time -- usually either dial-up or direct devices are used as
"pools". but it should be possible.

hope some of this helps :)
--
: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-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to