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

Robert Raszuk <robert@raszuk.net> Thu, 18 April 2019 21:42 UTC

Return-Path: <robert@raszuk.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 E52B11203FA for <lisp@ietfa.amsl.com>; Thu, 18 Apr 2019 14:42:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.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 SVSiPpU5N8eY for <lisp@ietfa.amsl.com>; Thu, 18 Apr 2019 14:42:51 -0700 (PDT)
Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 8C1E112037E for <lisp@ietf.org>; Thu, 18 Apr 2019 14:42:51 -0700 (PDT)
Received: by mail-qt1-x82d.google.com with SMTP id z17so3755666qts.13 for <lisp@ietf.org>; Thu, 18 Apr 2019 14:42:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F4nVACGHNR4ExvK82YgqAizIKZW1ff+aQLDis4BxqJQ=; b=bkC9BdXpBeTtV67+NOe/ep+NUbht8N3y6/h77ECbYSRz/w7giTBu2xcJf4UJ9DXGcD ggadUBCFzQf5dQqv+eB57tiI3LM538rwih++NQsmq5PMKQXNaqGgviXAvzbjeSi61L4/ geZeDVekGG/vNdVfow92sE9gmnRRyLYpQa24wp33I4R9Twd4gCYFOb2hbS2KOerhYkfL ip4ifFuNdSXy+PwazkzRMaV321Ppbty74F5F5+pe1nVk6JnrkThCZ21rmZxZNIX53ZdX Sfe4iL5/q9Go3/rhx9jyWckVV7g2qcZchbWfu4Qg46xsKfxjssq6vyseinj3YWun3fN9 yJ/g==
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=F4nVACGHNR4ExvK82YgqAizIKZW1ff+aQLDis4BxqJQ=; b=af+NZddVcfl4gojHZpcdMi3a70ygpeqyjmwLOgKz8GcBbrbQFz36EKcDN0atZJf59d M7+zraELuSCH0r2O7zr6AMf5m8jmzunwUkK7n/vvTHFqe455zDx2kn8yqR0wyjCExMpB B773b2BmQsmv1PzfFHfMx43gcgzw+cbwatzs3dt9w9BECcHKcycQPl3lpyDh3qP0TeS6 kC8IN0ts1vY0iQRNkq6NVP2q07FPGuDW08kNWlqCuffRLEwyaLlspE3btRt2eb0xVGzK AJPBApER6LQDqqJbihq+G07ndbBm214tRZfzobYStD63goxavpZBTcwuV3LUtbI8ZzJr l75A==
X-Gm-Message-State: APjAAAVmuYZMpL/AlyD0qJ4cM2tacel6RjCQ+Y6T/1hfyNTDzgey3/XA 6D9VbMGTyMFT9bpFYmDZCogZ0eSfzUoVqlS9qo1FmQ==
X-Google-Smtp-Source: APXvYqxcCQVezfx+XDHfZdat47n/pdp+0bNnF6vFxEUKjYohAflbdazN9SgW6GEjJ+VnNqTz5RyD/Vlolpq3N+zhGco=
X-Received: by 2002:ac8:2899:: with SMTP id i25mr285479qti.361.1555623770570; Thu, 18 Apr 2019 14:42:50 -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> <CAOj+MMG79BeMy2HgeS0WFs8+ZZzpNG77M8E7A4zbDjjKs7wG3Q@mail.gmail.com> <BYAPR05MB4245D2964D8F90A3A76356C0AE2A0@BYAPR05MB4245.namprd05.prod.outlook.com> <46DF565F-9A1A-4247-9A05-DE04396C8F5A@gmail.com> <BYAPR05MB4245A7C3E215FF0028FE9B06AE260@BYAPR05MB4245.namprd05.prod.outlook.com> <CAOj+MMGhU3bJtfQ4QjCeFiFpj+XkEhjnvU0MgO9bhNEvERN7Ew@mail.gmail.com> <BN7PR05MB424378EE1287B03467E2B4CAAE260@BN7PR05MB4243.namprd05.prod.outlook.com> <CAOj+MMFHTUMrmcNuHirnvO100pgtV1n+3HBCASSmx5=f_1ApWQ@mail.gmail.com> <CALx6S378oLyMnTns7VX8J9S4PfD4Lcwr_0__4ctEA=wptYsRuQ@mail.gmail.com>
In-Reply-To: <CALx6S378oLyMnTns7VX8J9S4PfD4Lcwr_0__4ctEA=wptYsRuQ@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 18 Apr 2019 23:42:24 +0200
Message-ID: <CAOj+MMHTYWEhsRE9P8AO-1OQHX7VyUUoV=VEzHSuv5f-MBPFRA@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
Cc: Ron Bonica <rbonica@juniper.net>, Gyan Mishra <hayabusagsm@gmail.com>, SPRING WG <spring@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, Dino Farinacci <farinacci@gmail.com>, "lisp@ietf.org list" <lisp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003fd4da0586d4e2cb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lisp/wVVc32r37YxzXVep3Xm-S1vsJ2s>
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: Thu, 18 Apr 2019 21:42:55 -0000

Hi Tom,

> The fact that entries in CRH are defined only to map to addresses seems to
> be a deliberate design choice as opposed to a limitation in the design.

Yes this is true - any mapping can be used to express much more then
topological information. See LISP as example :)

My comment was not focused on the choice of solution based on mapping
(modulo embedded question do we really new one more mapping system), but to
the design choice made to *only* bind it to topological instructions. With
that I do think it no longer meets SR Architecture primitives.

Many thx,
Robert.


On Thu, Apr 18, 2019 at 11:30 PM Tom Herbert <tom@herbertland.com> wrote:

> On Thu, Apr 18, 2019 at 1:56 PM Robert Raszuk <robert@raszuk.net> wrote:
> >
> > Hi Ron,
> >
> > > The Compressed Routing Header (CRH) has exactly one function. That is
> to route a packet for
> > > segment to segment along an SR path. Therefore, SIDs contained by the
> CRH have only one
> > > function. That is to steer packets to the next segment.
> >
> > Indeed and that is precisely where the fundamental problem resides with
> your proposal.
> >
> > Let's take a look at RFC8402 - Segment Routing Architecture.
> >
> > In body of the above RFC we clearly see definition of SID to be either a
> topological instruction (your draft meets that requirement) or service
> instruction (your draft fails to meet those requirements)
> >
> > To illustrate along with just a basic example from RFC8402 of service
> instruction - different per hop behavior treatment for traversing packets
> to be embedded into SID.
> >
> > So if you are only to associate SID with topological instructions you
> have no way to express transit service instructions so it seems pretty
> obvious that your proposal does not meet basic SR network programming
> requirements.
> >
> > That means that all you can provide is subset of SR Architecture
> requirements so perhaps to avoid industry confusion your solution should
> avoid use of SID or SR references. Perhaps as Tom already also observed we
> should call it MRH Mapped Routing Header instead.
>
> Robert,
>
> I think I was actually making the opposite argument. The routing
> entries in CRH are not addresses and not in themselves topological,
> they're values that need to be mapped at each hop. They require
> interpretation in the context of a shared state and network wide
> configuration, so effectively all CRH entries _are_ instructions. The
> fact that entries in CRH are defined only to map to addresses seems to
> be a deliberate design choice as opposed to a limitation in the
> design. But, assuming that one did want to allow SIDs to represent
> arbitrary instructions, I still don't understand why you'd need 128
> bit numbers for that-- it seems like 32 or 16 bits would be enough.
>
> Tom
>
> >
> > Kind regards,
> > Robert.
> >
> > On Thu, Apr 18, 2019 at 10:29 PM Ron Bonica <rbonica@juniper.net> wrote:
> >>
> >> Robert,
> >>
> >>
> >>
> >> The Compressed Routing Header (CRH) has exactly one function. That is
> to route a packet for segment to segment along an SR path. Therefore, SIDs
> contained by the CRH have only one function. That is to steer packets to
> the next segment.
> >>
> >>
> >>
> >> Granted, we may want to program a service behavior at a segment
> endpoint. IPv6 includes a Destination Options header that can be used to
> convey information segment endpoints and destination options can contain
> service SIDs. These service SIDs can be as long or short as they need to
> be. See draft-bonica-6man-vpn-dest-opt for an example.
> >>
> >>
> >>
> >>
>        Ron
> >>
>
>