Re: on-link and off-link addresses, side discussion
Alexandre Petrescu <alexandre.petrescu@gmail.com> Thu, 08 July 2021 10:20 UTC
Return-Path: <alexandre.petrescu@gmail.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 ACBA93A1D08 for <ipv6@ietfa.amsl.com>; Thu, 8 Jul 2021 03:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.334
X-Spam-Level:
X-Spam-Status: No, score=0.334 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.338, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=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 OKdjBYHy-kRt for <ipv6@ietfa.amsl.com>; Thu, 8 Jul 2021 03:19:59 -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 33B063A1D00 for <ipv6@ietf.org>; Thu, 8 Jul 2021 03:19:58 -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 168AJs5b018519 for <ipv6@ietf.org>; Thu, 8 Jul 2021 12:19:54 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C7A3F2072FF for <ipv6@ietf.org>; Thu, 8 Jul 2021 12:19:54 +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 BDD0E200D2D for <ipv6@ietf.org>; Thu, 8 Jul 2021 12:19:54 +0200 (CEST)
Received: from [10.14.0.112] ([10.14.0.112]) by muguet2-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id 168AJsNK007748 for <ipv6@ietf.org>; Thu, 8 Jul 2021 12:19:54 +0200
Subject: Re: on-link and off-link addresses, side discussion
To: ipv6@ietf.org
References: <162512790860.6559.14490468072475126698@ietfa.amsl.com> <CAFU7BAT0O9nsuhs5FyNjvPfRKY+EM1fLYKaMYTwaPg2QjZAEpA@mail.gmail.com> <61e14cd7-ff37-5380-e547-8a9b6d3993da@gmail.com> <CAFU7BASF-vas+PP2dVNXuqScQArC+joB-fwRGzG3UZnsqq1QJg@mail.gmail.com> <2f1f68a1-8130-45b6-0586-6340f5e0bf9a@gmail.com> <8FC82801-F5FC-4FC3-8946-C37D1420248D@thehobsons.co.uk>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <6b51c620-af53-5171-7856-b39471907460@gmail.com>
Date: Thu, 08 Jul 2021 12:19:54 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <8FC82801-F5FC-4FC3-8946-C37D1420248D@thehobsons.co.uk>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/jbWoS-h-QHfQe1EmgIB-0jySuKk>
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: Thu, 08 Jul 2021 10:20:02 -0000
Le 06/07/2021 à 18:32, Simon Hobson a écrit : > Alexandre Petrescu <alexandre.petrescu@gmail.com> wrote: > >>> I suggest you look at it from a different angle. "on-link address" is >>> defined as an address that is assigned to an interface on a specified >>> link. >> >> But, each address is on a link. >> >> On-link means the address is on this link that we are assuming commonly. >> The term off-link means that the address is not on this link we assume >> commonly, but is on-link on another link. > > Isn't it simpler than that ? > On link == hosts can directly contact other hosts in the prefix via this link > Not on link == hosts can only contact other hosts in the prefix via one or more intermediaries > > Intermediary in this case is quite flexible and could include routing packets or mechanisms like proxy ND I think it is a good informal explanation, that fits. However, the formal definition of 'on-link' in RFC 4861 says that 'on-link' is an address on a specified link. But in RAs there is no means to specify a link. There are indeed prefixes that are valid on a particular link, but links are not identified by particular prefixes. Further, the definition says that "a node considers an address to be on-link it is covered by a particular prefix". That operation, 'being covered by', is not specified. One might think of the use of a longest prefiix match algorithm. A longest prefix match algorithm is defined in that RFC to be used to determine which prefix (from a set of prefixes) 'covers' an address. On another hand, the definition of 'on-link' says it wants to identify whether a _particular_ prefix 'covers' an address (not to try to identify whether an address matches better one prefix or another). That is a distinct algorithm from the longest prefix match algorithm. To give an example: by using a longest-prefix-match algorithm in a normal way (identify which prefix out of a set of prefixes matches better one particular address) one will always 'cover' an address with almost any prefix. All allocated prefixes start with this '000' triple bits. So they all cover any address; but in that 'cover' operation one specifically adds that it covers up to 3 bits. The 'cover' operation is successful, but just up to 3. If, on the other hand, we silently assume that a longest-prefix-match algorithm is always used with a prefix length of precisely 64 bits, then indeed the longest prefix match algorithm can be used to say it 'covers' (or not covers) an address. But it is no longer a longest-prefix-match but rather a mix-in of exact match on 64. The problem with this assumption is that the RFC 4861 does not say this '64', but everyone else seems to assume it. At that point, if this is agreed, I would like to suggest RFC4861 to explicitely say that all the definitions of 'on-link' and of 'cover by' rely on a silent yet fundamental assumptions that all IPv6 addresses have a boundary at 64. And no longer be silent about it. After that, I would like to suggest to remove that barrier. Alex > > I think any more is just making things complicated. If the link is of a type (e.g. unfiltered ethernet) where neighbours can find each other (e.g. using ND), then a prefix can be on-link. Otherwise (non-broadcast link technology, security filtering, etc), prefixes will need to be off-link. > > > OK, so what have I missed here ? > > Simon > > -------------------------------------------------------------------- > IETF IPv6 working group mailing list > ipv6@ietf.org > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6 > -------------------------------------------------------------------- >
- Robert Wilton's No Objection on draft-ietf-6man-g… Robert Wilton via Datatracker
- Re: Robert Wilton's No Objection on draft-ietf-6m… Jen Linkova
- RE: Robert Wilton's No Objection on draft-ietf-6m… Rob Wilton (rwilton)
- Re: Robert Wilton's No Objection on draft-ietf-6m… Alexandre Petrescu
- Re: Robert Wilton's No Objection on draft-ietf-6m… Jen Linkova
- on-link and off-link addresses, side discussion Alexandre Petrescu
- Re: on-link and off-link addresses, side discussi… Simon Hobson
- Re: on-link and off-link addresses, side discussi… Alexandre Petrescu
- Re: on-link and off-link addresses, side discussi… Philip Homburg
- Re: on-link and off-link addresses, side discussi… Simon Hobson
- Re: Robert Wilton's No Objection on draft-ietf-6m… Wes Beebee (wbeebee)
- Re: why "is /64 [a] "default" prefix length when … Alexandre Petrescu
- Re: on-link and off-link Alexandre Petrescu
- Re: on-link and off-link Philip Homburg
- RE: on-link and off-link Vasilenko Eduard
- RE: on-link and off-link Pascal Thubert (pthubert)
- RE: on-link and off-link Vasilenko Eduard
- RE: on-link and off-link Pascal Thubert (pthubert)
- Re: why "is /64 [a] "default" prefix length when … Wes Beebee (wbeebee)
- Re: on-link and off-link Wes Beebee (wbeebee)
- RE: on-link and off-link Vasilenko Eduard