All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Lobato <tomlobato@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] DGD patch not detecting dead gateway
Date: Tue, 23 Jan 2007 00:40:38 +0000	[thread overview]
Message-ID: <45B55986.6020402@gmail.com> (raw)
In-Reply-To: <7fe14e000701182100l5b1474eai853a0077c821a835@mail.gmail.com>



Hi! Thank you.


Manish Kathuria escreveu:
> On 1/19/07, Tom Lobato <tomlobato@gmail.com> wrote:
>>   Hello all!
>>
>>   I applied http://www.ssi.bg/~ja/routes-2.6.8-10.diff patch to kernel
>> 2.6.8.1 and it works fine, or almost fine. It does the load balancing
>> well, but when one link is dropped it continues to try it.
>>   At the end of http://www.ssi.bg/~ja/nano.txt it is said to ping
>> gateway 1 and gateway 2, for the kernel to know if that route is
>> working, but since my linux is connected to the links through 1
>> dedicated link and one adsl modem, I tryied to:
>>     1) remove ethernet cable from linux nic: the patch worked well,
>> began to send traffic only to the yet working, link.
>>     2) remove telephone line from adsl modem (or external ethernet
>> cable from the dedic. link switch): the patch didn't work, continued
>> trying to send traffic to the dropped link.
>>   So, I think its happening because linux, since it can ping the
>> switch (or adsl modem) thinks that link is good.
>>
>>   Did you have this problem? Some hint?
>>   Thank you!
>>
>
> My experience has been mixed. The patch worked very well in many cases
> but in some it worked only if the first hop gateway was down and not
> any of the subsequent hops. So as you mentioned its happening since it
> can ping the switch / modem, it thinks the link is good. You can make
> a script which will keep on running in the background and check it the
> links are up or not and if any of the links is down, it can change the
> default route and provide a failover.
>

Oh yes, in really I already made such scripts, before to know this
patch, using
"4.2. Routing for multiple uplinks/providers" from Adv-Routing-HOWTO
information.
But facing this problem, I think the best solution is to use it again.

Somebody know if there is working in progress for solve this?
Is there some goal for include this patch to the mainstream kernel? What
is the possibility of it?



Tom Lobato



_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2007-01-23  0:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19  5:00 [LARTC] DGD patch not detecting dead gateway Tom Lobato
2007-01-19 18:57 ` Manish Kathuria
2007-01-20  4:13 ` Grant Taylor
2007-01-23  0:40 ` Tom Lobato [this message]
2007-01-27 14:52 ` Manish Kathuria
2007-01-27 16:24 ` Manish Kathuria
2007-01-28 16:12 ` Tom Lobato
2007-01-28 16:47 ` Manish Kathuria
2007-02-07 23:52 ` Tom Lobato
2007-02-08 19:19 ` Manish Kathuria
2007-02-12 11:34 ` Tom Lobato
2007-05-11  2:56 ` Salim S I
2007-05-14  5:47 ` Manish Kathuria
2007-05-14  5:59 ` Salim S I

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=45B55986.6020402@gmail.com \
    --to=tomlobato@gmail.com \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.