Re: [LARTC] 1+1 HA gateway

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 12, 2001 at 04:47:57PM +0200, RoMaN SoFt / LLFB!! wrote:
> 
>  Hi.
> 
>  I need to setup "one route" to a certain destination network (indeed
> it's another LAN, which I want to connect to, i.e. I'm creating a
> simple VPN). I have 2 possible gateways:
> a) Fast (through an ADSL line via 192.168.7.254. This is a CIPE
> connection)
> b) Slow (through a RDSI line via 192.168.5.3. This is pure PPP)
> 
>  The situation I'm looking for is having two real routes to the
> destination network (via the fast gateway and the slow one
> respectively) but only the first (=fast) one is used in normal
> conditions. The second (=slow) one will only be used in case the first
> breaks (i.e. failover mode).
> 

I believe the only way for the kernel to recognize that there has been
a failure, is the ethernet card detecting a line drop.  If you can be
sure that when the link goes down that this happens, you won't need
anything else except for the right rules in your routing setup.

If your setup won't do this, you'll need a script that actively checks
for connectivity, or for more complicated setups a routing protocol.

If I'm wrong, someone please let me know.

Mike



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux