From: Rogier Wolff <R.E.Wolff@BitWizard.nl>
To: Takeshi Kodama <kodama@flab.fujitsu.co.jp>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Why doesn't kernel store ICMP redirect in the routing tables?
Date: Thu, 30 Jan 2003 09:16:54 +0100 [thread overview]
Message-ID: <20030130091654.A22118@bitwizard.nl> (raw)
In-Reply-To: <008401c2c821$8af20cf0$c1a5190a@png.flab.fujitsu.co.jp>
On Thu, Jan 30, 2003 at 02:36:30PM +0900, Takeshi Kodama wrote:
> Hello.
>
> I run kernel-2.4.18.
> When kernel receives ICMP redirect message, only store ICMP redirect in the route cache,
> not in the routeing tables.
> I have a question.
>
> Why doesn't kernel store ICMP redirect in the routing tables?
>
> In kernel-2.4.18, when new route is added(or existed route is deleted)
> and route become old, kernel flushs the route cache.
> If kernel doesn't store ICMP redirect in the routing tables,
> kernel will send packet to wrong gateway whenever flush the route cache.
>
> Is it no matter that it generates ICMP redirect every time flush the route cache?
>
> Please tell me why kernel has such a specification that doesn't store ICMP redirect
> in the routing tables.
In your case, apparently the (static) routing info changes every now
and then, and you see the redirects getting flushed. In another case,
the "redirect" may become invalidated, and if the kernel would have
put the redirect into the routing table, the system would not
recover, and keep on sending packets to the wrong router.
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* The Worlds Ecosystem is a stable system. Stable systems may experience *
* excursions from the stable situation. We are currently in such an *
* excursion: The stable situation does not include humans. ***************
prev parent reply other threads:[~2003-01-30 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 5:36 Why doesn't kernel store ICMP redirect in the routing tables? Takeshi Kodama
2003-01-30 6:31 ` Valdis.Kletnieks
2003-01-30 8:16 ` Rogier Wolff [this message]
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=20030130091654.A22118@bitwizard.nl \
--to=r.e.wolff@bitwizard.nl \
--cc=kodama@flab.fujitsu.co.jp \
--cc=linux-kernel@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