Re: [LARTC] 2 default gw in redhat 6.2

Linux Advanced Routing and Traffic Control

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

 



On Thu, 1 Feb 2001, Arthur van Leeuwen wrote:

> On Thu, 1 Feb 2001, Rene 'Lynx' Pfeiffer wrote:
>
> > On Thu, 1 Feb 2001, Arthur van Leeuwen wrote:
> >
> > > On Thu, 1 Feb 2001, bert hubert wrote:
> > >
> > > > Linux is supposed to have something called 'dead gateway detection'
> > >
> > > Which it doesn't use when there's a multipath default route. Now, that isn't
> > > technically the case here, so that shouldn't be the problem here.
> >
> > Does this mean that Linux automatically detects a failed default
> > route and takes the second one if I configure two default routes?
>
> No, it means the exact opposite. If you configure two default routes
> Linux will randomly multiplex outgoing connections over the two routes.

This is exactly the problem I am having. I am trying to set up a spare default
route in case the primary route is down. The router in question is a Linux
machine having access to three upstream connections and to the DMZ. I do not
want to have routing daemons on the box, I simply want to change the default
route in case the primary connection (which supplies the LAN behind the DMZ) is
down.

The only thing I have come up so far (I do not want to have fancy things like
zebra, routed or gated on this machine) is a Perl script that measures the
connectivity and takes action if it detects that the route is down.

Does anyone have a better idea? (I am willing to to a nice and tidy ASCIIgram
if you like ;-)

Cheers,
René

 GNU/Linux Manages! - Linux Solution Provider
  RP551296-NICAT    - Open Software for Open Minds





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