Re: [spring] packet captures for draft-ietf-spring-srv6-network-programming-06?

"Darren Dukes (ddukes)" <ddukes@cisco.com> Thu, 19 December 2019 18:44 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 D1AA8120AE3 for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 10:44:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 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_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=e7hWjW+4; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=rnFzhHsL
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 oKgu6EADWvFt for <spring@ietfa.amsl.com>; Thu, 19 Dec 2019 10:44:22 -0800 (PST)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87F9F120ADA for <spring@ietf.org>; Thu, 19 Dec 2019 10:44:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=34731; q=dns/txt; s=iport; t=1576781062; x=1577990662; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=viAPEUH74xGGiGIkgOqS5SUZOEmG0lSnFuoS74A4/tg=; b=e7hWjW+4d29n70l7c0Z+t/6lHWmvhb+aHxouDIsqFlDhBcMLFPKHHSGE wBzXHUV7r0Q0Z8BZLOTbhccUswi0cabqqsvMZkUGlo2dBCvqNq1paDZ6l 3+Kgy7BSF6E0ZPsTqJ2HjcA6qTak8IgNI2nQoyFRFgwUc5mSSoRkPOyEJ U=;
IronPort-PHdr: 9a23:8JmukxNw2UJycDeU3AEl6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEuKQ/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETBoZkYMTlg0kDtSCDBj3IOPpYjcSF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CqBQDUw/td/4wNJK1lHAEBAQEBBwEBEQEEBAEBgXyBHi8pJwVsWCAECyoKg3yDRgOKdIJfmAiBQoEQA1QJAQEBDAEBGAEKCgIBAYN7RQIXggUkOBMCAw0BAQQBAQECAQUEbYU3DIVeAQEBAQMBARARHQEBLAsBDwIBCBEEAQEhBwMCAgIlCxQJCAIEDgUigwABgXlNAy4BAgyhYwKBOIhhdYEygn4BAQWCSoJVGIIMAwaBNowZGoFBP4E4IIJMPoJkAQGBMAEMBgE2FgmCWjKCLI0iEhKCcYVXmA10CoI0jG2JKxuaUakiAgQCBAUCDgEBBYFpImdxcBU7KgGCQVAYDViMOgwXgQQBDoI9hRSFP3SBKI0sDheBCwGBDwEB
X-IronPort-AV: E=Sophos;i="5.69,332,1571702400"; d="scan'208,217";a="386164267"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Dec 2019 18:44:21 +0000
Received: from XCH-ALN-006.cisco.com (xch-aln-006.cisco.com [173.36.7.16]) by alln-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id xBJIiLdR004839 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 19 Dec 2019 18:44:21 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-006.cisco.com (173.36.7.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Dec 2019 12:44:20 -0600
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Dec 2019 12:44:20 -0600
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; Thu, 19 Dec 2019 12:44:20 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G3rUpHNaI2hakD0ja2YHQOTjZ3m9okU4uwp92Pa96PjgQhSwG/9wY2aPEg65nyQsCCP/XAXyqP0d8em6j4DXt/fsOBV4kGhiqO/iY9b5cK68ZXO0sN1bzeWGbqn13vHm1lwi1vXy8G14ibsxPdsTsqQhmy+t3JWCAk/JqOMqjlXdaQ0NxtvMsECcIHXHYRi+M/BkliRCUV56LVbUjBZ9or5GEw+BMBRhtpIfsYg3ZWfBnqMRXT7ujvEQUX4O/2LEP/knal+EMfJKIo1dkf/mKbrvw5/haDmygABfmfjj0q+6TiAIkx8xSeGRcUCifdNVaG7jsAVCD/ii64ASlciWUw==
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=viAPEUH74xGGiGIkgOqS5SUZOEmG0lSnFuoS74A4/tg=; b=oeA47xmCNJOzaBBLaJ9ql5CGK38nM0ANflM+SOIwQE1WGvdh3jDOjlqV9N/EyR/8a3nD1O4f/FatUR5OwY6eoOamfaz6a/QFlD5Wek4Txsunk8t0q05LYmcJRu30ndpKhcZSeV4bRFfK5FLZ04YX1CIPF7eOc9LAVdGSUdnt3BfpXwNKpMdcXBm4Wy94oLtVQEye+MWEk4etvLhdlEw8JsubklDnkfcByezhmKFhDt1qQ1YtJAC9h9Fr3IcO/5pW37qlk5Xaye3DbunuSpTT5bdeCSTSttQ6480RUkeSnO3DXN3tXaPLa0AVd15QILsudHWlKchosbVH26EnCNcyaw==
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=viAPEUH74xGGiGIkgOqS5SUZOEmG0lSnFuoS74A4/tg=; b=rnFzhHsLgVVnRvx3KygbmCX0ZcsLfl3rBVonxk3b9Ea2XruqXX9z3LjhTEQSx9V8kpW1vffQBfIP81lO4cBe9k1hinNFfiWWZlvaITG3NJgKwRpzQH27anhV4GAKLV+cieNNlgNxhEZwfXTlfGFpNS65CZDGjylghdKvRqqFToQ=
Received: from BN7PR11MB2594.namprd11.prod.outlook.com (52.135.246.159) by BN7PR11MB2801.namprd11.prod.outlook.com (52.135.246.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Thu, 19 Dec 2019 18:44:18 +0000
Received: from BN7PR11MB2594.namprd11.prod.outlook.com ([fe80::a1ac:55fa:69f2:f586]) by BN7PR11MB2594.namprd11.prod.outlook.com ([fe80::a1ac:55fa:69f2:f586%2]) with mapi id 15.20.2559.012; Thu, 19 Dec 2019 18:44:18 +0000
From: "Darren Dukes (ddukes)" <ddukes@cisco.com>
To: Andrew Alston <Andrew.Alston@liquidtelecom.com>
CC: Alexandre Petrescu <alexandre.petrescu@gmail.com>, SPRING WG email list <spring@ietf.org>
Thread-Topic: [spring] packet captures for draft-ietf-spring-srv6-network-programming-06?
Thread-Index: AQHVtB36LqRt8ge3IEiSVk1C5IoX8ae91ZSAgAP60oA=
Date: Thu, 19 Dec 2019 18:44:18 +0000
Message-ID: <7BD918AB-4A05-4F27-A922-42ECD99401D1@cisco.com>
References: <e8a25961-5ac9-d35e-77dd-bf86f45cd077@gmail.com> <cb8ef6ef-d244-5b27-01a3-fe2a01b322b2@gmail.com> <DBBPR03MB541590C24AEC6486C530DD24EE500@DBBPR03MB5415.eurprd03.prod.outlook.com>
In-Reply-To: <DBBPR03MB541590C24AEC6486C530DD24EE500@DBBPR03MB5415.eurprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ddukes@cisco.com;
x-originating-ip: [161.44.212.209]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5a6268ab-d304-4af9-5e6e-08d784b374ba
x-ms-traffictypediagnostic: BN7PR11MB2801:
x-microsoft-antispam-prvs: <BN7PR11MB2801A869F009DD6997096509C8520@BN7PR11MB2801.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0256C18696
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(346002)(396003)(136003)(189003)(199004)(966005)(6486002)(5660300002)(36756003)(6916009)(4326008)(53546011)(6506007)(54906003)(478600001)(6512007)(316002)(66574012)(2906002)(86362001)(71200400001)(2616005)(33656002)(26005)(8936002)(81166006)(66446008)(81156014)(76116006)(8676002)(64756008)(186003)(66476007)(66556008)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR11MB2801; H:BN7PR11MB2594.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; 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: bzQGAJOKeDRUp4zfAOYfSmd2diRJREeGl9EnMi3JdlS+v0BYsFgqy7PUTHITU8Camgua7d3xcsbm7H8GsIcOQnKO16F+cyJ57yIHDA8NnnRPtX/YUxPGrJ/mr0j7oawMDXpSarzavcb5oyVhSSQQFd5swHoXw3KAR75LEO/e2b0+pfNMPYVtr87bovm8ppOXhaEqJxztMik/7w2FXhvtCZFEBn78+luqgcOaWs6QQqxZbogZEPpdL5XxIXujAaJn8pDvz8rXRMnQ3PAw4PPAzOnh6zQkHo99xEYObZueQK9TYTxsPasxCHhc4ucPNysAo7/y8N1/NuSTNRuFyNrH121brSyiFYsrF6r0WWG5kpQQSYL5aKylBi2QZo3NBYLnXHaInYYQndWHjBY34bHKNyujkAL25w0jAb9NmZlOkYy1XgODLANZf2V8wF37xeCoRNvCgOCpMyCBi+bgWuRb9kTdE9ioRPfrbpN5e6sqB58=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_7BD918AB4A054F27A92242ECD99401D1ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 5a6268ab-d304-4af9-5e6e-08d784b374ba
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 18:44:18.7628 (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: dI29Az6G1M3ONoqVqy1rTn5v7M41nDxa5TfngCC+UMrQiEdG1zqck4rWyMAkKuOm/n9Nk5XFafnsX9JviUPpuQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2801
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.16, xch-aln-006.cisco.com
X-Outbound-Node: alln-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/aDK_vFnOLZa673dTRABxGItBFkk>
Subject: Re: [spring] packet captures for draft-ietf-spring-srv6-network-programming-06?
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: Thu, 19 Dec 2019 18:44:26 -0000

Hi Andrew,

You state that “code seems to be *way* off the draft”, but there is nothing in your email to support this.
You have made claims based on unfortunate misunderstandings of SRv6.

For example, your understanding of End.X SID is not correct.
You appear to be confusing SRv6 SID Function and an SRv6 Segment Behavior.
These are clearly defined in section 2 of draft-ietf-spring-srv6-network-programming and described in detail later in the draft.
Allow me to explain:
- Several End.X SIDs are instantiated in the same router, one “adjacency SID” per adjacency seems about right.
- Each SID will be unique, i.e. a unique IPv6 address.
- The address does not encode the SRv6 Segment Behavior codepoint (e.g. 0x0006). These Behavior codepoints (as captured in “Table 4: IETF - SRv6 Endpoint Behaviors)  are for control plane use.

Let’s return focus to discussing technical points and progressing the WG agenda and milestones with diligence and a constructive mindset.

Thanks
  Darren

On Dec 17, 2019, at 12:57 AM, Andrew Alston <Andrew.Alston@liquidtelecom.com<mailto:Andrew.Alston@liquidtelecom.com>> wrote:

Alex,

Will try and get you some captures off the devices I’ve been testing on – in order to make sure I understood this draft properly, and in light of the deployment status draft, I decided to play a lot more deeply and setup a bit of a lab.  I’m still doing tests and soon as I have some other bits completed will send through the packet captures from those against (Since the XR boxes that I have to test on seem to have absolutely no ability to setup traffic steering with SRv6 (and I actually have requested details of how to configure this in the past but gotten no response), I’m just finishing the code to inject packets from outside with a sid stack to test this.  I also acknowledge that I’m running tests against code that is implementing a draft that seems far from final – and so shouldn’t have that many expectations.

That being said, In light of the deployment draft – I do have some concerns that there is a draft that specifies that people have put this stuff into production – yet the implementation in current shipping code seems to be *way* off the draft and contrary to things we have been told in the working group.

Some of the more interesting finds so far:


  *   In Montreal – I questioned the growth in the IGP tables – since I would have to use a separate locator on each router – I was explicitly told this wasn’t necessary and could use the loopbacks – not so in current code – use of the loopback marks the locator as down.



  *   Locator size is not configurable as anything other than a /64



  *   XR 7.0.1 claims a maximum number of SID’s at 8000 – I’m still unclear if this limitation in the code is based on locally configured SID’s or received SID’s – and will run some tests on this in the coming day or two to verify



  *   There seems to be a limit on a single locator per box – I’m still trying to figure out what impact this will have in a multi-area or multi-level IGP deployment scenario.



  *   By default when configuring a locator – the device configures a separate End.X (PSP) for each interface – now – this is where things get interesting.  If I am reading the NP text correctly, End.X (PSP) should be locator:0006::  - However, in the shipping code, that is not the case at all – as per the below:


RP/0/RP0/CPU0:SRV6-R2#show segment-routing srv6 locator R2 sid Sun Dec 15 04:56:10.913 UTC
SID                         Behavior     Context                           Owner               State  RW
--------------------------  -----------  ------------------------------    ------------------  -----  --
2001:db8:ee:2:1::           End (PSP)    'default':1                       sidmgr              InUse  Y
2001:db8:ee:2:11::          End.OP       'default'                         sidmgr              InUse  Y
2001:db8:ee:2:40::          End.X (PSP)  [Gi0/0/0/0, Link-Local]           isis-64             InUse  Y
2001:db8:ee:2:41::          End.X (PSP)  [Gi0/0/0/1, Link-Local]           isis-64             InUse  Y
2001:db8:ee:2:42::          End.X (PSP)  [Gi0/0/0/3, Link-Local]           isis-64             InUse  Y

So from my perspective – I have to wonder about the production deployments – because particularly on this last point – if people have been putting this stuff in production, and the implementation is so different from the text, its going to create some rather interesting breakage going forward if my reading of the text is correct.

Anyway – will send some packet captures hopefully in the next 48 hours once I’ve got a more complete set of captures from my lab setup.

Thanks

Andrew


From: spring <spring-bounces@ietf.org<mailto:spring-bounces@ietf.org>> On Behalf Of Alexandre Petrescu
Sent: Monday, 16 December 2019 17:34
To: SPRING WG email list <spring@ietf.org<mailto:spring@ietf.org>>
Subject: [spring] packet captures for draft-ietf-spring-srv6-network-programming-06?

Hi, SPRINGers,

My comments on SRv6 relate to a worry about modifying packets in transit.

In order to better explain myself, or maybe to remove the worry
altogether, I would like to ask for packet dumps of SRv6.

By looking at the packet contents that go into the network it is much
easier to clarify and to avoid misunderstandings.

Alex

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