[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: No route for 127/8 to lo0 (?)
From:       Tony Finch <dot () dotat ! at>
Date:       2000-03-31 14:07:35
[Download RAW message or body]

Nik Clayton <nik@freebsd.org> wrote:
>
>I thought that 127/8 was the "local net", and that packets sent to any of
>those addresses would go via the loopback interface.  That seems to be 
>how Linux and Windows 98 do things (the only systems I can check this on
>at the moment).  Assuming that's the case, why does FreeBSD only add a
>a host route to 127.0.0.1, and not a network route for 127/8?

I did some further investigation to see how old this oddity is and it
seems to be the way BSD has always handled the loopback interface.
There's an explicit exclusion in the interface initialization code in
in.c that gives loopback interfaces a host route instead of the
network route that a normal interface gets and it's been that way for
15 years.

Tony.
-- 
f.a.n.finch    fanf@demon.net    dot@dotat.at
408 overlarge underplug afterburn


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic