Re: Compressed Routing Header idea

Gyan Mishra <hayabusagsm@gmail.com> Mon, 18 May 2020 19:03 UTC

Return-Path: <hayabusagsm@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 7934D3A0DF3; Mon, 18 May 2020 12:03:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.197
X-Spam-Level:
X-Spam-Status: No, score=-0.197 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 hCBMzp5ssqMY; Mon, 18 May 2020 12:03:31 -0700 (PDT)
Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) (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 2D0B23A1229; Mon, 18 May 2020 12:01:55 -0700 (PDT)
Received: by mail-il1-x135.google.com with SMTP id w18so10919354ilm.13; Mon, 18 May 2020 12:01:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E3vKMEDKTm34ZfpZ7oeCRaIHRkSzPm/6XfWZFRW5ViY=; b=G4EbWUqX5MMGQyHCvDPBIbidWchukTAljMHCWw77LVQEQhhFpvVILWDda0u4uc0T/j 8HVKAavrhsfhNt2hjdBaBjKbSAYhul9wtlo1sLga5Kj1WRTqo1OzBOI6ksFkvGE+hNIE 0gvHufl5rYHeSDnG3Md1boFv0CH7iyYBwRTM/Iz2KY4vejXMNX5ewv9lyfWrMB8UiP6x ifFXLbyP0AK9N/EDBiPNUR2lSv46/hDNOIyu5P5R7c8UA3AOqIZBVgyfOZrTI5/e0gUH ZTLYqfTTHUwjfVjhj2tj0ZinF+8nheX87DjYMxgtUf68MR419ojmUDmTXnA05BN93Zcr aYyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E3vKMEDKTm34ZfpZ7oeCRaIHRkSzPm/6XfWZFRW5ViY=; b=q1mz9tC4qicYEjL9TvC9wnoc6r1+TpfdpqEJUQCzzZV7aKeujam3r3BqsWtrWrpmbt e7/7gRo1ok86fQWV2vki/LWzVxXFitIFe4vVRGRNGPPXyycy3k++/0aVvtSwoPUN9Qb9 pO3UB5s7qWSLkCZ4AVgfrikloPnatPzGjQZc1ED2+PQLBmv5E4JcFqEerNzHGwi5CExE MK4QgG1keJB78Zif6e+DIGpJBmhynJ4913ou6uLMxGF8LDxeUwf0G6NgQADTCIURKXSL d3swImgFmfX8AGx1jPa76VsEe9MptedbWY/vhilduJhPgTl6qliq1gLcFuGNbwioVsTj QPfg==
X-Gm-Message-State: AOAM531msix1WHwXsG5MNsp5CxgDC4dV/H+oh4gdbURCJSg9RrzhMzPO d41HUIgG3/4iheGV4OZZLAAZidCCmlwkQ0FK+LxZAYFbuSA=
X-Google-Smtp-Source: ABdhPJyZ2cN19gmYkuXkUgGmis2j3dMi7zTIcFwea9WXjjcQaSD2C+qZhtb2dQTbY0M5LNMwHRgXDWRG6Z5bxRwKAUA=
X-Received: by 2002:a92:d06:: with SMTP id 6mr17669521iln.257.1589828513720; Mon, 18 May 2020 12:01:53 -0700 (PDT)
MIME-Version: 1.0
References: <2a844eb431b346b8931196c5e21d33ae@boeing.com> <MN2PR11MB35654AC2F2C85717097DA6C6D8B80@MN2PR11MB3565.namprd11.prod.outlook.com> <e3c8e3a6e80047cd9033e48997e0bb99@boeing.com>
In-Reply-To: <e3c8e3a6e80047cd9033e48997e0bb99@boeing.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Mon, 18 May 2020 15:01:42 -0400
Message-ID: <CABNhwV2RCii_e6H1L2BgoyqjzGOOWf6+=CN_KJc+KmH9eYZRgw@mail.gmail.com>
Subject: Re: Compressed Routing Header idea
To: 6MAN <6man@ietf.org>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, "Templin (US), Fred L" <Fred.L.Templin@boeing.com>
Cc: IPv6 List <ipv6@ietf.org>, "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Content-Type: multipart/alternative; boundary="000000000000d0714a05a5f0cbe6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/2EYM_gEMvacFANd5Ql0OmPTep3g>
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, 18 May 2020 19:03:34 -0000

Pascal

In light of our recent extensive discussion on CRH WG adoption, glad you
mentioned the use cases of source routing with IPV6 Routing header for 6lo
and use cases that exist today with source routing within the 6MAN charter.


Even using the same acronym SRH where SRH in RFC 6554 refers to “Source
Routing Header” and not Springs “Segment Routing Header”.   Nice!!

Makes good sense for 6lo constrained nodes IoT etc to use SRH since they
cannot hold a routing table.

Nice and very good example that Spring does not own the concept of the
source routing architecture.

https://tools.ietf.org/html/rfc6554

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> 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]
> > Sent: Monday, May 18, 2020 7:55 AM
> > To: Templin (US), Fred L <Fred.L.Templin@boeing.com>; IPv6 List <
> 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> On Behalf Of Templin (US), Fred L
> > > Sent: lundi 18 mai 2020 16:04
> > > To: IPv6 List <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
> > > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > > --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> 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