Re: [ipwave] Intdir early review of draft-ietf-ipwave-ipv6-over-80211ocb-34 - 'conforming IPv6' - fe80::/10 vs fe80::/64

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 09 April 2019 23:30 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: its@ietfa.amsl.com
Delivered-To: its@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24DA51200DB; Tue, 9 Apr 2019 16:30:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ddEUpxWOxTtl; Tue, 9 Apr 2019 16:30:38 -0700 (PDT)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 0F1E71200C5; Tue, 9 Apr 2019 16:30:38 -0700 (PDT)
Received: by mail-pl1-x636.google.com with SMTP id bf11so139957plb.12; Tue, 09 Apr 2019 16:30:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=b0H2HJhwL2GPpYfQLRvPWVduzS1F5Ek3K/gP+RjLNqY=; b=Td8MtEkY9Zq6fgX7UHyS9T8m+Muhz5uS+6TSEmyKkJuuefXNyUhKyskmmJa0DkvyEG IdZWNjGfU2Zz5TpL3q2jw62lVwO7OdcuJvTK2pH0QFJP6GuqTyFreEbXlBjMv9wAO54z wLALBU2KlNEVjOxc8mjurnNLhiCehUjFAdvMbYg1euGfnZ9rjkaJMzNeZwaPQnvIUMwZ xA2JhfiO8obpHJ+UQlfnnMHh8YNGQMT6zo0vvtbXMV+xaR6lni5wnqkyu6lvziY2u3z1 msEvDwcJDdfodvGPOJPsJLirCgPMSpASCviFPXSdabLRVveH+PEq69QyebJwbgc0g3Ju nmpw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=b0H2HJhwL2GPpYfQLRvPWVduzS1F5Ek3K/gP+RjLNqY=; b=YsQtiMSY7uLVP4Fv9VMpd5SLZHZ5DMxhWN+vNYBRIUUWuvZlx2GOX5MFecpPEvrltc ERa13qoeXgdEbvk4C28pz4Z3ASJtPCze5lnF1h/9zZ39tejfyx4337ko+7U+wfJh4TIE 8DvtTu5BksaynuS5oAr0sWmpmhqckEO8iwyM9AD45TQj73fc5DX7mtV01lBZ1WOpePPj P0iAOZBVzSVC6JOx5zRbJSazR2EoVWAjw9d14TpZjNi46W4EiJnFHbS+1VTsuh5334Eu SrXiM0+DSgZAccwhO1gxbSQdpVgpecKHCYFQh7NF82Dn4Hh6vNV1UHZsuSTjqgPjJ28C rA5Q==
X-Gm-Message-State: APjAAAW6FmJNfvN/itHxnwMTpLuDxy8FUVkhSyMquJaiVQ4r6ij/Z1lr S9Y68qfATu5Dv1624u3oWAEHx0uE
X-Google-Smtp-Source: APXvYqxDZqKR2WfMCm0qsF5QbVqv8apoXLNfFEdK3JWDjBrSzczvjGMm9MEUT1mCs56gPIyfHZGwqw==
X-Received: by 2002:a17:902:2b81:: with SMTP id l1mr40485115plb.289.1554852637177; Tue, 09 Apr 2019 16:30:37 -0700 (PDT)
Received: from [130.216.36.25] (sc-cs-567-laptop.uoa.auckland.ac.nz. [130.216.36.25]) by smtp.gmail.com with ESMTPSA id x66sm26876930pfb.78.2019.04.09.16.30.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 16:30:35 -0700 (PDT)
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>, Pascal Thubert <pthubert@cisco.com>
Cc: draft-ietf-ipwave-ipv6-over-80211ocb.all@ietf.org, ietf@ietf.org, its@ietf.org, int-dir@ietf.org
References: <155169869045.5118.3508360720339540639@ietfa.amsl.com> <94941ef0-d0df-e8fe-091b-2e616f595eba@gmail.com> <c052e7a9-9acd-ecdd-9273-3142644dc5cd@gmail.com> <386b9f4c-f9b5-900c-817a-95df68226ed9@gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <cc9564f5-b049-fa99-31a4-98a9c9c1261a@gmail.com>
Date: Wed, 10 Apr 2019 11:30:32 +1200
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: <386b9f4c-f9b5-900c-817a-95df68226ed9@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/its/2BqFV-Wj4KhSp5QCZ3wAJO3ELi8>
Subject: Re: [ipwave] Intdir early review of draft-ietf-ipwave-ipv6-over-80211ocb-34 - 'conforming IPv6' - fe80::/10 vs fe80::/64
X-BeenThere: its@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IPWAVE - IP Wireless Access in Vehicular Environments WG at IETF <its.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/its>, <mailto:its-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/its/>
List-Post: <mailto:its@ietf.org>
List-Help: <mailto:its-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/its>, <mailto:its-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Apr 2019 23:30:40 -0000

Bonjour Alexandre,

On 10-Apr-19 02:11, Alexandre Petrescu wrote:
> 
> 
> Le 09/04/2019 à 00:37, Brian E Carpenter a écrit :
>> On 08-Apr-19 21:18, Alexandre Petrescu wrote:
>>>
>>> Le 04/03/2019 à 12:24, Pascal Thubert a écrit :
>>>> Reviewer: Pascal Thubert Review result: Not Ready
>>> [...]
>>>> "
>>>>
>>>> This subnet MUST use at least the link-local prefix fe80::/10 and
>>>> the interfaces MUST be assigned IPv6 addresses of type
>>>> link-local. " If this is conforming IPv6 then the MUST is not
>>>> needed.
>>>
>>> What do you mean by 'conforming IPv6'?
>>>
>>> The above phrase is a clarification of existing IPv6 specs.
>>>
>>> The spec in question is RFC 2464.  I consider that to be what we
>>> need to conform to.  That spec says 'fe80::/64'.  But that 64 is
>>> wrong.
>>
>> No it isn't. It specifies the LL prefix used over Ethernet. Since it 
>> is within fe80::/10, it's valid.
> 
> YEs, it is valid.
> 
>> I also don't understand the meaning of "at least" in this sentence.
> 
> "At least" means that at least the link-local prefix must be present on 
> the interface.  More than LL prefix, there could be a global prefix or 
> an ULA prefix or several of them.
> 
> "At least" does not mean "the value should be at least 10" in that phrase.
> 
> Do you think we should say otherwise?

To me there is nothing in the actual text to tell me that "at least"
qualifies the "/10". I think you could rephrase as
"This subnet's prefix MUST lie within the link-local prefix fe80::/10 ..."

However, see Jinmei's messages about conformance with RFC 4291.

I think there might be unexpected side effects from using an
address like fe80:1::1. What if some code uses matching with
fe80::/64 to test if an address is link-local? I agree that
would be faulty code, but you would be the first to discover it.

Regards
    Brian
 
>>> Hence the clarification.
>>
>> If you specify the prefix as /10, you have to define how the other
>> 118 bits are constructed. Specifying how the final 64 bits are
>> constructed is insufficient.
> 
> I agree.  I could add text that suggests the use of 0s between position 
> 64 and the position ending the prefix.  Would this be ok with you?
> 
>> Also, it seems to me that you should cite RFC8064 everywhere that you
>> cite RFC2464, since the EUI-64 mechanism is now considered obsolete.
> 
> It is considered obsolete ok, but are you sure?
> 
> There are enourmous deployments of embedded computers with kernels 2.x 
> that do that EUI-64 mechanism. It will take long to disappear.
> 
> An IPv6-over-OCB document today that does not do EUI-64 risks to not be 
> implemented.
> 
>> I also think the citation of draft-hinden-6man-rfc2464bis is
>> confusing, since it seems to be comatose.
> 
> Ah no!  Resurrect that, otherwise I remove the ref :-)
> 
>>
>>>
>>> Do you disagree with it?
>>>
>>> (the reasons why I put there /10 and not /64 are the following: LLs
>>> work in linux with any length between 10 and 64, the ND spec does
>>> not restrict to 64,
>>
>> No, but IPv6-over-foo documents usually do apply that restriction,
>> rather than define 118-bit IIDs.
> 
> It is good to know about practice in IPv6-over-foo documents.
> 
> What should I do in the IP-over-OCB document: continue that restriction? 
> or define 118bit IID with filling in 0s between 64 and position of last 
> bit of prefix?
> 
> (in implementation I already did fe80:1::1/32 as a link-local address on 
> OCB at 5.9GHz; the prefix is fe80:1::/32 and the IID is ::1 of length 96 
> with 32 leading 0 bits; it works between cars)
> 
> Alex
> 
>>
>> Brian
>>
>>> the IANA starts at 10, and probably other reasons; there is a
>>> recent I-D about this LL prefix length: 
>>> draft-petrescu-6man-ll-prefix-len-07).
>>>
>>> Alex
>>>
>>>
>>
>>
> .
>