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

神明達哉 <jinmei@wide.ad.jp> Mon, 15 April 2019 19:02 UTC

Return-Path: <jinmei.tatuya@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 7A4A4120180; Mon, 15 Apr 2019 12:02:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.669
X-Spam-Level:
X-Spam-Status: No, score=-0.669 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, FROM_EXCESS_BASE64=0.979, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no 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 ZfGK_1SNJ5vQ; Mon, 15 Apr 2019 12:02:33 -0700 (PDT)
Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DCBBA120046; Mon, 15 Apr 2019 12:02:32 -0700 (PDT)
Received: by mail-wr1-f46.google.com with SMTP id w10so23388985wrm.4; Mon, 15 Apr 2019 12:02:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CE++vCO90Zq2hzNJlLvSHEigqfOKC2yaP0T4Nj/1TWs=; b=lzKCjwiuq/2pZjaCqKhiSYDLbEsau1EgXLdZL+l8CiGWxDXR6u8jpFB+FRK+bSXS1y jxxyrdjIZ2N9erjMcZYCvpOvBhPyBjlR5bdi61/GrZBXEC2bCzMpan1n3+ngnYo9qWee gou/Aw/XNk/6YGPWUwAi2Kv4bDNsn2BJAvsH7QfOzteXxFj25e7qtUORFiiU0MNLfNOL lCxA8m4YgLuqC6Uh/LXmaMvKMm5VAS2FR7uslJgUY6lB/ZtUAEasTwMGvenGX2Rf23+g xYz8ecx22qUNO1QPLCFcPYTcKr6cr5HxoFmY7kHL46kNxnBnXYraNbsT7iO6PGiGMFRp rKOQ==
X-Gm-Message-State: APjAAAUpwiIJBDRP0pPOuILQzmG8m8kn6VTfSjp4KtM3FhpCiP1hRGUF fOG5ViudJZboV+EPgc49RjC65AW8aDkHZ1CSoiQ=
X-Google-Smtp-Source: APXvYqwrEI7cLrpoLZK0Z9KX0eAn/vFmp6DS/vQXNv8VIQhMBQNMx24My7OlBPYeUmkaQqa3IzkloPnJe1XDJH6NRfU=
X-Received: by 2002:adf:e949:: with SMTP id m9mr46858098wrn.237.1555354951223; Mon, 15 Apr 2019 12:02:31 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <35193c42-44ec-7337-56e6-84df6053843e@gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Mon, 15 Apr 2019 12:02:19 -0700
Message-ID: <CAJE_bqdkhNFLg9ZT3uSFmjd-+5J78nQTQ8wKDHE8fe2v9Zn8Rg@mail.gmail.com>
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
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>
Content-Type: multipart/alternative; boundary="0000000000005e0d1d0586964b0c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-dir/lqj_9HdmCb5u1W_bjmdCCeTrYyw>
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: Mon, 15 Apr 2019 19:02:35 -0000

At Mon, 15 Apr 2019 09:42:53 +0200,
Alexandre Petrescu <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:

   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

--
JINMEI, Tatuya