Re: [spring] SRv6 SIDs and IPv6 addressing

"Darren Dukes (ddukes)" <ddukes@cisco.com> Tue, 17 March 2020 22:47 UTC

Return-Path: <ddukes@cisco.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 883603A0951 for <spring@ietfa.amsl.com>; Tue, 17 Mar 2020 15:47:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level:
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Ecz3yZSw; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=PEVzdzV6
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 TpidS7-zYGnK for <spring@ietfa.amsl.com>; Tue, 17 Mar 2020 15:47:38 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2F3053A0948 for <spring@ietf.org>; Tue, 17 Mar 2020 15:47:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9899; q=dns/txt; s=iport; t=1584485258; x=1585694858; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=izui5qiFVlrZK94Fy2zWSFKRHNTbqujRWpO41gh523s=; b=Ecz3yZSwKqB3pTM5kwbW6H8b0BXb9fR5W4P8s1vNM1TEZBo+ilJIrif6 RD66c+NE+3ZRNlvqMpTWu2CW69SNd5rQ7J54nSfll3NbenNJ5Ygb72XpD jISdSYRrOO+kEwu8LhsT5iL3m2+S8xTNGeFM1alMoUxl4gWta6rYg1bFu M=;
IronPort-PHdr: 9a23:jHpdHhXNSrN8Ron0R7YQ7ZDNR5rV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSANSJ8OpK3uzRta2oGXcN55qMqjgjSNRNTFdE7KdehAk8GIiAAEz/IuTtank2ENlBWURN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CiBQAfU3Fe/4MNJK1mHAEBAQEBBwEBEQEEBAEBgXuBVFAFbFggBAsqh1sDinOWFYRiglIDVAkBAQEMAQEYAQoKAgQBAYN+RQKCFCQ4EwIDAQELAQEFAQEBAgEFBG2FVgyFZAIBAwEBEC4BASwLAQ8CAQgSNCcLFw4CBA4FIoMEAYF9TQMuAQ6jJwKBOYhigieCfwEBBYJEglwYggwDBoE4jC4agUE/gREnIIJNPoJkAQGBL4N5giyWaCSJdY9CCoI8lnYdm0aqZAIEAgQFAg4BAQWBaSKBWHAVOyoBgkFQGA2OHQwXg1CFFIVBdIEpjX4BAQ
X-IronPort-AV: E=Sophos;i="5.70,565,1574121600"; d="scan'208,217";a="463593584"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 17 Mar 2020 22:47:37 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 02HMlbKK022456 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 17 Mar 2020 22:47:37 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Mar 2020 17:47:36 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 17 Mar 2020 17:47:36 -0500
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 17 Mar 2020 17:47:36 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IXsKXn54NK1C9k7m+NG5gpw/HovGxSQabTYZOZzhbFni4bqjR4iUZngnB0+Va6Er6tffFRoEz0bnYYr0WUuF2oixqP+FIkLf/l8Y9szkKiL0HKM5YG6jVQFy3TB/4Z7MTRVuxvp41XHUg3HtzIk6Y9EG15IWErNeKQ/eToSzQtRof3yXuKN6CaP45Ztv3xVlxBN2iU6RQdOIYkofiRGjN56hCWEoHLTZX5OkbSZkHRRoeQbb6FNuHbVxHD/8fiSDLDldYx0NE+75BTJWd2P4qbYbsYQ6K/4seDVKBrwWPGKOTWsJbDrvnoX5fP4KE0c8I5u0tSFsfc9uvZi6089A5A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;bh=akhTlGq+dFShOaO9FQeMzBcHzNl/eN9eWgaCi83JF1A=; b=EgXm8v5o+1LsXoEs1cO/faBBrZO/Ban6RU9Fx4TeECjPA0wwCwRtC7zvpXOiQa9WyEh15yibSBf/qgSeCZw3W/Hbn1cTnGq1w96sGjxfyCOkS/4zwTK+Q6D4xxT+1HwWBq341I93VNdn5UB5OL5gZCjFIVxqYuVb1NZ+FogPUL+p3RjNHm2LZ7OqfhD6nY+Ec0pCzh102TSB8KG3/efxbjqBvhqHZc9YnjFGBGj5TGZXOoivYBv2s2TQf9Y/0hP5rIPK7I6NKXCeHv0QkvZA/FqJhSjKbJB5UYn+YUbhkcmsmBaAEcQR0sAMJCivf13ylAYNVCYNi908BYWmaUBDKg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=akhTlGq+dFShOaO9FQeMzBcHzNl/eN9eWgaCi83JF1A=; b=PEVzdzV6z3Tw6QMhPoWepmG+vO2V6HgEeReSIoVC3M40wT1DUM5/N1hJt8dlvtbQ2JjsTnP0ZO/tBZyMJ6UefnFjDLRzWesVkQxvhOYfJhG/S8u2unioNDM+SMbu2oFDLSswpx/xzutbh2pj/yY1FaVg5hHDAj3ihC0tCo8fZ5w=
Received: from DM5PR11MB1818.namprd11.prod.outlook.com (2603:10b6:3:114::9) by DM5PR11MB1257.namprd11.prod.outlook.com (2603:10b6:3:12::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.18; Tue, 17 Mar 2020 22:47:35 +0000
Received: from DM5PR11MB1818.namprd11.prod.outlook.com ([fe80::f113:1bb:fdd4:34e3]) by DM5PR11MB1818.namprd11.prod.outlook.com ([fe80::f113:1bb:fdd4:34e3%5]) with mapi id 15.20.2814.021; Tue, 17 Mar 2020 22:47:35 +0000
From: "Darren Dukes (ddukes)" <ddukes@cisco.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
CC: "Darren Dukes (ddukes)" <ddukes=40cisco.com@dmarc.ietf.org>, SPRING WG List <spring@ietf.org>
Thread-Topic: [spring] SRv6 SIDs and IPv6 addressing
Thread-Index: AQHV+7JBf9H2KO/+zkSXVyGkt17DqahLh+aAgAF19QA=
Date: Tue, 17 Mar 2020 22:47:35 +0000
Message-ID: <D28F791F-BAF0-470F-8FB0-554DBA8E7C3B@cisco.com>
References: <B2206CB2-7E2F-4180-8C1D-A5DE6322E607@cisco.com> <8995ff5e-8340-d0d7-b487-42c9447afa92@joelhalpern.com>
In-Reply-To: <8995ff5e-8340-d0d7-b487-42c9447afa92@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-CA
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ddukes@cisco.com;
x-originating-ip: [2607:f2c0:e4ba:201:a44a:f1b1:b062:c3a0]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 40eff8c3-1923-4e13-0ba6-08d7cac52fd4
x-ms-traffictypediagnostic: DM5PR11MB1257:
x-microsoft-antispam-prvs: <DM5PR11MB12571D5CF47CC90E2836F6F1C8F60@DM5PR11MB1257.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-forefront-prvs: 0345CFD558
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(346002)(376002)(366004)(136003)(199004)(54906003)(2906002)(316002)(36756003)(5660300002)(64756008)(81156014)(8676002)(66446008)(66476007)(4326008)(66556008)(81166006)(66946007)(76116006)(71200400001)(8936002)(966005)(478600001)(6486002)(33656002)(86362001)(6506007)(53546011)(186003)(6512007)(2616005)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR11MB1257; H:DM5PR11MB1818.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: OJDU6BpvtbeD28AlgqDoX8wmRmcjJ02+ToZIr8mn7YK5nDMaNLIT2OLV99KFcj7DbTZbvJBODYAg3a+M/WLDdYDKBpXkGKZZ6mGZqEO3g1Yyuo5u2KE2o/6KPGcSNlByXPza9tZhGd5XOguIDmD0G909scKaapyxbDOy768I8wF5FW98ClpTBav4LAIQHaWUTj8HodEJ6aKbGbbb52y3YPED+jLKBuSCaOTXWsNzvjAdcm0YuSTVSSt7rlFTaBHJTYtuZo44N7NtTUCzCKLGnchG+GnSzyAdsvCnNdrOodcw+5bJ0x9vyMFU+KK08yhe8+vAWKkU21xzEF/FrsrQsZYpQOK/+cEtQH7eoTu0fk16wDFkMN4YXe72zPASGgdxt4SOBAf27kLZUac02k6uoAXdSEohqPDyrcoafLZLbLsOJs6Z8cOBhfzYOlpa7hzJGRNJKxX49i8A0d2/1ji/JYli5MRBr2LODBAQBTy4kohP7G82wzPjyXCeo2fQsILL02EkmSmJUAwayT0fzuUtEg==
x-ms-exchange-antispam-messagedata: 42A9LqO7pVaqEJKP+p6PGShn/sMLqrD8e2ltHewj1vfVt8c8yeYuNU0Lfl0UwIWRhFmMgpEgpLWGI1fiyjH3LoyRZJvTPha/SW+XO5Ri7LZzK/tRBYk1DgORfHQnPU9+bOxi3dsVqBfSlBZqUKuPn99+N1iQpfugza/Mtpk7ndGwwkHCLW+ULQcHfk/lyjeJ+s/iO4XwYoaK5wHQHMneSQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_D28F791FBAF0470F8FB0554DBA8E7C3Bciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 40eff8c3-1923-4e13-0ba6-08d7cac52fd4
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2020 22:47:35.5073 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: H+iPvuBEcQkg/zIOE19ierpodlAouPkCkxWXbrAZgi9i2GmlnCQx1fXqWYtkdWIYlOXzZyi79vXmDxnxDNKp0g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1257
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: alln-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/yXMtmDToghCt1Gyv0bAyD6MeONk>
Subject: Re: [spring] SRv6 SIDs and IPv6 addressing
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2020 22:47:42 -0000

Hi Joel.

I believe we agree that RFC8754 does describe a segment as having two parts, and NETPGM calls those parts LOC and FUNC.

So you asked specifically about FUNC:ARG.
RFC8754 4.3.1 says:
   When an SRv6-capable node receives an IPv6 packet, it performs a
   longest-prefix-match lookup on the packet's destination address.
   This lookup can return any of the following:

   *  A FIB entry that represents a locally instantiated SRv6 SID
   ...

I believe we agree, a "longest-prefix-match” (LPM) may be less than 128bit long.
An LPM of less than 128 bits corresponds to a SRv6 SID of the format LOC:FUNC, followed by some number of bits.
NETPGM has given those bits a name: ARG

Thanks
Darren

On Mar 16, 2020, at 2:21 PM, Joel M. Halpern <jmh@joelhalpern.com> wrote:

Darren, I had assumed that 8754 did indeed define things the way you use them.  However, I can not find the assertions you make.

The short text in section 3.3 of RFC 6754 does not seem to create a distinction between segment or local interface.  For that to be the justification for SIDs do not have to interfaces is putting a lot of weight, and a significant change in the IP address architecture, on two words in an informative paragraph.
Further, section 4.3 draws a distinction between processing a SID and processing a packet addressed to an interface and that "is not locally instantiated as an SRv6 SID"  That does not create the distinction you are arguing for.

Nothing in either document lays any groundwork I can see for LOC:FUNC:ARG.  On the one hand, 8402 applies to MPLS, which does not use any such distinction.  And when I search those documents, )maybe I missed something) I did not find any references to 'arg" or "loc" that seemed relevant.

Yours,
Joel

On 3/16/2020 12:45 PM, Darren Dukes (ddukes) wrote:
The following are some observations on SRv6 SIDs and IPv6 addressing as they pertain to draft-ietf-spring-network-programming (NETPGM)
SRv6 RFCs tell us the following as it relates to SRv6 SIDs, IPv6 addresses and how SIDs are identified and assigned:
- RFC8402 tells us an SRv6 SID is an IPv6 address.
- RFC8754 section 1 defines SRv6 and its instantiation in the IPv6 dataplane, along with SID terminology
- RFC8754 section 2 defines Segment List as a list of IPv6 addresses
- RFC8754 section 3.3 defines an SR segment endpoint node, making the distinction between "segment or local interface."
- RFC8754 section 4.3 describes processing at segment endpoint node for either; a fib entry representing a locally instantiated SRv6 SID, or a local interface not instantiated as a SRv6 SID.
- RFC8754 section 5 describes the Intra-SR-Domain deployment model, where:
 - within the SR domain "Allocate all the SIDs from a block S/s"
 - within the SR domain “Assign all interface addresses from prefix A/a"
 - At node k [within the SR domain], all SIDs local to k are assigned from prefix Sk/sk
How this relates to NETPGM
- SRv6 SIDs are IPv6 addresses.
- SRv6 SIDs are not necessarily interface addresses.
- SRv6 SIDs are allocated from S/s within the SR domain (NETPGM formalizes this as B)
- SRv6 SIDs are locally instantiated at node k in prefix Sk/sk (NETPGM formalizes this as LOC, or B:N for node N)
- SRv6 SIDs are locally instantiated at a node using the remaining bits of Sk/sk (NETPGM formalizes this as FUNC:ARG)
NETPGM and the representation of a SID as LOC:FUNC:ARG are expected by RFC8402 and RFC8754 and inline with both.
NETPGM formalizes the concepts previously described, and required within the SR domain.
Darren
_______________________________________________
spring mailing list
spring@ietf.org
https://www.ietf.org/mailman/listinfo/spring

_______________________________________________
spring mailing list
spring@ietf.org
https://www.ietf.org/mailman/listinfo/spring