Re: [Cbor] Supporting IPv6 Link-Local with scope (was Re: Éric Vyncke's Discuss on draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT))

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 07 October 2021 20:15 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 365E23A0E2C; Thu, 7 Oct 2021 13:15:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, 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 mvXe6yzUU4cY; Thu, 7 Oct 2021 13:15:18 -0700 (PDT)
Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 1C8673A0E2A; Thu, 7 Oct 2021 13:15:18 -0700 (PDT)
Received: by mail-pg1-x534.google.com with SMTP id s75so875017pgs.5; Thu, 07 Oct 2021 13:15:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vsAxCb6mfDjAt5LZ75kGoZNEAcaj9XZpP7JOPvyLQSE=; b=XoT04/4ssipDUBiASHHjc2zhhbPvxmG5srO/8prWM/LmreDeAmPwEr1M26jWmCsiPc 5zZxxj/1CBYuqMurfzG9y9EsZoV9eyDR2H28CzN8vfs6SHjDCEjZB6Ej6x848c+8Fc18 T43zxJoZMKyTbYkJyvWSxslsnxiOFWrodhrSG9LX9pP/mlmiSfYR0Di0VIqjR76EFk44 DVFCoTuuNGjs5lISeCRkxceTq3o6xIKivHYUyLZGS6Vqh9xCLBvgG9xm/SmXVhEn5kqL 1rf6vimLuVx7xfgDhkVTsqXyogeWPu63cYfZx+DNygcQj6YEfExhJsPFexJWU5Z3ASn+ 4EIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=vsAxCb6mfDjAt5LZ75kGoZNEAcaj9XZpP7JOPvyLQSE=; b=mHFFsXAc81TWEJJy6CUYVTFGfv5X1MLE2jnwXlT2jZXBoy5amj7DV1Pcidnqg9LDf/ 5ALB6dKzfwgyTVjhiuoz+JtybT8QzcokPFjIJ7iNmyjy++FOQPcnsCBmPNGbOjMBjSO2 EeywL15wUupx4/iUbYnXYQ8hjv8kqGijyiAVDySb5IuwaXMyQVucWyysVIAXy3MFAVlb 60dI7puncsGtU0UnQv5yPDf63oaeOK11WXjwSnw3LA0Hmc3ObRShOjtkmV+XylDYz8xs JlOHf5ubURzy66igPg2XsQ+KQ46AP0S4nFVRNrO2i91zRqC+tzpy/p0zvBi+KH0DFTcM Kr+A==
X-Gm-Message-State: AOAM530VobZddEtz3vTht7oCIwmhpucwjbPEv1NHCmrAVOYUa5mSF+S+ MDsWhe3Q5C7pfguftsMWtdg=
X-Google-Smtp-Source: ABdhPJwyk6yDQn6/+MGVQ9btzXqH6JjE8G6l9F5jAbO4hxV4wNgDupNu7oOuwm911a773hkaNlkcoA==
X-Received: by 2002:a62:5215:0:b0:44c:d170:ed7b with SMTP id g21-20020a625215000000b0044cd170ed7bmr2221335pfb.61.1633637716757; Thu, 07 Oct 2021 13:15:16 -0700 (PDT)
Received: from ?IPv6:2406:e003:1018:b901:db7:d041:a2d:ce65? ([2406:e003:1018:b901:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id v7sm243663pff.195.2021.10.07.13.15.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Oct 2021 13:15:16 -0700 (PDT)
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, cbor@ietf.org, The IESG <iesg@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>
References: <163344085669.17315.998599560097016034@ietfa.amsl.com> <24367.1633460118@localhost> <1fcf3889-57d1-83f5-2913-51ae9155130b@gmail.com> <6442.1633537138@localhost> <9D5E9264-0A10-4A24-8F23-DB89EDE851B9@tzi.org> <9043.1633557346@localhost> <372df336-eb01-de6d-2e11-e094b9ff7cfd@gmail.com> <4C91B412-C484-458E-BDA6-0AEDAF8EA774@tzi.org> <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <8c51c45b-32cf-308a-44df-ea3f785ddf22@gmail.com>
Date: Fri, 08 Oct 2021 09:15:11 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <20211007064338.vkrqz4emjh2ztrg2@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/jDcIyEShDRHlDoy2UUBIvbMorpM>
Subject: Re: [Cbor] Supporting IPv6 Link-Local with scope (was Re: Éric Vyncke's Discuss on draft-ietf-cbor-network-addresses-09: (with DISCUSS and COMMENT))
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2021 20:15:21 -0000

On 07-Oct-21 19:43, Jürgen Schönwälder wrote:
> On Thu, Oct 07, 2021 at 03:40:24AM +0200, Carsten Bormann wrote:
>> On 7. Oct 2021, at 00:44, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>>
>>> That's probably because there are none. As far as I know, there is no
>>> "Scoped architecture for IPv4" RFC. I don't know why there is YANG support.
>>
>> Zones are this gift that keeps on giving.
>>
>> If we are doing zones, we need to do them like YANG.
>> I would have a strong objection against including them but then doing them differently.
>> Maybe we should simply reference RFC 6991 as well.
>>
>> Jürgen:  Do you remember why ipv4-address has a zone ID (called “zone index”)?
>>
> 
> The YANG definitions were derived from the SNMP definitions. I think
> the first RFC having support for zoned IPv4 addresses in the network
> management world was RFC 2851 (published June 2000). I vaguely recall
> that we had several side meetings during the draft writing stage where
> people pointed to other work (that may have led to things like RFC
> 3927 later on) and/or they pointed out that the need to disambiguate
> IP addresses also exists in the IPv4 world. I think people also
> pointed to routers running multiple links using the same non-global
> (e.g., private) address spaces.

Unfortunately that never seems to have led to an equivalent of
RFC4007 or, as far as I can tell, a systematic definition of
interface id or interface index for IPv4, or to any recognition
of all this in the POSIX API. There is just a rather sad statement
in RFC3927: "At the time of this writing, there is no silver bullet
which solves these problems in all cases, in a general way."

The fact that it's covered, in a certain sense, by MIB modules and
YANG modules, doesn't help with this definitional problem. For
the present draft, that is OK, but I think there is a deeper
problem. Probably, we just have to accept that it isn't worth
doing anything about it for the legacy version of IP.

I'm happy with the proposed changes to the draft.

    Brian