RE: Compressed Routing Header idea

"Templin (US), Fred L" <Fred.L.Templin@boeing.com> Thu, 21 May 2020 19:59 UTC

Return-Path: <Fred.L.Templin@boeing.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 58B823A041D; Thu, 21 May 2020 12:59:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=boeing.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 3aA_WbHjDFqc; Thu, 21 May 2020 12:59:57 -0700 (PDT)
Received: from clt-mbsout-01.mbs.boeing.net (clt-mbsout-01.mbs.boeing.net [130.76.144.162]) (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 BDD5A3A046A; Thu, 21 May 2020 12:59:56 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by clt-mbsout-01.mbs.boeing.net (8.15.2/8.15.2/DOWNSTREAM_MBSOUT) with SMTP id 04LJxrlo008381; Thu, 21 May 2020 15:59:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boeing.com; s=boeing-s1912; t=1590091194; bh=+iXjt4y0Czaqtf/a1tECVUP6Aud6+ZndEbpSz1KFG+g=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=jV97VkVv/+cqYuuAbuavp29x+viSIiEuVpjbMteX50GmU407C4qBB8iul3Y0jWVgl WNXDCIhTxP9AEzX8zzvTQfNe8D2uJXece9RhzbMc2pSoIIu93Z8JEWaqFBZwH6q7rf dIqCL9xbWIx4ENInbXkbP9SiNkp0UPR8aJ5cvaQkb4vPbde29toWwpPKqSqcyeGUp8 UE9bflI7CJDUDwg94Rqp/7rC62Mf4zVllHUG30k1oAldqtutuGi8q63+B0GaeOkZwv 1Fg9BXJ4SAeClk+TG4eOXlxub/Sf3FA8PMcVMx2Lgf8t3432bLd8TzeAwSytyO2iXe ErAPcH0+06IMw==
Received: from XCH16-07-07.nos.boeing.com (xch16-07-07.nos.boeing.com [144.115.66.109]) by clt-mbsout-01.mbs.boeing.net (8.15.2/8.15.2/8.15.2/UPSTREAM_MBSOUT) with ESMTPS id 04LJxhPk007048 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=OK); Thu, 21 May 2020 15:59:43 -0400
Received: from XCH16-07-10.nos.boeing.com (144.115.66.112) by XCH16-07-07.nos.boeing.com (144.115.66.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1979.3; Thu, 21 May 2020 12:59:42 -0700
Received: from XCH16-07-10.nos.boeing.com ([fe80::e065:4e77:ac47:d9a8]) by XCH16-07-10.nos.boeing.com ([fe80::e065:4e77:ac47:d9a8%2]) with mapi id 15.01.1979.003; Thu, 21 May 2020 12:59:42 -0700
From: "Templin (US), Fred L" <Fred.L.Templin@boeing.com>
To: Gyan Mishra <hayabusagsm@gmail.com>, 6MAN <6man@ietf.org>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
CC: IPv6 List <ipv6@ietf.org>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Subject: RE: Compressed Routing Header idea
Thread-Topic: Compressed Routing Header idea
Thread-Index: AdYtHG+8rC3YEibIRJu4gVbarLwgbQABz5wgAACO2SAAFuHNAACJ7auA
Date: Thu, 21 May 2020 19:59:42 +0000
Message-ID: <4af522c96b53457781e428432543e592@boeing.com>
References: <2a844eb431b346b8931196c5e21d33ae@boeing.com> <MN2PR11MB35654AC2F2C85717097DA6C6D8B80@MN2PR11MB3565.namprd11.prod.outlook.com> <e3c8e3a6e80047cd9033e48997e0bb99@boeing.com> <CABNhwV2RCii_e6H1L2BgoyqjzGOOWf6+=CN_KJc+KmH9eYZRgw@mail.gmail.com>
In-Reply-To: <CABNhwV2RCii_e6H1L2BgoyqjzGOOWf6+=CN_KJc+KmH9eYZRgw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [137.137.12.6]
x-tm-snts-smtp: CC167C596E8972CEEC2BC780D9B12E3C29CFD19FAA4A7AED91C6DBAD5F77DA7F2000:8
Content-Type: multipart/alternative; boundary="_000_4af522c96b53457781e428432543e592boeingcom_"
MIME-Version: 1.0
X-TM-AS-GCONF: 00
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/zIfc2LHW550OpaCZhB2o3wQyPE0>
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, 21 May 2020 19:59:59 -0000

Hi, just seeing this question now (below). The idea is that the router that processes
the penultimate SID would “pair” it with the ultimate SID so that the penultimate SID
is written as the final IPv6 destination while the ultimate SID (which may include an
address and port number) is used as a destination for IPv6-in-IP encapsulation. So,
the final hop router before the final destination would be the one to extract it.

I had a somewhat related question – can the final hop router before the final
destination delete the Routing Header before forwarding?

Thanks - Fred

Fred

Curious what would be the particular application use case for variable compressed routing header to add ancillary info like port or other miscellaneous info.

 I am guessing the final destination would have to extract the ancillary.  In a connection the tcp or udp source is the same unless using RPC or an app using dynamic port allocation and want to save the port info somewhere else.

https://datatracker.ietf.org/doc/draft-templin-6man-crh-variable/


Thanks

Gyan

On Mon, May 18, 2020 at 11:12 AM Templin (US), Fred L <Fred.L.Templin@boeing.com<mailto:Fred.L.Templin@boeing.com>> wrote:
Pascal, thanks I did not know about this but at first glance I do not believe RFC8138 fully
satisfies what I need. First, I want to be able to support both left-side (most significant
bits) and right-side (least significant bits) compression. Second, I want to be able to
compress to the byte granularity for any length from 0 to 16 bytes. And, third, I want
to be able to include an ancillary piece of information (e.g., an application port number)
with each IPv6 address. So, I submitted a short draft showing the format that I would
see as being flexible to support my use case and I think perhaps many other:

https://datatracker.ietf.org/doc/draft-templin-6man-crh-variable/

I did include a reference to RFC8138 - let me know your thoughts.

Fred

> -----Original Message-----
> From: Pascal Thubert (pthubert) [mailto:pthubert@cisco.com<mailto:pthubert@cisco.com>]
> Sent: Monday, May 18, 2020 7:55 AM
> To: Templin (US), Fred L <Fred.L.Templin@boeing.com<mailto:Fred.L.Templin@boeing.com>>; IPv6 List <ipv6@ietf.org<mailto:ipv6@ietf.org>>
> Subject: RE: Compressed Routing Header idea
>
> Hello Fred:
>
> Are you aware of RFC 8138? See https://tools.ietf.org/html/rfc8138#section-5.1
> The addresses in the source route header can be compressed as follows:
>
> "
>
>      +-----------+----------------------+
>      |   6LoRH   | Length of compressed |
>      |   Type    | IPv6 address (bytes) |
>      +-----------+----------------------+
>      |    0      |       1              |
>      |    1      |       2              |
>      |    2      |       4              |
>      |    3      |       8              |
>      |    4      |      16              |
>      +-----------+----------------------+
>
>                        Figure 7: The SRH-6LoRH Types
>
> "
> You need multiple SRH-6loRH if you have different sizes to accommodate.
>
> Keep safe
>
> Pascal
>
> > -----Original Message-----
> > From: ipv6 <ipv6-bounces@ietf.org<mailto:ipv6-bounces@ietf.org>> On Behalf Of Templin (US), Fred L
> > Sent: lundi 18 mai 2020 16:04
> > To: IPv6 List <ipv6@ietf.org<mailto:ipv6@ietf.org>>
> > Subject: Compressed Routing Header idea
> >
> > Hi, I have a use case where some IPv6 addresses that would go into a routing
> > header are more compressible than others and so I am wondering if some kind
> > of "hybrid" compressed routing header would be possible. For example, if one
> > address can be compressed down to
> > 16 bits, then include only those 16 bits; if a different address can only be
> > compressed down to 32 bits, then include the 32 bits; if yet a different address
> > cannot be compressed at all, then include all 128 bits. And, there may be many
> > more sizes in between.
> >
> > RFC4191 Section 2.3 shows an example of how an IPv6 prefix/address can be
> > compressed to a variable length. Essentially, a length byte followed by a
> > variable-length prefix. That way there would still be "pretty good compression"
> > albeit with an extra byte per prefix. And, it would be a generalized form that
> > would only require a single routing header type value.
> > How would it be if we did something like that?
> >
> > Fred
> >
> >
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org<mailto:ipv6@ietf.org>
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org<mailto:ipv6@ietf.org>
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------
--
Gyan  Mishra
Network Engineering & Technology
Verizon
Silver Spring, MD 20904
Phone: 301 502-1347
Email: gyan.s.mishra@verizon.com<mailto:gyan.s.mishra@verizon.com>