Re: [Int-dir] side note RFC 4291 2nd par sec. 2.1 LL on loopback

Alexandre Petrescu <alexandre.petrescu@gmail.com> Tue, 16 April 2019 10:52 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: int-dir@ietfa.amsl.com
Delivered-To: int-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D21B1205CE; Tue, 16 Apr 2019 03:52:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.633
X-Spam-Level:
X-Spam-Status: No, score=-2.633 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id smKcto-Yf8XL; Tue, 16 Apr 2019 03:52:42 -0700 (PDT)
Received: from sainfoin-smtp-out.extra.cea.fr (sainfoin-smtp-out.extra.cea.fr [132.167.192.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 772051205CD; Tue, 16 Apr 2019 03:52:42 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3GAqbNA047921; Tue, 16 Apr 2019 12:52:37 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id BECFC202859; Tue, 16 Apr 2019 12:52:37 +0200 (CEST)
Received: from muguet2-smtp-out.intra.cea.fr (muguet2-smtp-out.intra.cea.fr [132.166.192.13]) by pisaure.intra.cea.fr (Postfix) with ESMTP id A7CA4202759; Tue, 16 Apr 2019 12:52:37 +0200 (CEST)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet2-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x3GAqbpO017415; Tue, 16 Apr 2019 12:52:37 +0200
To: 神明達哉 <jinmei@wide.ad.jp>
Cc: Pascal Thubert <pthubert@cisco.com>, "<int-dir@ietf.org>" <int-dir@ietf.org>, draft-ietf-ipwave-ipv6-over-80211ocb.all@ietf.org, its@ietf.org, IETF Discussion <ietf@ietf.org>
References: <155169869045.5118.3508360720339540639@ietfa.amsl.com> <bcb6d12d-5b21-1f10-1afe-221321f8e7a6@gmail.com> <CAJE_bqd5t77B5ij3ot-F-ucx5+3A7LATC-VTBx3w2_kCDD8fNA@mail.gmail.com> <35193c42-44ec-7337-56e6-84df6053843e@gmail.com> <CAJE_bqdkhNFLg9ZT3uSFmjd-+5J78nQTQ8wKDHE8fe2v9Zn8Rg@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <35eeeddc-e861-d357-1468-dd853c53ea4d@gmail.com>
Date: Tue, 16 Apr 2019 12:52:37 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAJE_bqdkhNFLg9ZT3uSFmjd-+5J78nQTQ8wKDHE8fe2v9Zn8Rg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-dir/A3ftSTJei2JtLIkWn4fwEMtcXxM>
Subject: Re: [Int-dir] side note RFC 4291 2nd par sec. 2.1 LL on loopback
X-BeenThere: int-dir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This list is for discussion between the members of the Internet Area directorate." <int-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-dir>, <mailto:int-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-dir/>
List-Post: <mailto:int-dir@ietf.org>
List-Help: <mailto:int-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-dir>, <mailto:int-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Apr 2019 10:52:44 -0000


Le 15/04/2019 à 21:02, 神明達哉 a écrit :
> At Mon, 15 Apr 2019 09:42:53 +0200,
> Alexandre Petrescu <alexandre.petrescu@gmail.com 
> <mailto:alexandre.petrescu@gmail.com>> wrote:
> 
>  > That RFC4291 section 2.1 says:
>  > >    All interfaces are required to have at least one Link-Local unicast
>  > >    address (see Section 2.8 for additional required addresses).
>  >
>  > Sidenote: I think the loopback interface does not have a link-local
>  > address.  Probably it is not all interfaces that must have at least 
> one ll(
> 
> Indeed, there's some subtle point here.  RFC4007 somewhat tries to
> clarifies it:

Well,  RFC4007 predates RFC4291, so it is little meaningful to say it 
clarifies it.

Maybe we can say that RFC4291 must be updated given all these issues.

> 
>     The IPv6 unicast loopback address, ::1, is treated as having link-
>     local scope within an imaginary link to which a virtual "loopback
>     interface" is attached.
> 
> that is, (with the assumption that the loopback interface is
> configured with ::1) the loopback interface does not (necessarily)
> have an 'fe80' address, but it still has a link-local scope address.
> If and when 6man resumes the work of rfc4291bis we should probably
> make this clarification.
> 
> BTW, whether a loopback interface has an fe80 address is actually
> implementation dependent.  BSDs usually assign ::1 on a loopback
> interface while also generating an fe80 address on it:
> 
> % ifconfig lo0
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>      options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>      inet6 ::1 prefixlen 128
>      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2

Ah?  It self-forms that fe80 address without a sysadmin requesting it?

In other OSs like linux, windows, there is no fe80::1 unless the 
sysadmin adds it.

In that sense, this is an additional reason (together with the 
RFC4291-violating fe80:1::1 potentially breaking in BSD) to think that 
RFC4291 and co. are mostly for BSDs.

This is not a happy situation to be in.

Alex

> 
> --
> JINMEI, Tatuya