Received: by oss.sgi.com id ; Tue, 20 Jun 2000 12:52:09 -0700 Received: from ha2.rdc1.tx.home.com ([24.4.0.67]:59883 "EHLO lh2.rdc1.tx.home.com") by oss.sgi.com with ESMTP id ; Tue, 20 Jun 2000 12:51:50 -0700 Received: from mypad.com ([24.1.13.170]) by lh2.rdc1.tx.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000620195150.TUHM11517.lh2.rdc1.tx.home.com@mypad.com> for ; Tue, 20 Jun 2000 12:51:50 -0700 Message-ID: <394FCC27.9785D5FA@mypad.com> Date: Tue, 20 Jun 2000 13:55:19 -0600 From: gg&ht forever Reply-To: lighthouse@mypad.com X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: net dev Subject: routing table/cache question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing Hello, This is a Linux 2.2 question, although I suspect that it applies to 2.4 as well. Please feel free to direct me to RTFM or another list. I've notice in 2.2.x that ICMP redirects don't get put in the routing table but do get put into the routing cache, that is the one that you can look at with route -Cn. There's no flag for redirects there but the host entry appears. Is this understanding correct? Also can someone give me some insights into the use of the ibl flags there? I can see that b means broadcast (also apparent from the rt_cache.h file) and l means local (as in local destination?), and i seems only to apply to the lo interface. Is that correct? Is there a write-up on this somewhere? What really bothers me about the route cache are that there seem to be some odd entries. For example, suppose my host is 172.16.1.1 and I ping some external Internet host that I'll just call w.x.y.z (so nobody can say I'm picking on them). Also suppose that I have my default router on 172.16.1.1 set up so that when I ping w.x.y.z I get a redirect. OK. Ethereal reports one redirect and then all subsequent communications go to the correct router. Also, route -Cn reports a host entry for the redirect to w.x.y.z. But, route -Cn also reports (I left out ref & use): Source Destination Gateway Flags Device ------ ----------- ------- ----- ------ w.x.y.z 172.16.1.1 172.16.1.1 l lo where the flag entry is a lower case L (hard to differentiate from a one [1]). What is this entry for??? Thanks for your time! Regards, Scott