Re: [lisp] [spring] IPv6-compressed-routing-header-crh

Greg Mirsky <gregimirsky@gmail.com> Sun, 21 April 2019 19:45 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: lisp@ietfa.amsl.com
Delivered-To: lisp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32E771203E2; Sun, 21 Apr 2019 12:45:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=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 7QU5AHT1QbBe; Sun, 21 Apr 2019 12:45:50 -0700 (PDT)
Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) (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 345621203DB; Sun, 21 Apr 2019 12:45:50 -0700 (PDT)
Received: by mail-lf1-x144.google.com with SMTP id t11so7527541lfl.12; Sun, 21 Apr 2019 12:45:50 -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=CuHatCMinUt8K61MjvkUWCeUCzzVMXf/+npgwmMmVMk=; b=FxnDpOScHAmB1J6F7SvUxn1KevAyTvYAExxAPxvVlk0lNI50+8o+t1wvA2J4PQ6vur q1g+7TbtvvISWFtq9BfolBkRHGiLgLU1tBmesWM31SD1tdELi09IFOrX+8DnZPdOyWXG B7KNJZwZjd5eJlCQuhpiYESPsH5xSb4Btqp/LvFwM5Bi0xGC96UVxCz2fzqKAovDIx7R FyX++p/MFuEeKG7aR2npE4bHC1QZ1Ili2LFrSkmXOnIct+mhglIgrf8cZMq0rb/bb05I N6mkj4idf2jrP5dbKfZZRyY9+4jtWPubC5BRItzu+wvhh+qJ6OJo3GzWSZdDXHGhtNSp H9kQ==
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=CuHatCMinUt8K61MjvkUWCeUCzzVMXf/+npgwmMmVMk=; b=V1ypLTKvv/IM021m/ORaT2tM3AvW3H4DiWY2LtUqoxW4WS23f7stSsxlSPZQRRT76i ypAO2vXyRZG2H/d/3nfn6ZltnpbfIjuqDfyljuVQp1klUE128Pute+HaXQ5lq/uwjvHL XzYWs3Jonio712aFRtLruDI5PX/oLd7Ll0Bmu3iSYejQaZ+fgOhOfDtXAbOZEJLW2etX eB/e/SKbZ7ErIrxxHE9EDs6WGgqIyB+zIFqE3d01IAARoHX22BuwRbvIYX9YiAUv84TK 0z9aqnGucZ0XQgImxfcgT943chmpKtgoKuAKfUsTJ0yCmM5teMiSJHpJ1IO41QtXqdk9 SRnQ==
X-Gm-Message-State: APjAAAVYUArJKBuaNUUQ8nTIZXfELye7Ht97WfQWr2tckPNSuUp3S3tK wHVgyfI7sk48KLi1/QeBx1OjsBB7tjyznkN5wx8=
X-Google-Smtp-Source: APXvYqzb3HwMyfuv+s3JTf0BadnVqXEzZmScKW/FtQMziflQgwsUV6r0P1Xycn0Xdog/n6jLy8bZvQaNQ32IvAwC/78=
X-Received: by 2002:ac2:5a11:: with SMTP id q17mr8236063lfn.145.1555875948281; Sun, 21 Apr 2019 12:45:48 -0700 (PDT)
MIME-Version: 1.0
References: <A881B89B-5E72-40CD-81F3-50396958A554@cisco.com> <BYAPR05MB4245D3F821D84847549FB6DAAE5A0@BYAPR05MB4245.namprd05.prod.outlook.com> <CA+b+ERmo9cPgCtnDgvkqNkFiLXdOJikWRLOKXM9NQfbNtJ__Zg@mail.gmail.com> <CAO42Z2yKmWub+maw4oVzaEY4HoHVszwOo4FQNCHT0uVkKFNwRw@mail.gmail.com> <CA+b+ERk+UiXg5Vtv-2kshkJ9VQMpMF22deFpKfGeMmqbBE9QtA@mail.gmail.com> <CAO42Z2yPi6wb85jh5es3feboJ5fOhr+iS8OraPjLD-rKTkNSQg@mail.gmail.com> <CAOj+MMHXWsXbBmByy8TWNfAWm0fKuiN6BDdGLzBgN7GRHkz+1A@mail.gmail.com> <CALx6S34FPPq9R=RAxhnPJRHT8z07htnC8banLkL2gU94Bz61hQ@mail.gmail.com> <CAO42Z2z+4JhObAktyd0KrULdwcrSkiFOD4cOVPt0QeVdHVES9A@mail.gmail.com> <CALx6S35Xnymc3oSKOX68bmtuWTH_6_Cd10FwjOd0db9TXVGp8Q@mail.gmail.com> <CA+RyBmUtdOoJRubPR6fmw+bUJF_pQXLbkbGC=PPGimwR_xe8mA@mail.gmail.com> <CALx6S36afbmp9A9fu41EMQE3pki0uo7JHM3MLCnKhGpKR304wQ@mail.gmail.com>
In-Reply-To: <CALx6S36afbmp9A9fu41EMQE3pki0uo7JHM3MLCnKhGpKR304wQ@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Sun, 21 Apr 2019 12:45:36 -0700
Message-ID: <CA+RyBmW_tWZ+sNWwdEgkNoxwtNQMn2s2j8DSf7e_r_JGm9tB2A@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
Cc: Mark Smith <markzzzsmith@gmail.com>, SPRING WG <spring@ietf.org>, Dino Farinacci <farinacci@gmail.com>, "ipv6@ietf.org" <ipv6@ietf.org>, "lisp@ietf.org list" <lisp@ietf.org>, Robert Raszuk <robert@raszuk.net>
Content-Type: multipart/alternative; boundary="0000000000003643be05870f99ae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/fnWxnVJezJVUiYj7c8oLj3LET-I>
Subject: Re: [lisp] [spring] IPv6-compressed-routing-header-crh
X-BeenThere: lisp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: List for the discussion of the Locator/ID Separation Protocol <lisp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lisp>, <mailto:lisp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lisp/>
List-Post: <mailto:lisp@ietf.org>
List-Help: <mailto:lisp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lisp>, <mailto:lisp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Apr 2019 19:45:55 -0000

Hi Tom,
thank you for your feedback and the suggestion. In proposing the use of 20
bits-long SID we've followed the existing IGP-SR extensions. Both
draft-ietf-ospf-segment-routing-extensions
and draft-ietf-isis-segment-routing-extensions advertisement of 4
octets-long SIDs as well as 20 bits-long (the latter as 20 rightmost bits
in 3 octets-long field). Though the proposal to using 20 bits-long SIDs in
IPv6 SR EH may be considered as duplication of
the draft-ietf-mpls-sr-over-ip, SR EH has very useful property, for example
in OAM, of preserving the SR path.
I think that we can expand the length of the field in SR EH to support 16
and 64 bits-long SIDs in addition to ones being proposed in the draft.
Much appreciate your comments.

Regards,
Greg

On Sat, Apr 20, 2019 at 12:50 PM Tom Herbert <tom@herbertland.com> wrote:

>
>
> On Fri, Apr 19, 2019, 5:54 PM Greg Mirsky <gregimirsky@gmail.com> wrote:
>
>> Hi Tom,
>> in draft-mirsky-6man-unified-id-sr
>> <https://tools.ietf.org/html/draft-mirsky-6man-unified-id-sr-02> we've
>> proposed the use of 20 and 32 bits-long SIDs in SR EH. Two bits-long field
>> also defined in the Flags to identify the length of SID element in the SR
>> EH:
>>       0b00 - 128-bits SID;
>>       0b01 - 20-bits SID;
>>       0b10 - 32-bits SID
>>       0b11 - reserved for future use.
>>
>
> Hi Greg,
>
> 20 bit fields in a list seems a little odd; how is this packed in a
> packet? It's more typical to have byte alignment at least and if the fields
> hold numerical values they would usually be bytes, words, double words,
> etc. with natural alignment maintained. In a two bit representation of
> length, I think best possibilities are 16, 32, 64, and 128 bits.
>
> Tom
>
>
>> Much appreciate your comments on that draft, suggestions.
>>
>> Regards,
>> Greg
>>
>>
>> On Fri, Apr 12, 2019 at 3:09 PM Tom Herbert <tom@herbertland.com> wrote:
>>
>>> On Fri, Apr 12, 2019 at 1:48 PM Mark Smith <markzzzsmith@gmail.com>
>>> wrote:
>>> >
>>> > Hi Tom,
>>> >
>>> > On Sat, 13 Apr 2019 at 00:26, Tom Herbert <tom@herbertland.com> wrote:
>>> > >
>>> > > On Sun, Mar 31, 2019 at 7:40 AM Robert Raszuk <robert@raszuk.net>
>>> wrote:
>>> > > >
>>> > > > Hi Mark,
>>> > > >
>>> > > > > As MPLS SR SIDs are 20 bits, then rounding up to an octet
>>> boundary and a 32 bit alignment,
>>> > > > > I'd think 32 bit SIDs would be adequate to perform SR in an IPv6
>>> network.
>>> > > > >
>>> > > > > As 32 bit SIDs are also the same size as IPv4 addresses, that
>>> may also create some opportunities to
>>> > > > > leverage IPv4 support in existing protocols to suite carrying
>>> and processing 32 bit SIDs with some, possibly
>>> > > > > slight, modification. For example, perhaps IPv4 Address Family
>>> support in OSPFv3 (RFC 5838) could be
>>> > > > > somehow leveraged to suit SR.
>>> > > >
>>> > > >
>>> > > > Thank you for describing your understanding of fundamentals of SR.
>>> > > >
>>> > > > I think SR while indeed started with the story of "less control
>>> plane is good for you" now clearly has evolved into not only reduction of
>>> control plane but what can be even more important to some users ability to
>>> request specific behavior via programmed functions of network elements on a
>>> per flow basis without actually per flow or per path signalling or state.
>>> > > >
>>> > > > Yes for some it may be very useful feature and I am sure some will
>>> call it overload of data plane or . There is no one size fits all.
>>> > > >
>>> > > > With that let's observe that till today SR did not require any new
>>> mapping plane to be distributed in control plane and to be inserted into
>>> data plane. This is clearly a precedent.
>>> > > >
>>> > > > Furthermore as we see in companion documents all additional
>>> network functionality is being taken away from SRH and is being shifted to
>>> Destination Options .
>>> > > >
>>> > > > As far as mapping plane I already pointed out in my Vector Routing
>>> proposal that we have one already it is called BGP. One needs to also
>>> observe that we as industry worked number of years of protocol suite called
>>> LISP allowing not only very good mapping plane, but also data plane
>>> integration. CC-ing lisp authors for their comments. Note also work for
>>> integrating SRv6 with LISP which is already is published.
>>> > > >
>>> > > > Since you correctly observed that now SID can be 32 bit and that
>>> is similar to the size of IPv4 my fundamental question is why not use
>>> something which already exists instead of defining some sort of new  from
>>> scratch ?
>>> > > >
>>> > > Robert,
>>> > >
>>> > > I don't see in the SRH draft where 32 bit SIDs are defined. Can you
>>> > > please provide a reference?
>>> > >
>>> >
>>> > To clarify, I've been thinking about the idea of a smaller SID size
>>> > for IPv6 for a while now (since inserting EHs came up), and thought
>>> > about what would be a generic single size that might suit SR that
>>> > wasn't the same size as an IPv6 address. 32 bits seemed suitable to
>>> > me, although if people wanted bigger, I'd be suggesting 64 bits (not
>>> > entirely coincidentally the common IID size.)
>>> >
>>> > Ron and others have written this draft, which supports SIDS of various
>>> > sizes - 8, 16 or 32 bits - that triggered this discussion.
>>> >
>>> Mark,
>>>
>>> Why not just put a SID length field in the header (like RFC6554 but
>>> more generic). That would allow lengths of 1-16 bytes. Additional
>>> flags could be used to indicate the semantics of the entries. For
>>> instance, they might be actual addresses (128 bits for IPv6, 32 bits
>>> for IPv4), parts of addresses (prefixes of suffixes like in RFC6554)
>>> where the rest of the address can be inferred, indices into a table,
>>> labels, etc.
>>>
>>> Tom
>>>
>>> > "The IPv6 Compressed Routing Header (CRH)"
>>> > https://tools.ietf.org/html/draft-bonica-6man-comp-rtg-hdr-03
>>> >
>>> > Regards,
>>> > Mark.
>>> >
>>> >
>>> > > As for trying to use something that already exists, why does SR used
>>> a
>>> > > fixed size format for SIDs instead of a variable length format like
>>> > > that described in RFC6554? Similarly, why does SR define it's own TLV
>>> > > format instead of using Hop-by-Hop and Destination Options defined in
>>> > > RFC8200?
>>> > >
>>> > > Tom
>>> > >
>>> > > > It will be perfectly fine to have full proper SRv6 with SRH and
>>> LISP or Vector Routing as an alternative options. I really do not see a
>>> room or need for yet one more mapping plane. What problem does it solve
>>> which would not be already solved elsewhere ?
>>> > > >
>>> > > > Kind regards,
>>> > > > Robert
>>> > > >
>>> > > >
>>> > > >>> 2) Is there an agreement that solutions which require additional
>>> per SR path state in both control plane and now in data plane are really
>>> something we should be endorsing here ?
>>> > > >>
>>> > > >>
>>> > > >> I think so.
>>> > > >>
>>> > > >> My understanding of what SR is fundamentally about is to reduce
>>> control plane state and processing. The trade-off for reduced control plane
>>> state and processing is to instead carry and encode most or all of that
>>> information or its semantics as per-packet overhead.
>>> > > >>
>>> > > >> If the per-packet overhead becomes too large and expensive, then
>>> pushing some of that information and processing back into the control plane
>>> should be ok, as long as there is still a beneficial overall reduction in
>>> control plane state and processing.
>>> > > >>
>>> > > >> As MPLS SR SIDs are 20 bits, then rounding up to an octet
>>> boundary and a 32 bit alignment, I'd think 32 bit SIDs would be adequate to
>>> perform SR in an IPv6 network.
>>> > > >>
>>> > > >> As 32 bit SIDs are also the same size as IPv4 addresses, that may
>>> also create some opportunities to leverage IPv4 support in existing
>>> protocols to suite carrying and processing 32 bit SIDs with some, possibly
>>> slight, modification. For example, perhaps IPv4 Address Family support in
>>> OSPFv3 (RFC 5838) could be somehow leveraged to suit SR.
>>> > > >>
>>> > > >> Regards,
>>> > > >> Mark.
>>> > > >
>>> > > >
>>> --------------------------------------------------------------------
>>> > > > IETF IPv6 working group mailing list
>>> > > > ipv6@ietf.org
>>> > > > Administrative Requests:
>>> https://www.ietf.org/mailman/listinfo/ipv6
>>> > > >
>>> --------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> spring mailing list
>>> spring@ietf.org
>>> https://www.ietf.org/mailman/listinfo/spring
>>>
>>