Re: [spring] draft-ietf-spring-srv6-network-programming - IPv6 Addresses and SIDs

Ron Bonica <rbonica@juniper.net> Thu, 10 October 2019 00:02 UTC

Return-Path: <rbonica@juniper.net>
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 450F3120024 for <spring@ietfa.amsl.com>; Wed, 9 Oct 2019 17:02:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, 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
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 F5prayhEsDD4 for <spring@ietfa.amsl.com>; Wed, 9 Oct 2019 17:02:54 -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 7AE3E120020 for <spring@ietf.org>; Wed, 9 Oct 2019 17:02:54 -0700 (PDT)
Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x99NtrGK029930; Wed, 9 Oct 2019 17:02:52 -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=iTFyzg5nyFffRG0dE+qwak4+okadYwzuGwL82Q9PPGc=; b=2WVAZSe73IL0Gm/+WkQFPoXImdjNlP3hT2sepCZ2Hq02SifleT8KVjFITViVSO+2HhhE 4wwK7fgPO4wPSYFJ59SygPyLMC67YqYJuVzvr2rEmyJR4YMQdkCJlQZtvXExQmmXmojH X9kwQulAYjcGUsIXq/w4wV9Dw09BH7SoH6BQ/Yy/dgb6vAkg8ygGPLbedErZSeKFLfYL Wmm40RgRb+ccwdmlTNBn2/jsRIfvgnzTm5X4UckapPo66ZRLoew0oq+s4T9dDtc/W4nU AOB0Yq5LrNSKCOkFMpyphendIIyh/2tNwLrevRJbHGeAtXFqJyt1PV/oZMp7G1MkEkWL pA==
Received: from nam05-dm3-obe.outbound.protection.outlook.com (mail-dm3nam05lp2050.outbound.protection.outlook.com [104.47.49.50]) by mx0b-00273201.pphosted.com with ESMTP id 2vhch1hcp4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Oct 2019 17:02:52 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ejrait5W/hWIIrBcggykKHtz1qt2Bg7p/T2wkcUEN76zFv0zRSTFFf4AKDO6ShoGd58j3pJq7kBmzCVcQyuJ+K25YTIVr9UVvo6BTnG32q4E4aSboFrWEBPNZdrpLIfcSz/2IC9QfauQTmrz02shTkb9Zq2g/WD01V9VEQpPD7Rtp9FmF1A3BF6SWwvq59hY2GNGoxBDQzB0LJU32zc3Ht7cJe13qq8pQgaYrTuOLg0DBUMDSF7oDSodb1xwoU3c7V0wzn1IDybGsjH0rpVJkuHYHjgcKuS9yCowkji7SYNC2nKxKI97ei7r9jz6Jb6N15ZxYVfQXKyArgy659PzYg==
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=iTFyzg5nyFffRG0dE+qwak4+okadYwzuGwL82Q9PPGc=; b=Wg2B0/oCjD7lyJEpRSo5OzuMbUptnBkmQ1CRziX1Tr2hxUWui8ACFk9AYhTuwhIEBweF9xYUcYZQj5rLK8l/yjVnHZKKgf/8urj8VMiDUY1pYYjQOzKN7oCTKUU9tWC9z/YmzU2Z8X3R0botytuk/BgAB3jfp3Nc4AfkG3xJSIvyjwT4Ffi58zp02NtXqiEhMsdGSzVbO99G88qSVlZsj+VHJviOYBPMnZp4xdq9SROIcI7ESKCbLsVpqdOHH5Dqc/VuKIOCvndF98zBKxwPDF6yIHMdkDpqTxqV1NhkbWX4oZvmBkgBAW+6sqHCnIbZLdOzLjyASuz7Gu6UB4KGXQ==
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
Received: from BN7PR05MB5699.namprd05.prod.outlook.com (20.176.28.88) by BN7PR05MB5891.namprd05.prod.outlook.com (20.176.30.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.20; Thu, 10 Oct 2019 00:02:48 +0000
Received: from BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::c9d9:5faf:5aee:ee8d]) by BN7PR05MB5699.namprd05.prod.outlook.com ([fe80::c9d9:5faf:5aee:ee8d%6]) with mapi id 15.20.2347.016; Thu, 10 Oct 2019 00:02:48 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Gyan Mishra <hayabusagsm@gmail.com>
CC: Fernando Gont <fgont@si6networks.com>, SPRING WG List <spring@ietf.org>
Thread-Topic: [spring] draft-ietf-spring-srv6-network-programming - IPv6 Addresses and SIDs
Thread-Index: AdV4lRCYx7PvZlo2Q0Gr5UNrwidUkgAwBP6AACt5DuABPUgrgAABX0yw
Content-Class:
Date: Thu, 10 Oct 2019 00:02:48 +0000
Message-ID: <BN7PR05MB5699E5EA714CC64456771712AE940@BN7PR05MB5699.namprd05.prod.outlook.com>
References: <SN6PR05MB5710CBAF8E6DF307401A2166AE9D0@SN6PR05MB5710.namprd05.prod.outlook.com> <f5eb739b-9ae4-433e-e6c0-8bcdb7bc575e@si6networks.com> <BYAPR05MB5703169601886283700608A5AE9F0@BYAPR05MB5703.namprd05.prod.outlook.com> <B6FE2A8B-B23B-4E9C-BB33-F6A5BD78C52B@gmail.com>
In-Reply-To: <B6FE2A8B-B23B-4E9C-BB33-F6A5BD78C52B@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_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-10-10T00:02:45.5091141Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Business Use Only; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=b16f01fd-a623-4b32-bc1a-3d51242008d6; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic
dlp-product: dlpe-windows
dlp-version: 11.2.0.14
dlp-reaction: no-action
x-originating-ip: [66.129.241.14]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 17bd052c-1565-4c89-aba9-08d74d152fa1
x-ms-office365-filtering-ht: Tenant
x-ms-traffictypediagnostic: BN7PR05MB5891:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BN7PR05MB58916734D7255E2DE63F048FAE940@BN7PR05MB5891.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 018632C080
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(39860400002)(136003)(396003)(366004)(51444003)(189003)(199004)(13464003)(229853002)(14454004)(26005)(6306002)(9686003)(55016002)(1411001)(76176011)(33656002)(186003)(99286004)(7696005)(6116002)(86362001)(81166006)(8676002)(5660300002)(2906002)(81156014)(6436002)(52536014)(8936002)(6506007)(53546011)(3846002)(102836004)(256004)(14444005)(54906003)(486006)(316002)(71200400001)(11346002)(71190400001)(76116006)(446003)(64756008)(74316002)(305945005)(66476007)(66446008)(66556008)(66946007)(25786009)(476003)(478600001)(6916009)(7736002)(6246003)(66066001)(966005)(4326008); DIR:OUT; SFP:1102; SCL:1; SRVR:BN7PR05MB5891; H:BN7PR05MB5699.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: BCL:0;
x-microsoft-antispam-message-info: 0qySCiLjobUnaWB7IEQwMxoBDTaWYjly6DT+t/qwNQdIVhR/e6IXuF7zn+Yy/GCOKsS/FPWUr2KGSPu357+WK3BeC3fLUI/MWQVukK3Hwy2e1o5Z/bOrpGM3lVANWZW6rEl6a5cAARY73VJiVsqsmnWyzjoY38WS8yumidGiplVfbAUV1BHMoOJcS0Zdyh6cT3d2ADhszMMWbDo/onqs9Id5hJUs5Q3eaRCL8joVhL/BduvGELsFG9yBLd3BAoMPgRaxP/QgADWWYhiUo+ZcHzV7OK5ErIWBaEsPBau3jyWON/duFm4FQ/cl8sHU8FE/FWJKZ14bwVWHeTMwQh5SwnDtmbW1BuZY58BvcZyB7YunX2+9NpessDCvGvZUSknU8u8tXna/6i3X6MNxvjkO7Cx3UE8Hp1e7C+o6fVz5XYpsmi8/CXNqUXLA9o4W2q+3RNpsB/TT7rbqGN8uzE0Mkw==
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: 17bd052c-1565-4c89-aba9-08d74d152fa1
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2019 00:02:48.2922 (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: 4M6iDas+8CQxyCOsa1LpP/HJDHgSB6vmirqh8kBcGvSh10qpWMo2cWwrcVLu2TnuAUGLwQpwgSdeEu1qNEl72w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB5891
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-09_11:2019-10-08,2019-10-09 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 clxscore=1015 suspectscore=0 impostorscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910090193
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/mJ0ncvvFys9LB0dXAKfE4g47EBs>
Subject: Re: [spring] draft-ietf-spring-srv6-network-programming - IPv6 Addresses and SIDs
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, 10 Oct 2019 00:02:58 -0000

Gyan,

If the Locator were guaranteed to be 64 bits, as you suggest, there would be no problem. However, the following text from Section 3.1 suggests otherwise.

"   An SRv6 SID is represented as LOC:FUNCT where LOC (locator) is the L
   most significant bits and FUNCT (function) is the 128-L least
   significant bits of the SID.  L is called the locator length and is
   flexible.  Each operator is free to use the locator length it
   chooses.  Most often the locator is routable and leads to the node
   which instantiates that SID.  A control-plane protocol might
   represent the locator as B:N where B is the SRv6 SID block (IPv6
   subnet allocated for SRv6 SIDs by the operator) and N is the
   identifier of the parent node."

                                                                    Ron



Juniper Business Use Only

-----Original Message-----
From: Gyan Mishra <hayabusagsm@gmail.com> 
Sent: Wednesday, October 9, 2019 7:21 PM
To: Ron Bonica <rbonica@juniper.net>
Cc: Fernando Gont <fgont@si6networks.com>; SPRING WG List <spring@ietf.org>
Subject: Re: [spring] draft-ietf-spring-srv6-network-programming - IPv6 Addresses and SIDs



In-line comments 

Thanks 

Gyan

Sent from my iPhone

> On Oct 3, 2019, at 12:25 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
> 
> Fernando,
> 
> Someone should. I think that the expertise to do this is in 6man.
> 
>                                  Ron
> 
> 
> Juniper Business Use Only
> 
> -----Original Message-----
> From: Fernando Gont <fgont@si6networks.com>
> Sent: Wednesday, October 2, 2019 3:11 PM
> To: Ron Bonica <rbonica@juniper.net>; SPRING WG List <spring@ietf.org>
> Subject: Re: [spring] draft-ietf-spring-srv6-network-programming - 
> IPv6 Addresses and SIDs
> 
>> On 1/10/19 23:30, Ron Bonica wrote:
>> Authors,
>> 
>>  
>> 
>> The document should include a discussion of the relationship between
>> IPv6 addresses and SIDs. For example:
>> 
>>  
>> 
>>  * From what address space can SIDs be drawn? Link local? Multicast? ULA?
>>  * Can a locator be longer than 64 bits? If so, how can the rest of the
>>    /64 be used?
> 
> I'm not saying that this shouldn't be done or that it is a bad idea, 
> but I'm curious if is anybody looking at this from a higher level?  
> (these seems pretty architectural to me)
> 
> Thanks,
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
> 
> 

[Gyan] The SRv6 SID format is below:

So from an IPv6 data plane forwarding perspective the fixed length 64 bit Locator is copied hop by hop into the destination address of the IPv6 header to the tail end FEC destination egress PE and during failover Ti-LFA kicks in additional EH is inserted {violating RFC 8200} at the PLR NNHOP to the similar to RLFA PQ node.

So with SRV6 native traffic engineering the locator is either the physical IP on ingress interface along each hop or loopback along each hop and so is either a GUA or ULA but not LL or multicast address is what I understand from a technical standpoint.

From everything I have read the SID is fixed at 64 bit length maximum but I guess you can have a smaller then 64 bit locator.

I am working on getting this setup in the lab now so that will really help understand the real world implementations.

SRv6 SID format:

128-bits Segment IDs can be used and allocated for different purposes, for example:
• The first 64 bits can be used to direct traffic to a specific node in the network – the “main body” of the program • The next 32 bits can be used to enforce some actions on the traffic – the “function”part • The remaining 32 bits can be used to pass some additional information – the “argument” part 128-bit SRv6 SID
Locator: routed to the node performing the function Function: any possible function Flexible bit-length selection

> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/spri
> ng__;!8WoA6RjC81c!UP3yJRwYfx17fPimClpX4-wcZU8JT55LIEZGQRTz6hag6LoSzz8K
> kBJW9qEVHARw$