Re: IPv6 Link Local Addresses

Erik Kline <ek@loon.com> Tue, 11 June 2019 18:31 UTC

Return-Path: <ek@google.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 178B2120020 for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2019 11:31:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.498
X-Spam-Level:
X-Spam-Status: No, score=-9.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=loon.com
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 UPBMqtMyWLqD for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2019 11:31:51 -0700 (PDT)
Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 77544120114 for <ipv6@ietf.org>; Tue, 11 Jun 2019 11:31:51 -0700 (PDT)
Received: by mail-it1-x12d.google.com with SMTP id j204so6394229ite.4 for <ipv6@ietf.org>; Tue, 11 Jun 2019 11:31:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=loon.com; s=google; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=krbCxSDASR8zfJ313ndZ55I6eSMu7raBtwAEaF8cML4=; b=OJ/Mat/x4t9iI1Kv0I3AVz290bwAXxDiA+WlAKZWWGxiEj02VmxpWVaPBKLP8xDbkP Q5fg+pnnph1+B05gAirVZixsI2Rza0UPYfdFJohDhuQOJdYGPF3+pSPHQtxgVWahsZLr cRML627ODSkHn4KIawOXU68nmrZkueKN2aPw0=
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:reply-to :from:date:message-id:subject:to:cc; bh=krbCxSDASR8zfJ313ndZ55I6eSMu7raBtwAEaF8cML4=; b=BSkMBFUGvfXPjSZum/0q2kgroEZGbntT5TRniAUHkz1PKwvQv/aG2/8AIUsuY3JmcK gxQe5z8megAojMYgv2YhHG4RXeDnMFO2o2it0nX2KwdlgODLuwKp1GUnC4wMjOwM1Dyk AQrsPr+S5Yio5dt0E14PIBFT1b4yDleiJU7eBHaojw7+3FxuVUZCf+1vg8m/wc4y+9f0 fjgat+UrIGIl3f+TWrohImiPUAWUctAFHgGVFwweQKs5ZhwCxqeg19iEJfD3Clhv/xoj aL7pJJTz4xkpCfVmROIfgdkQoJAj7BwKPvNEfizUz5q5y717uns0g8RPbLNiBWWBzap2 Wrcg==
X-Gm-Message-State: APjAAAXAMbfgA9TXmOBPg4O2xZk9wBX8L7jvXQYrOyW1XwHNOJRgCQb1 NBCw9Y8ISIk66S8KVf/ksIkznwrJticsfFlv/SYAAg==
X-Google-Smtp-Source: APXvYqwGd6x9/dahqOR42y46NJ9apDSNvJBjc6t8qPB/Saa3iKmEk4+dzfmKGBpSFiLcL+SMQ6raO7pSCF7lUj7Ahxw=
X-Received: by 2002:a24:7bcc:: with SMTP id q195mr18325284itc.73.1560277910293; Tue, 11 Jun 2019 11:31:50 -0700 (PDT)
MIME-Version: 1.0
References: <DM6PR15MB2506E62560613C85F74A1FF8BB100@DM6PR15MB2506.namprd15.prod.outlook.com> <CALx6S36vVpD9bAPSBQmhV+daR0Yr4heQ-LaiB4hABAs8ofVfNQ@mail.gmail.com> <DM6PR15MB25063BAF058C1825E2B63E30BB130@DM6PR15MB2506.namprd15.prod.outlook.com> <CAKQ4NaW-QRZDO52zDZTSqz_MsfrS1uQHdz6zFjo+gXvtYVnFxA@mail.gmail.com> <DM6PR15MB2506E06165EA22E66BBB9524BB130@DM6PR15MB2506.namprd15.prod.outlook.com> <7E03089C-8429-4B56-96D6-441490C850B2@gmail.com> <32ad99f9-7e22-d214-7311-266d4f12caba@gmail.com> <CABOxzu1Lr0n7VfaW3_CECYbe2UphGoQ8ByWMkvKfx1HpohfeBA@mail.gmail.com>
In-Reply-To: <CABOxzu1Lr0n7VfaW3_CECYbe2UphGoQ8ByWMkvKfx1HpohfeBA@mail.gmail.com>
Reply-To: ek@loon.com
From: Erik Kline <ek@loon.com>
Date: Tue, 11 Jun 2019 11:31:37 -0700
Message-ID: <CAAedzxrex4MN5yXvxE+C=JTPeRMyGmHVXY-5OaWY-gLd=j48JQ@mail.gmail.com>
Subject: Re: IPv6 Link Local Addresses
To: Kerry Lynn <kerlyn@ieee.org>
Cc: Alexandre Petrescu <alexandre.petrescu@gmail.com>, 6man 6man <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000988500058b108223"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/DtyVTGP_TiGAvP3mSqOQmXe2Fd0>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Jun 2019 18:31:54 -0000

On Tue, 11 Jun 2019 at 10:42, Kerry Lynn <kerlyn@ieee.org> wrote:

> On Tue, Jun 11, 2019 at 9:05 AM Alexandre Petrescu <
> alexandre.petrescu@gmail.com> wrote:
>
>>
>>
>> Le 10/06/2019 à 18:44, Bob Hinden a écrit :
>> > Hi,
>> >
>> > RFC4291 defines Link Local Address as:
>> >
>> >   2.5.6.  Link-Local IPv6 Unicast Addresses
>> >
>> >     Link-Local addresses are for use on a single link.  Link-Local
>> >     addresses have the following format:
>> >
>> >     |   10     |
>> >     |  bits    |         54 bits         |          64 bits           |
>> >     +----------+-------------------------+----------------------------+
>> >     |1111111010|           0             |       interface ID         |
>> >     +----------+-------------------------+----------------------------+
>> >
>> >     Link-Local addresses are designed to be used for addressing on a
>> >     single link for purposes such as automatic address configuration,
>> >     neighbor discovery, or when no routers are present.
>> >
>> >     Routers must not forward any packets with Link-Local source or
>> >     destination addresses to other links.
>> >
>> > This means that link local addresses have a 10 bit prefix (1111111010)
>> followed by 54 bits of zeros.  That is it, nothing more.   Address with
>> different prefixes or with a 1111111010 prefix followed by non-zero 54 bits
>> are not link local addresses.
>> >
>> > This is not ambiguous.
>>
>> Bob,
>>
>> The RFC4291 link local addresses have a 10 bit prefix and 54bits of
>> zero.  That is fe80::/64.
>>
>> The IANA allocation of IPv6 link-local addresses is fe80::/10.
>>
>>  > fe80::/10    Link-Scoped Unicast     [RFC3513][RFC4291]
>>
>> In that sense, the IANA definition and the RFC4291 differ with respect
>> to the definition of link-local addresses.
>>
>> fe80::/10 and fe80::/64 are not the same thing.
>>
>> Alex
>>
>>
> Bob et al.
>
> Would a correct router implementation base its "must not forward" decision
> on the most-significant 10 bits or most significant 64 bits?
>

IMHO, /10.

The well-known prefix on a link is the /64.

The extra empty space between the two does have its uses (
https://www.freebsd.org/doc/en/books/developers-handbook/ipv6.html#ipv6-scope-index),
even if not officially sanctioned by a document.

Kerry
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>