Re: Extending a /64

"Joel M. Halpern" <jmh@joelhalpern.com> Mon, 16 November 2020 15:54 UTC

Return-Path: <jmh@joelhalpern.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 AB0853A12C3 for <ipv6@ietfa.amsl.com>; Mon, 16 Nov 2020 07:54:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.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 G80GZBJKs0ri for <ipv6@ietfa.amsl.com>; Mon, 16 Nov 2020 07:54:07 -0800 (PST)
Received: from maila2.tigertech.net (maila2.tigertech.net [208.80.4.152]) (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 A1B7E3A12F1 for <ipv6@ietf.org>; Mon, 16 Nov 2020 07:53:56 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by maila2.tigertech.net (Postfix) with ESMTP id 4CZYXN410Jz6G7pS; Mon, 16 Nov 2020 07:53:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1605542036; bh=valyAXlv3G56vIkTG3Z46bMI4Jzq9L1CdmCIEnDEBiQ=; h=Subject:To:References:From:Date:In-Reply-To:From; b=QgRhShNN7gio22AJHsNtQFIwANko63dujj6hwX2b6/uK7yTq8VZ+LNeBLoN9YeqxW 42iTJzu9QNjxoPTW0Xje9S6qLqQy2R+OQzaEVOeIjwEAlCYoRy15ekvm/mgyLOngK0 6F30xpDOTUk2bWtgHJkR73l6Qz1FQ5XgnFcKOpKM=
X-Quarantine-ID: <rBm81jvqdNMa>
X-Virus-Scanned: Debian amavisd-new at a2.tigertech.net
Received: from [192.168.128.43] (unknown [50.225.209.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by maila2.tigertech.net (Postfix) with ESMTPSA id 4CZYXN07kYz6G7jQ; Mon, 16 Nov 2020 07:53:55 -0800 (PST)
Subject: Re: Extending a /64
To: Tony Whyman <tony.whyman@mccallumwhyman.com>, ipv6@ietf.org
References: <202011151920.0AFJKN9U003337@mail2.mwassocs.co.uk> <3d26bffe-b6c9-4ed7-6135-a515f9902fd7@gmail.com> <m1keOTi-0000EGC@stereo.hq.phicoh.net> <CAO42Z2wZkXryhw1u5WAFdtCvXHyyz1zeM22FP_gRxjurjsG-Jw@mail.gmail.com> <5f505585-1328-d942-2ec2-a2d96b7b4779@foobar.org> <m1kePdR-0000I6C@stereo.hq.phicoh.net> <b022d11f-b55d-07ef-307d-949ff57cd562@foobar.org> <m1keS7i-0000E0C@stereo.hq.phicoh.net> <f06db586-15ed-6dd3-d09f-06a4e3759275@mccallumwhyman.com> <m1kecJm-0000EOC@stereo.hq.phicoh.net> <5101F72E-4197-4E58-8DEF-9EB9D5541482@thehobsons.co.uk> <m1kefWI-0000ETC@stereo.hq.phicoh.net> <845e43f9-4534-a125-3105-9d345b85029f@mccallumwhyman.com> <f18f1e55-6c8f-2963-7e3a-f22a89dda46d@joelhalpern.com> <0443de45-931d-fbda-20ab-2931383a3a8d@mccallumwhyman.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <032a9e0e-6929-ac23-623c-71ecb3629eb8@joelhalpern.com>
Date: Mon, 16 Nov 2020 10:53:54 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3
MIME-Version: 1.0
In-Reply-To: <0443de45-931d-fbda-20ab-2931383a3a8d@mccallumwhyman.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/tNKK0T-OgGGsbi0wncqkXgOiCpM>
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: Mon, 16 Nov 2020 15:54:09 -0000

Tony you have given a very good answer as to why the identifer is 39 
bits instead of something smaller.

That is not what I was trying to ask.
Why is the airplane identifier embedded in the IPv6 address at all. 
That is not the purpose of an IPv6 address.  It is not the name of the 
thing.

Yours,
Joel

On 11/16/2020 10:26 AM, Tony Whyman wrote:
> On 16/11/2020 14:50, Joel M. Halpern wrote:
>> Tony, why are you embedding the 39 bit airplane ID into the IPv6 
>> address.  That seems to be the fundamental thing that then has you 
>> need very short prefixes, and doing other difficult operations.
>>
>> And if the answer is "ICAO said so", then we have a problem of really 
>> smart aviation engineers doing network engineering.
>>
>> Yours,
>> Joel
> 
> Perhaps the best way to answer this question is to look at the alternative.
> 
> Aircraft MNPs are non-topological and hence could be densely allocated. 
> However, if you want to go the distance and specify the minimum length 
> identifier then:
> 
> 1. You need to set up a new registration database for aircraft (in order 
> to assign the new identifier) and one that is global rather than state 
> based - which is the present approach.
> 
> 2. You need to update the specification for the Aircraft Personality 
> Module and organise the fleet wide upgrade necessary to ensure that 
> every affected aircraft gets a new ICAO global Aircraft Identifier.
> 
> 3. Safety Authorities will now identify a new hazard potentially 
> resulting from a mis-match between the existing ICAO 24-bit identifier 
> (which still has to be used for radar, ADS-B, TCAS, etc.), and the new 
> airframe identifier.
> 
> 4. We need to develop procedures and systems for mitigating the new 
> hazard, assuming it is deemed serious enough.
> 
> 5. The protocol gateways that are planned to avoid having to upgrade the 
> existing ATC Systems in the same timeframe would now have to include a 
> lookup table between the "old" NSAP Addresses and the "new" IPv6 Addresses.
> 
> 6. The Safety Authority would identify a new hazard resulting from a 
> table configuration/maintenance error and procedures/mitigations would 
> be needed to counter the threat.
> 
> 7. The address mapping would have to extend to the application protocols.
> 
> In other words - a lot of negatives each with a potentially large cost 
> attached to them.
> 
> The next step is to accept that it is worth "wasting" a few more bits 
> and using the existing ICAO 24-bit aircraft identifier instead of some 
> new global aircraft identifier. This avoids issues 1 to 4 above.
> 
> In order to avoid 5, 6  and 7, we need to have a simple algorithm to 
> convert between aircraft ATN/OSI NSAP Addresses and ATN/IPS IPv6 
> Addresses. The existing (legacy) NSAP Address format for aircraft 
> addresses starts off with some constant prefix and is then followed by 
> an airline identifier, the ICAO 24-bit identifier, an 8 bit subnet id 
> and a 48-bit End System id (it follows a structure originally proposed 
> by NIST). The last two can be readily combined into a 64-bit host 
> identifier. Indeed, if we based the MNP on the ICAO 24-bit then the only 
> thing stopping a simple algorithm is the missing airline identifier part 
> - this cannot be readily predicted from the ICAO 24-bit identifier 
> without access to the registration database.
> 
> In order to avoid a lookup table in the protocol gateway, etc. we need 
> to have an airline identifier in the MNP. 15 bits appears to be the 
> minimum we can get away with (in order to avoid a new airline 
> identifier, the proposal is to generate a 15-bit identifier by encoding 
> the existing ICAO three character airline identifier using ITA-2 letter 
> shift). Hence 24 +15 = 39.
> 
> The industry's network providers also regard embedding an airline 
> identifier in the MNP as highly desirable. It is used in the existing 
> system for diagnostic purposes and firewalls.
> 
> This is not an "ICAO says so" at all. This is practical engineering to 
> deliver a new system as an evolution from an existing system and with 
> limited budgets. Start with a clean sheet of paper and you could use a 
> lot less that 39 bits. Unfortunately, we do not have that luxury.
> 
> Tony