Re: New Version Notification for draft-petrescu-6man-ll-prefix-len-17.txt

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 10 May 2019 11:17 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 45CBE12004E for <ipv6@ietfa.amsl.com>; Fri, 10 May 2019 04:17:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.632
X-Spam-Level:
X-Spam-Status: No, score=-2.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=ham 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 QpeZB87jkXOw for <ipv6@ietfa.amsl.com>; Fri, 10 May 2019 04:17:37 -0700 (PDT)
Received: from cirse-smtp-out.extra.cea.fr (cirse-smtp-out.extra.cea.fr [132.167.192.148]) (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 E2286120026 for <ipv6@ietf.org>; Fri, 10 May 2019 04:17:36 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x4ABHWZJ042439; Fri, 10 May 2019 13:17:32 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C970620436B; Fri, 10 May 2019 13:17:32 +0200 (CEST)
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id B93AB2042A3; Fri, 10 May 2019 13:17:32 +0200 (CEST)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id x4ABHWPQ028565; Fri, 10 May 2019 13:17:32 +0200
Subject: Re: New Version Notification for draft-petrescu-6man-ll-prefix-len-17.txt
To: tom petch <ietfc@btconnect.com>, "sthaug@nethelp.no" <sthaug@nethelp.no>
Cc: "ipv6@ietf.org" <ipv6@ietf.org>
References: <880be598-be49-a28c-57eb-f5e27a92a8f0@gmail.com> <5a96f657-9db3-6ecc-7bc7-b2e744361af3@foobar.org> <3353e235-8f20-eb1f-847b-16fda4db0a5e@gmail.com> <20190510.103055.305870287.sthaug@nethelp.no> <01fa01d5071b$fb9ed6e0$4001a8c0@gateway.2wire.net>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <2e3b3842-8465-4ecf-65e8-99e33212f260@gmail.com>
Date: Fri, 10 May 2019 13:17:32 +0200
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: <01fa01d5071b$fb9ed6e0$4001a8c0@gateway.2wire.net>
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/V3GHHUzZPSH6Vhg8FiZYSqcXE_Q>
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: Fri, 10 May 2019 11:17:39 -0000


Le 10/05/2019 à 12:38, tom petch a écrit :
> ----- Original Message -----
> From: <sthaug@nethelp.no>
> Sent: Friday, May 10, 2019 9:30 AM
> 
>>>> Why OSPF(v3) for IPv6 does not use an IPv6 address in the neighbor
> ID,
>>>> and why does it use an IPv4 address instead?
>>> both OSPFv2 and OSPFv3 use a 32-bit instance ID, which is
>>> traditionally represented as an ipv4 address. It's not actually an
>>> ipv4 address.
>>
>> The 32bit instance ID responds to ping?
> 
> No.
> 
>> The 32bit instance ID is present in routing tables as next-hop?
> 
> No.
> 
> Think of it as a 32-bit *number*, not as an IPv4 address (because it
> *is not* an IPv4 address).

In that case, the problem is in the textual representation of a 32bit 
value.  An uint32 cast into a struct in_addr and further converted by 
inet_ntoa to be displayed as a '1.1.1.1' instead of the intuitive 
'16843009' is misleading.

Probably the operating system of that router could be updated to no 
longer display the instance ID as an IP address.

In terms of spec, it seems Router ID of RFC2328 is the culprit, because 
RFC5340 says:
>  When receiving an Hello Packet from a neighbor on a broadcast,
>         Point-to-MultiPoint or NBMA network, set the neighbor
>         structure's Neighbor ID equal to the Router ID found in the
>         packet's OSPF header.
[...]
>     Router ID
>         A 32-bit number that uniquely identifies this router in the AS.
>         One possible implementation strategy would be to use the
>         smallest IP interface address belonging to the router.

RFC5340 OSPFv3 IPv6:
> o  OSPF Router IDs, Area IDs, and LSA Link State IDs remain at the
>       IPv4 size of 32 bits.  They can no longer be assigned as (IPv6)
>       addresses.

It sounds as if it was possible to use IPv6 addresses as Router IDs 
before, but no longer.

Alex

> 
> <tp>
> Absolutely, it is a 32 bit identifier with no semantics at all.
> 
> Trouble is, an all too popular manufacturer decided that one way to
> specify it was to make it an IPv4 address as well - both 32 bit, what
> could go wrong? - sothere are many who now think that it is, even must
> be, an address that can be reached over the network.  If you have some
> of this kit, and an IPv4 network, then you may indeed be able to use
> those 32 bits as a source IP address or a destination IP address but
> that would be a case of a manufacturer deciding to go over and beyond
> the specification and making future development more complex.
> 
> Thank heavens the OSPF WG carried the right concept across to OSPF v3.
> 
> Tom Petch
> 
> Steinar Haug, AS2116
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
> 
>