Re: [Isis-wg] [spring] carrying IPv6 and IPv4 packets using SPRING/SR with MPLS dataplane

"Stefano Previdi (sprevidi)" <sprevidi@cisco.com> Wed, 03 September 2014 07:45 UTC

Return-Path: <sprevidi@cisco.com>
X-Original-To: isis-wg@ietfa.amsl.com
Delivered-To: isis-wg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D94161A007A; Wed, 3 Sep 2014 00:45:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.169
X-Spam-Level:
X-Spam-Status: No, score=-15.169 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 zCNvPwcWDjS0; Wed, 3 Sep 2014 00:45:21 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0991D1A0046; Wed, 3 Sep 2014 00:45:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4084; q=dns/txt; s=iport; t=1409730322; x=1410939922; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=3iysoY0X/lnGDhY0GE+vYt2/uMIbWTaTCM54FqI3bYg=; b=EveD7ZEK30fLMdUySxg76pdnkntyoQkNU4Mc6hW7jrQgXULrpuJKytAN hhMbfPDs0XWko30idgPBpsCHAfb34Kd/u+DstCHmNJKSVRdRTkt8svxn8 4RX+pZnTmr4FdaQznOpChoxGVJMr5DZqzmabFnjZXxSFdZ/DFqcMnF37F 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ag0FAMrGBlStJA2H/2dsb2JhbABagw1TVwTIMwqGeVMBgQ0Wd4QDAQEBAwEBAQE3NAsFBwQCAQgOAwQBAQEeCQcnCxQJCAEBBA4FiDoIDb1AARMEjxozBwaDKYEdBZExiyuVHoNhbIFIgQcBAQE
X-IronPort-AV: E=Sophos;i="5.04,455,1406592000"; d="scan'208";a="352175574"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by rcdn-iport-8.cisco.com with ESMTP; 03 Sep 2014 07:45:06 +0000
Received: from xhc-rcd-x09.cisco.com (xhc-rcd-x09.cisco.com [173.37.183.83]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id s837j4hd031432 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 3 Sep 2014 07:45:04 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.236]) by xhc-rcd-x09.cisco.com ([173.37.183.83]) with mapi id 14.03.0195.001; Wed, 3 Sep 2014 02:45:04 -0500
From: "Stefano Previdi (sprevidi)" <sprevidi@cisco.com>
To: Chris Bowers <cbowers@juniper.net>
Thread-Topic: [spring] carrying IPv6 and IPv4 packets using SPRING/SR with MPLS dataplane
Thread-Index: Ac/HAHNIi5mjAeiDRUuQj4rS83oDugAdGxkA
Date: Wed, 03 Sep 2014 07:45:03 +0000
Message-ID: <7B3B15DE-FB21-4384-837A-9AD41EA8500A@cisco.com>
References: <28acb42d55754debaac4ede15e2f6cfa@BLUPR05MB292.namprd05.prod.outlook.com>
In-Reply-To: <28acb42d55754debaac4ede15e2f6cfa@BLUPR05MB292.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.61.210.227]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <B95E8315FF0ED949AEA24E5FCB775A27@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/lhK9u-_Z2CfnJdyJmkLWsegIBxY
Cc: "spring@ietf.org" <spring@ietf.org>, "isis-wg@ietf.org" <isis-wg@ietf.org>
Subject: Re: [Isis-wg] [spring] carrying IPv6 and IPv4 packets using SPRING/SR with MPLS dataplane
X-BeenThere: isis-wg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF IS-IS working group <isis-wg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/isis-wg/>
List-Post: <mailto:isis-wg@ietf.org>
List-Help: <mailto:isis-wg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/isis-wg>, <mailto:isis-wg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Sep 2014 07:45:23 -0000

On Sep 3, 2014, at 12:55 AM, Chris Bowers wrote:

> Stefano,
> 
> Thanks.  I have a similar question regarding node-SID index values for different algorithms.  Does each node need to advertise a unique index value for each algorithm?   For example, in a network supporting 3 algorithms, would each node need to be assigned 3 unique index values for IPv4 forwarding?


yes.


> I was hoping to be able to assign a single unique index value to each node, and then have each node advertise a different label block for each algorithm.  This would achieve the same result as assigning a unique index value for each node for each algorithm, and it would simplify network operations.  The current versions of the ISIS and OSPF SR extensions don't appear to support advertising a different label block for each algorithm, but I wanted to make sure I'm not misreading the drafts.


that's correct. Note that we don't really have documented a use case for the algorithm field. Yet another way to do multi-topology... in case we don't have enough of them already...

s.


> 
> Thanks,
> Chris
> 
> -----Original Message-----
> From: Stefano Previdi (sprevidi) [mailto:sprevidi@cisco.com] 
> Sent: Tuesday, September 02, 2014 11:39 AM
> To: Chris Bowers
> Cc: spring@ietf.org; isis-wg@ietf.org
> Subject: Re: [spring] carrying IPv6 and IPv4 packets using SPRING/SR with MPLS dataplane
> 
> On Sep 2, 2014, at 6:17 PM, Chris Bowers wrote:
>> Stefano,
>> 
>> Thanks.  Is there a mechanism to advertise different label blocks for v4 and v6 and have a single unique index value associated with the node?
> 
> 
> there's a mechanism that allows you to advertise multiple label blocks and the index is used across all of them (see isis/ospf sr extensions drafts). Not sure if you need to explicitly advertise the af of the label block knowing that a sid corresponds to a prefix which implies its af.
> 
> s.
> 
> 
> 
>> This would still result in different label values being used for v4 and v6 packets destined for the same node, but the network operator only has to assign a single unique index value to each node.
>> 
>> Chris
>> 
>> -----Original Message-----
>> From: Stefano Previdi (sprevidi) [mailto:sprevidi@cisco.com] 
>> Sent: Tuesday, September 02, 2014 10:21 AM
>> To: Chris Bowers
>> Cc: spring@ietf.org; isis-wg@ietf.org
>> Subject: Re: [spring] carrying IPv6 and IPv4 packets using SPRING/SR with MPLS dataplane
>> 
>> Hi Chris,
>> 
>> On Sep 2, 2014, at 5:12 PM, Chris Bowers wrote:
>>> Has there been any discussion about how to carry both IPv6 and IPv4 packets with SPRING/SR MPLS labels?  From what I can tell, neither draft-filsfils-spring-segment-routing-04 nor draft-filsfils-spring-segment-routing-mpls-03 addresses this scenario.
>> 
>> 
>> sid's are assigned to ip addresses (e.g. intf addresses). A node having two loopbacks (v4/v6) will have a sid for the ipv4 address and another one for the ipv6.
>> 
>> Then you compute your spt's or explicit paths based on your af-topology and you pick the right sid's stack.
>> 
>> 
>>> In the context of shortest-path forwarding using Node-SID labels, there would seem to be two main approaches to consider.  One could distinguish between IPv6 and IPv4 packets by using two different Node-SID labels for the same node.
>> 
>> 
>> correct. this is same as above: one sid per address (one for v4 and one for v6).
>> 
>> s.
>> 
>> 
>>> Or one could use IPv6 and/or IPv4 Explicit Null labels pushed on the bottom of the label stack by the SR ingress router.
>>> 
>>> Do the authors of these drafts or other working group participants have an opinion on the best way to address this scenario?
>>> 
>>> Thanks,
>>> Chris
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> spring mailing list
>>> spring@ietf.org
>>> https://www.ietf.org/mailman/listinfo/spring
>> 
>