Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 01:57:08 +0200
From:      "clemensF" <ino-waiting@gmx.net>
To:        Nik Clayton <nik@freebsd.org>
Cc:        net@freebsd.org
Subject:   Re: No route for 127/8 to lo0
Message-ID:  <20000622015708.G1130@spotteswoode.de>
In-Reply-To: <20000620201733.A665@kilt.nothing-going-on.org>; from nik@freebsd.org on Tue, Jun 20, 2000 at 08:17:34PM %2B0000
References:  <20000620201733.A665@kilt.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000622015708.G1130>