RE: Size of CR in CRH

Ron Bonica <rbonica@juniper.net> Thu, 21 May 2020 22:28 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6CB63A0C40 for <ipv6@ietfa.amsl.com>; Thu, 21 May 2020 15:28:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, 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=juniper.net header.b=oJC6T86O; dkim=pass (1024-bit key) header.d=juniper.net header.b=B6kzxyWJ
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 Zuk9cdXPXoKb for <ipv6@ietfa.amsl.com>; Thu, 21 May 2020 15:28:10 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 27D053A0C3E for <6man@ietf.org>; Thu, 21 May 2020 15:28:08 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04LMR7BJ020041; Thu, 21 May 2020 15:28:07 -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 : content-transfer-encoding : mime-version; s=PPS1017; bh=Dllyj9rtOUw2FjgqAH7pGXs/7J5QA5DnfqlXTLNqFz4=; b=oJC6T86OHge49Kju8cdmAdniuIlmln2z6dRHhtG+QGKppjYVuSYY5IcMpsorU22xWLmp yuIEaRRPj5oCPnNwOXcklyKg9LoDZQf+GJMXjzzjuFVvRfScF9HjE07ruueiDH1CcW2E Hr84pi4rVvua5n5Bk1A/BFq/CaY/3lmJscPSng9bEDdNh0vBXpvSxqLhrw5T5VfYVPhx h28zJvuajAhaoz6TK5XITUFIqsDb7utfee+OVH0WeO56K3II6dgDHjnc0XRBnp3toQlI VfkxdbISSgagNz34r4YI3tM1rACkTPrEPeTL1DZut3LUXpK3/dy23yMJPF+K5rKh+Bal 1w==
Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2175.outbound.protection.outlook.com [104.47.58.175]) by mx0b-00273201.pphosted.com with ESMTP id 3159j2jsda-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 May 2020 15:28:07 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lRK6afKe2wUFSvsaxeyCzMAFOD/DyDv78/4n4OtlZM15Hq6U4A4lrgx7KEwuB//ukK+e+J+MVjjjSh3+FARgsWlVApiEDqpHPSl2LlWm4McLtcAk8Oe8MJ9sBeA7jpb2En1DdHbDs1BrtjN/lhrf6oxeA86+KtOHYHCfPugWqFFW9a8Y+u2F/ZBR+gMRqst3C86jzdOYa/C4FH0usq0lKHVNigiYVfqxT7pisbwjqBC9k/Xn1gJ0mA8BvJYUCpMfpibeldcbmTlIh7NRN5NbbQ3/rCdpJeSp8GUBmHoPbb0DNSCncP6gx5OXAyoN1x/EzoQ+RVkr2wHp8af+G+UxWg==
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=Dllyj9rtOUw2FjgqAH7pGXs/7J5QA5DnfqlXTLNqFz4=; b=T5S1FSku27hU2E5SUsTP79h/HibwLO18zq8BER1XGYyijlylwYn2HVqW9Hf8DPxws5zUtvJWThnLtfRRowZc2G8+K5eBDYVr5BMhF8144fEclXYJmphGT5e6miRpwMOuXFzvewBPoUbJeUJIdXTexE+fo4xq77OERrZEDDWtSWS1sEEoxpjNfDD0Fnj0/mSHK3e1DtXD4wdhwtWhnQPjvK+gfPVjXuk+GahlkKWSjSRJRDvtM+Kef525o5SN6Da0zk3anbXrm1Uo2zXdvva3EXS56rDHUdvWdyvqDC9c+ZgIYvmN9i7OaFbX3K05ByT9fTtR3dZOeeHd+z46Ufl6yA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dllyj9rtOUw2FjgqAH7pGXs/7J5QA5DnfqlXTLNqFz4=; b=B6kzxyWJ+HgutUwWejt0tcgWus3YaEGPdgA4UqgL23vB+9zc9zuJspGS6RjboV338/n8UlkP0mK3sKdZkVNOp5pwcA0Iw5ClZ12gOn9DTYZWCp0kBOntBX9TBWCFZgwn3NDNhkP/Dd6Ycig7snWpG4sIIYrT3yeXE5TVBbShGy4=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DM6PR05MB6923.namprd05.prod.outlook.com (2603:10b6:5:204::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.11; Thu, 21 May 2020 22:28:04 +0000
Received: from DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::c020:3bf5:7230:75e3]) by DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::c020:3bf5:7230:75e3%4]) with mapi id 15.20.3021.019; Thu, 21 May 2020 22:28:04 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Tom Herbert <tom@herbertland.com>
CC: Robert Raszuk <robert@raszuk.net>, 6man <6man@ietf.org>
Subject: RE: Size of CR in CRH
Thread-Topic: Size of CR in CRH
Thread-Index: AQHWLvTGateRry/dWEq++B8v3KKITqixxH1QgABy4ICAAGTYgIAABSHAgABWrQCAACbPsA==
Date: Thu, 21 May 2020 22:28:04 +0000
Message-ID: <DM6PR05MB6348A5D8A6FB7C878A50A9ABAEB70@DM6PR05MB6348.namprd05.prod.outlook.com>
References: <CAOj+MMFsy=dDciY=TMwSf75CZCr_i1Mfv6oUiPs5U6hT2Bq94w@mail.gmail.com> <DM6PR05MB6348D0DB381145F1A4C53450AEB70@DM6PR05MB6348.namprd05.prod.outlook.com> <CAOj+MMHT=TWqf=A71PhvCcrFggCQ=okRrP=sGaO4hrcbmsCvGw@mail.gmail.com> <CAOj+MMGYbw83c-T9GWCs_cLDWWbGi1dZ_Xfc8tS6TV6EfvWsDw@mail.gmail.com> <DM6PR05MB63484502B4CFCB745DFCED3EAEB70@DM6PR05MB6348.namprd05.prod.outlook.com> <CALx6S35hDq9MqSmcXaFjwULi=ce1gBAewTK5_Hq4R3LkN8HNEg@mail.gmail.com>
In-Reply-To: <CALx6S35hDq9MqSmcXaFjwULi=ce1gBAewTK5_Hq4R3LkN8HNEg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2020-05-21T22:28:02Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=7ad03071-70e5-4ebd-9eab-6b54c3cf8264; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
dlp-product: dlpe-windows
dlp-version: 11.4.0.45
dlp-reaction: no-action
authentication-results: herbertland.com; dkim=none (message not signed) header.d=none;herbertland.com; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [108.28.233.91]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 178adb45-765c-40c0-22ec-08d7fdd63ab7
x-ms-traffictypediagnostic: DM6PR05MB6923:
x-microsoft-antispam-prvs: <DM6PR05MB6923ADAE0F9ED7BDB8C03574AEB70@DM6PR05MB6923.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 041032FF37
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6u3FfAnKtr5lwFIfVlmBz805u0J/0PayDLN4enlI6JXlDkxUXb3Hh2QWsFaYqXEMylVi/DOMm0hg+PINDzdGjc47foes75KfbpusKn+lRUo3xMsdPhmFS75gytQ9seegHWZEGSXJI7/vpqzYQlRW0kMd0qsbzA+iaH+Re2fgRELl61UaBMzOrJejlW+P+3zEB+H1Kj9fkoow4jV+vtjwK5AKIuVaNvPx1aunkzdHC3TSkz/xDoH4WQ2Ii+z7LX7ApKC6jQ0g2RjML3Chiw/4mhFJd87t6MsccaiXOc4QCz6/qImm+KzUoyhTVfV3WGzueOHtXREzrQPZkfIibF/dCUhE9Z9+FpKnoQJ0wEF5N4fJRRKFlN2N6Vq5FEz+3IT3pcLmF/O1+kf01fGa5mX03w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR05MB6348.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(396003)(366004)(136003)(39860400002)(52536014)(66556008)(26005)(5660300002)(8936002)(66946007)(86362001)(71200400001)(54906003)(316002)(66476007)(966005)(186003)(478600001)(66446008)(64756008)(76116006)(53546011)(33656002)(4326008)(6506007)(55016002)(8676002)(6916009)(7696005)(2906002)(66574014)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: +ANWWs+Hf/WCsTVTsd2oXt+0baYIcZuwqgnrxRw/KRlnumAJ2uWFqjC8Y5gD2oxEEwAjTCJ1Kxi1XnrIF7cZ72DsL1zQgePtZ305lIw8bxjQ0Ps3p2r4paLMLpaR38tArhAXWv1l5lU1/AK8/FKhTI6+Pl/xTO8KMfC6Qrwam05mftP0oB9t/rkAF2EoIacsDY4cxLR7/UT2Yr/igPrXUzXU4ven7d/XOqn8G5kFvSjPh/gYz7g92ewffn27OdLxVvY1pgcMlj3p9LUUx/pga+ICfe7ZBE2ig5nZNWKNrMCwdG2CW7qA8ucLUwzd8a3ZyRLw1AwPcGYBP0J5GpIEzbwnzTsS5Q6wGGEOJ8mVNs+k0LlTRjARnOpP4ENrgyibSklIggrUKMua3l3UgAhOHHjL+nFzAAgpRc7lngVQWjD0Gt2/RhVaOwZlCjmiWwMggEQdzMtDGfcOIWeJUMz0i+7pm4TMNQJsxltkFrBloLNPMyRxANTZHRZSRtE9vxuE
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 178adb45-765c-40c0-22ec-08d7fdd63ab7
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 May 2020 22:28:04.5803 (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-CrossTenant-userprincipalname: DOlXRpemPY+M99ND0IqPjDm/NKTsNF7VURNMllv4c3t0qlWK2IFx3CW0qLzUsCjGJoamUGED+zzz2JjaNNI6OQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB6923
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-21_16:2020-05-21, 2020-05-21 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 malwarescore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 clxscore=1015 impostorscore=0 adultscore=0 bulkscore=0 spamscore=0 mlxscore=0 suspectscore=0 cotscore=-2147483648 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005210167
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/hysEupRP3e63FQqX1feL6N30foQ>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 May 2020 22:28:13 -0000

Tom,

If a network operator wants to maintain some discipline regarding identifier allocation, it can do so. However, CRH does not require any specific discipline.

                                                             Ron



Juniper Business Use Only

-----Original Message-----
From: Tom Herbert <tom@herbertland.com> 
Sent: Thursday, May 21, 2020 4:04 PM
To: Ron Bonica <rbonica@juniper.net>
Cc: Robert Raszuk <robert@raszuk.net>; 6man <6man@ietf.org>
Subject: Re: Size of CR in CRH

[External Email. Be cautious of content]


On Thu, May 21, 2020 at 8:11 AM Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
>
> Robert,
>
>
>
> Let’s address your question with an example. Assume that Node A is sending a packet to Node D. The delivery path includes the following strictly routed hops:
>
>
>
> Node A to Node B over link A->B
> Node B to Node C over link B->C
> Node C to Node D over link C->D
>
>
>
> Now we populate the CRH-FIB on Nodes B and C as follows:
>

Ron,

I think a route list of 15,15,15,15 working this way isn't naturally intuitive and might be a bit hard to manage (without context this looks to me like routing loops to me). Why wouldn't you want to assign each node a domain scoped identifier? So if A->15, B->16, C->17, and
D->18 then a route list of 15,16,17,18 would visit A, B, C, D and have
consistent meaning across a domain?

Tom

>
>
> On Node B:  Identifier = 15, IPv6 Address = Node C, Method = strict, 
> Link = B->C On Node C:  Identifier = 15, IPv6 Address = Node D, Method 
> = strict, Link = C->D
>
>
>
> Now, Node A formats a packet as follows:
>
>
>
> IPv6 Destination Address = Node B
> CRH Segments Left = 2
> Identifier list = [15,15]
>
>
>
> Node A sends this packet to Node B over link A->B.. Node B decrements Segments Left and looks for entry 15 in *its* CRH-FIB. If finds:
>
>
>
> On Node B:  Identifier = 15, IPv6 Address = Node C, Method = strict, 
> Link = B->C
>
>
>
> So, Node B updates the IPv6 address and sends the packet to Node C over link B->C. Node C decrements Segments Left and looks for entry 15 in *its* CRH-FIB. If finds:
>
>
>
> On Node C:  Identifier = 15, IPv6 Address = Node D, Method = strict, 
> Link = C->D
>
>
>
> So, Node C updates the IPv6 address and sends the packet to Node D over link C->D.
>
>
>
>                                                           Ron
>
>
>
>
>
>
>
> Juniper Business Use Only
>
> From: Robert Raszuk <robert@raszuk.net>
> Sent: Thursday, May 21, 2020 10:35 AM
> To: Ron Bonica <rbonica@juniper.net>
> Cc: 6man <6man@ietf.org>
> Subject: Re: Size of CR in CRH
>
>
>
> [External Email. Be cautious of content]
>
>
>
> Ron,
>
>
>
> While we are at the local vs global significance of SIDs can you please elaborate how do you resolve the conflict where given SID value is advertised by more then one node ? In fact imagine that all nodes in a domain choose to advertise the same SID value "15" to forward the traffic to their respective peers. So packet arrives at segment endpoint node A with CRH consisting of SID list 15, 15, 15, 15 ... where each value 15 means different behaviour on different node.
>
>
>
> How do you even know which way to forward the packet ?
>
>
>
> See in this case your mapping plane will contain different functions on different nodes signalled with the same SID.
>
>
>
> I understand that you are trying to silently borrow set of procedures from SR-MPLS here as documented in RFC8660. But if you just open this RFC you will see section 2.5 or 2.6 without which you just can not simply propose to treat SID as locally significant in any form of segment routing. Of course unless you would consume two SIDs per node.
>
>
>
> Thx,
> Robert.
>
>
>
>
>
> On Thu, May 21, 2020 at 10:34 AM Robert Raszuk <robert@raszuk.net> wrote:
>
> Ron,
>
>
>
> > Now recall that identifiers have node local significance.
>
>
>
> I was talking about case described in yr draft section 7:
>
>
>
> "Applications can:
>
>
>
>        o Allocate SIDs so that they have domain-wide significance."
>
>
>
> While not a must - it is an option. So I believe my observation stays valid till draft either removes that option or describes scaling properties differences between both domain wide and local significance of the SIDs.
>
>
>
> Thx,
>
> R.
>
>
>
>
>
> On Thu, May 21, 2020 at 4:01 AM Ron Bonica <rbonica@juniper.net> wrote:
>
> Robert,
>
>
>
> Consider the following network:
>
>
>
> Contains 65,000 routers
> Each router has 500 directly connected neighbors or fewer Uses 16-bit 
> CRH
>
>
>
> In this network, each node might have 65,499 CRH-FIB entries:
>
>
>
> 64,999 CRH-FIB entries cause packets to follow the least-cost path to 
> another node in the domain
> 500 CRH-FIB entries cause packets to traverse a specific link to a specific neighbor.
>
>
>
> As a mnemonic device, an operator might assign identifiers as follows:
>
>
>
> 0-65,000 identify CRH-FIB entries that cause packets to follow the 
> least-cost path to another node in the domain
> 65,001 – 65,565 identify CRH-FIB entries that that cause packets to traverse a specific link to a specific neighbor.
>
>
>
> Now recall that identifiers have node local significance. So, Node A and Node B might both have a CRH-FIB entry that is identified by the value 65,001. However:
>
>
>
> The CRH-FIB entry on Node A causes packets to traverse a particular 
> link towards Node X The CRH-FIB entry on Node B causes packets to traverse a different link towards Node Y.
>
>
>
> I think that this example refutes the premise of your argument, so there is not further need to address the conclusion.
>
>
>
>                                                                                          
> Ron
>
>
>
>
>
>
>
>
>
> Juniper Business Use Only
>
> From: Robert Raszuk <robert@raszuk.net>
> Sent: Wednesday, May 20, 2020 6:20 PM
> To: Ron Bonica <rbonica@juniper.net>
> Cc: 6man <6man@ietf.org>
> Subject: RE: Size of CR in CRH
>
>
>
> [External Email. Be cautious of content]
>
>
>
> HI,
>
>
>
> So just to make sure I understand this analogy of 16 bit -- 2^16 = 65536 nodes. I think this is only on paper.
>
>
>
> Imagine I have 1000 routers so if I divide the 16 bit space by 1000 I get at most 65 local node behaviours if anyone would like to embed such into the SID.
>
>
>
> That means that if my router have more then 65 interfaces I am not able to steer packets by src route out of my router ... I must always depend on the lookup of next SID how to forward the packets.
>
>
>
> That also means that if I want to apply any form of NP in segment endpoint I am quite limited to the number of local functions I could use.
>
>
>
> To conclude - Let me restate to what I and others already said - flat SID space domain wide in mapping plane is a mistake. Yes this is like MPLS, but this does not make it great again due to that legacy.
>
>
>
> Many thx,
> R.
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: 
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/ipv6
> __;!!NEt6yMaO-gk!SCZC26VMsknkoW1IUbK5yhnPdBBQL5d8jKsRJS1A-xbPAtK7EJ0wc
> F34sP0jN7Z-$
> --------------------------------------------------------------------