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

Ron Bonica <rbonica@juniper.net> Sun, 14 April 2019 23:55 UTC

Return-Path: <rbonica@juniper.net>
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 9E7AF1200EF; Sun, 14 Apr 2019 16:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.652
X-Spam-Level:
X-Spam-Status: No, score=0.652 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=1.989, KHOP_DYNAMIC=1.363, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 VU5xtmAbiIK7; Sun, 14 Apr 2019 16:55:07 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 05E621200A2; Sun, 14 Apr 2019 16:55:06 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3ENstcZ001255; Sun, 14 Apr 2019 16:55:01 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=/ASgUu6ofrZndLBR57juRM2yEse2omOLK5//KU2OT0s=; b=hVCLmNdurvNdtIdkZq6IxwBUaiCcpRQX9c8rVPrKwuaVIM6uhEKuFjoM9tQVBEs92G5k t+DZJFqYF6ELRH32IhFgrT12lr8RiEUhOGv1ILbGwnKKBFJEnOZcYQYtPYFluaOgKsOJ j9r4NvESi31R1mHJJn/xDhU+5lBzNlpS+X1RfFmWKpmPWRgS8mtDbB2kqrxkNVz46+yW Ii1Rd3NL1/v36lgC5ZBw36Y47avShT8xjDQ49NgOOUwv0eicSs7cN/GgxTEmmYBv/PeF f7G9m8//GNi+22V+Z6M6vq6cd8eUbzAkH2TPQLuuoCdgZqqJPfunUrpLso0UOKXVyk6w Gg==
Received: from nam05-by2-obe.outbound.protection.outlook.com (mail-by2nam05lp2055.outbound.protection.outlook.com [104.47.50.55]) by mx0a-00273201.pphosted.com with ESMTP id 2ruf1k1whr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 14 Apr 2019 16:55:01 -0700
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB4182.namprd05.prod.outlook.com (52.135.200.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.9; Sun, 14 Apr 2019 23:54:58 +0000
Received: from BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::30f9:29cf:6d50:edd4]) by BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::30f9:29cf:6d50:edd4%4]) with mapi id 15.20.1813.009; Sun, 14 Apr 2019 23:54:58 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Robert Raszuk <robert@raszuk.net>, Tom Herbert <tom@herbertland.com>
CC: SPRING WG <spring@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, Mark Smith <markzzzsmith@gmail.com>, Dino Farinacci <farinacci@gmail.com>, "lisp@ietf.org list" <lisp@ietf.org>
Thread-Topic: [spring] IPv6-compressed-routing-header-crh
Thread-Index: AQHU5XwSQNUFwLkE10qv/uSLYFT0BKYiu67wgAFwpgCAAB1KAIAABz6AgAC56gCAAMlxgIAS2BIAgABq6gCAABaTAIAAAQyAgAM/fDA=
Content-Class:
Date: Sun, 14 Apr 2019 23:54:58 +0000
Message-ID: <BYAPR05MB4245D2964D8F90A3A76356C0AE2A0@BYAPR05MB4245.namprd05.prod.outlook.com>
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> <CAOj+MMG79BeMy2HgeS0WFs8+ZZzpNG77M8E7A4zbDjjKs7wG3Q@mail.gmail.com>
In-Reply-To: <CAOj+MMG79BeMy2HgeS0WFs8+ZZzpNG77M8E7A4zbDjjKs7wG3Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.100.23
dlp-reaction: no-action
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-04-14T23:54:56.8382267Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Internal; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic; Sensitivity=Juniper Internal
x-originating-ip: [66.129.241.12]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 134a5581-4193-4705-891e-08d6c1349a26
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:BYAPR05MB4182;
x-ms-traffictypediagnostic: BYAPR05MB4182:
x-ms-exchange-purlcount: 4
x-microsoft-antispam-prvs: <BYAPR05MB418248FACDF017A7A54EF9A4AE2A0@BYAPR05MB4182.namprd05.prod.outlook.com>
x-forefront-prvs: 00073DB75F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(366004)(346002)(376002)(136003)(189003)(199004)(6246003)(9326002)(7696005)(316002)(7736002)(99286004)(53546011)(5660300002)(446003)(11346002)(790700001)(74316002)(6116002)(3846002)(476003)(486006)(76176011)(71200400001)(66066001)(71190400001)(2906002)(6506007)(102836004)(606006)(256004)(14444005)(86362001)(55016002)(6306002)(54896002)(4326008)(561944003)(6436002)(53936002)(105586002)(229853002)(81166006)(81156014)(33656002)(25786009)(68736007)(478600001)(9686003)(52536014)(26005)(93886005)(8936002)(186003)(110136005)(54906003)(97736004)(106356001)(966005)(8676002)(236005)(14454004); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4182; H:BYAPR05MB4245.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: akYvkfbpwjOxwoeHtsYHcJ26NLMmoDXpa+ygKNzRICG+cUyh85OwcavAlOBBQyrV8K6Pu2LzlcQT4Q2hjkndEdrCLwFd3NO9vql7UC/UE5L+BjJychdIfNC7oqAYbayOuw8ZMjQ5hrZ5pg6c7hx8rZnrKFVHn5DLxY/fJN0wUGU8gFmzJ3lxcAZckQnu/6kRLNiWYcihvPn5Q1UD8hpnzscUFWxABk+t0bhbygmBVEPOFKxHTaHamaDlNDknz88ImMzfiy4FxPn81CIaPNCcZ7+P05pr6MMqlWe/uYGjavZsPDIAYwHqxtlngsnNSsy5oiNJ+JDFDwyrtnJJ43CCIe+5y0wrNg7n/kjRoLaGT7FF8wE2vve53xNahFHExvL1JtH9aNKz25H/vF8wMiB50UXcNwKDJkD7983JsOqqLIc=
Content-Type: multipart/alternative; boundary="_000_BYAPR05MB4245D2964D8F90A3A76356C0AE2A0BYAPR05MB4245namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 134a5581-4193-4705-891e-08d6c1349a26
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2019 23:54:58.6339 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4182
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-14_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904140179
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/kF99so5-TA1JO5jIfvGNr0qP164>
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, 14 Apr 2019 23:55:10 -0000

Hi Robert,

In order to make the CRH ASIC-friendly, we have the following constraints:


  *   Support only a small handful of SID lengths
  *   If at all possible, make them align on word boundaries

Currently, we support 8, 16 and 32 bytes. Do you see a reason why we should support a length greater than 32? Is there some length less than 32 that would be beneficial?

                                                     Ron




Juniper Internal
From: spring <spring-bounces@ietf.org> On Behalf Of Robert Raszuk
Sent: Friday, April 12, 2019 6:13 PM
To: Tom Herbert <tom@herbertland.com>
Cc: SPRING WG <spring@ietf.org>; ipv6@ietf.org; Mark Smith <markzzzsmith@gmail.com>; Dino Farinacci <farinacci@gmail.com>; lisp@ietf.org list <lisp@ietf.org>
Subject: Re: [spring] IPv6-compressed-routing-header-crh

Hi Tom,

I already suggested this on March 30th ...

"PS. But if you choose to go ahead with CRH I would highly advise to make your CRH SID a variable length. "

No feedback/response was received from authors.

Thx,
R.

On Sat, Apr 13, 2019 at 12:09 AM Tom Herbert <tom@herbertland.com<mailto:tom@herbertland.com>> wrote:
On Fri, Apr 12, 2019 at 1:48 PM Mark Smith <markzzzsmith@gmail.com<mailto:markzzzsmith@gmail.com>> wrote:
>
> Hi Tom,
>
> On Sat, 13 Apr 2019 at 00:26, Tom Herbert <tom@herbertland.com<mailto:tom@herbertland.com>> wrote:
> >
> > On Sun, Mar 31, 2019 at 7:40 AM Robert Raszuk <robert@raszuk.net<mailto: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<https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dbonica-2D6man-2Dcomp-2Drtg-2Dhdr-2D03&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=Fch9FQ82sir-BoLx84hKuKwl-AWF2EfpHcAwrDThKP8&m=GjqK8FoNrV07C15WLojvSxgX5EiIQWc_RaJ_gD9iJAI&s=Btt5PY_Iq3PKjxOHh5GSUQWMX0kPIYqZokMCtz2JA28&e=>
>
> 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<mailto:ipv6@ietf.org>
> > > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_ipv6&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=Fch9FQ82sir-BoLx84hKuKwl-AWF2EfpHcAwrDThKP8&m=GjqK8FoNrV07C15WLojvSxgX5EiIQWc_RaJ_gD9iJAI&s=ozK7wzssqc1x3UQrEGZppBNd64FlYwd3RvhzdvZu5Uw&e=>
> > > --------------------------------------------------------------------