Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Rene 'Lynx' Pfeiffer linux@thing.at
To: lartc@vger.kernel.org
Subject: [LARTC] 2 default gw in redhat 6.2
Date: Thu, 01 Feb 2001 23:07:54 +0000	[thread overview]
Message-ID: <marc-lartc-98373940416945@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416935@msgid-missing>

<PRE>On Thu, 1 Feb 2001, Arthur van Leeuwen wrote:

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




</PRE>

  parent reply	other threads:[~2001-02-01 23:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01 19:49 [LARTC] 2 default gw in redhat 6.2 fabian1 fabian1
2001-02-01 21:06 ` bert
2001-02-01 21:18 ` Arthur
2001-02-01 21:29 ` Rene
2001-02-01 21:35 ` Arthur
2001-02-01 23:07 ` Rene [this message]
2001-02-02  9:32 ` Arthur
2001-02-02 13:44 ` Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98373940416945@msgid-missing \
    --to=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox