Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 01:07:55 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Joseph Jacobson <jacobson@pobox.com>
Cc:        Nik Clayton <nik@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: No route for 127/8 to lo0 (?)
Message-ID:  <20000427010755.A67291@catkin.nothing-going-on.org>
In-Reply-To: <200004242328.TAA07013@home.my.domain>; from jacobson@pobox.com on Mon, Apr 24, 2000 at 07:28:32PM -0400
References:  <20000421200201.A34984@catkin.nothing-going-on.org> <200004242328.TAA07013@home.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 24, 2000 at 07:28:32PM -0400, Joseph Jacobson wrote:
> See RFC1122, section 3.2.1.3, available at
>   http://www.cis.ohio-state.edu/htbin/rfc/rfc1122.html
>   http://www.faqs.org/rfcs/rfc1122.html

Right.  Assuming we're looking at the same section, it says:

            [...]

            (g)  { 127, <any> }                                         
                 
                 Internal host loopback address.  Addresses of this form
                 MUST NOT appear outside a host.

            [...]

which is the only discussion of 127/8 I see in that document.

The behaviour I'm seeing is that packets to 127.255.255.255 (i.e., 
broadcasts on the 127/8 net) are being sent out the default route, 
because on FreeBSD (at least, FreeBSD 3-stable), there's only a host
route for 127.0.0.1, not a network route.  Per the RFC, that's 
incorrect behaviour, right?  

The RFC also says:

            For most purposes, a datagram addressed to a broadcast or
            multicast destination is processed as if it had been      
            addressed to one of the host's IP addresses;

Is there some special-case for 127/8 that's covered by the "For most
purposes" line?

Cheers,

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery


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




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