From owner-freebsd-net Wed Jun 21 16:56:44 2000 Delivered-To: freebsd-net@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 3B7CF37C0CD for ; Wed, 21 Jun 2000 16:56:41 -0700 (PDT) (envelope-from ino-waiting@gmx.net) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.14 #3) id 134uMK-000296-00 for net@freebsd.org; Thu, 22 Jun 2000 01:56:40 +0200 Received: from [213.6.3.10] (helo=spotteswoode.de) by mx0.freenet.de with smtp (Exim 3.14 #3) id 134uMI-0002X8-00 for net@freebsd.org; Thu, 22 Jun 2000 01:56:39 +0200 Received: (qmail 5069 invoked by uid 0); 21 Jun 2000 23:57:08 -0000 From: "clemensF" Date: Thu, 22 Jun 2000 01:57:08 +0200 To: Nik Clayton Cc: net@freebsd.org Subject: Re: No route for 127/8 to lo0 Message-ID: <20000622015708.G1130@spotteswoode.de> References: <20000620201733.A665@kilt.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20000620201733.A665@kilt.nothing-going-on.org>; from nik@freebsd.org on Tue, Jun 20, 2000 at 08:17:34PM +0000 Organization: private X-PGP-ID: 0xD4685B88-4894C483/DH X-PGP-FPR: 0FAE 5F53 CEB9 49DE 9300 3035 D468 5B88 4894 C483 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Nik Clayton: > Why don't we automatically include a network route for 127/8 to lo0? > > If you look in src/sys/netinet/in.c:in_ifinit() (around line 700) you'll > see that IFF_LOOPBACK is special cased in the code to only add a host > route, rather than a network route, and it's been like that for about 15 > years or so. i don't understand this. what's the difference between a host route and a network route? should this not be the same for 127.0.0.1? > route add -net 127 -interface lo0 > > at startup. But it's a bit of a kludge. . . why is this a kludge? clemens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message