Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Tue, 01 August 2017 19:30 UTC

Return-Path: <ginsberg@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 782D41322F5 for <spring@ietfa.amsl.com>; Tue, 1 Aug 2017 12:30:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.512
X-Spam-Level:
X-Spam-Status: No, score=-14.512 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, 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
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 viOSd7mfltxB for <spring@ietfa.amsl.com>; Tue, 1 Aug 2017 12:30:49 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21FB1126C0F for <spring@ietf.org>; Tue, 1 Aug 2017 12:30:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=113082; q=dns/txt; s=iport; t=1501615849; x=1502825449; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=XsLjkbwQZmCi5YCjQUsxI90w9GO10W4uRTnbPkSTNkI=; b=CBX7g1bd5Nwxii+T7rBXSI7/KS7FHS9TfXgqaCzhR+ljlVdr0VkXYFod 7HGXPST+0lyEN5m1YjWKymXjqO0MeqrVu9E3hmfWzG98b6ZqZ8wybcbNF 4zl0DZVheKpoxD8eDKdYQW/SRMAaZVeQ9AttMRl/iqvc14Ju6qkqnYshz I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CTAQAU1oBZ/4QNJK1eGQEBAQEBAQEBAQEBBwEBAQEBgm8+LWRtJweOB49/gWyWDQ6CAQMhAQyESk8ChCU/GAECAQEBAQEBAWsohRgBAQEBAgEBARgBAhBBBAcFBwQCAQgRAQMBARYLAQYHJwsUAwYIAgQBDQUIE4kwXAgQsVqLUgEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgyiCAoFMgWABghqBDIQwEAELBwEmBxgGCgIHhTUFkTmGLogQAodOgwOJTYIWhVSDeIZolXgBHzhZJgt3FUmFFxyBZ3YBh24CDRcHgQWBDgEBAQ
X-IronPort-AV: E=Sophos;i="5.41,306,1498521600"; d="scan'208,217";a="275243576"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Aug 2017 19:30:45 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by alln-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id v71JUjIG004473 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 1 Aug 2017 19:30:45 GMT
Received: from xch-aln-001.cisco.com (173.36.7.11) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 1 Aug 2017 14:30:44 -0500
Received: from xch-aln-001.cisco.com ([173.36.7.11]) by XCH-ALN-001.cisco.com ([173.36.7.11]) with mapi id 15.00.1210.000; Tue, 1 Aug 2017 14:30:44 -0500
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: "bruno.decraene@orange.com" <bruno.decraene@orange.com>, "spring@ietf.org" <spring@ietf.org>
CC: LITKOWSKI Stephane OBS/OINIS <stephane.litkowski@orange.com>, Shraddha Hegde <shraddha@juniper.net>
Thread-Topic: [spring] WG Last Call for draft-ietf-spring-conflict-resolution
Thread-Index: AQHS8Nuokzsm0yt5P0y/+D1uKMVbQqJNamsAgAZpFICACngugIAENtLAgAaTbgCAAHi3gIAAbspggAW0+QCAAFKEAIAADs1g
Date: Tue, 01 Aug 2017 19:30:44 +0000
Message-ID: <5e2cd2a929b54e9098aec1e93bcf6663@XCH-ALN-001.cisco.com>
References: <9a7e19b3-7251-2b80-22f9-2045ac4370f8@nokia.com> <84c64d65-430d-9734-5936-235ffc1d0a79@nokia.com> <2307cf5c-f6cf-1862-78f4-b540a93ae7f2@nic.dtag.de> <CY1PR05MB2714CD6720D35EE2511AB3E6D5A40@CY1PR05MB2714.namprd05.prod.outlook.com> <a92a1ad9796e4c9d9e0732852a08d414@XCH-ALN-001.cisco.com> <BN3PR05MB270660621544E65EA06B04F6D5BF0@BN3PR05MB2706.namprd05.prod.outlook.com> <7512_1501238577_597B1531_7512_443_1_53C29892C857584299CBF5D05346208A47828C93@OPEXCLILM21.corporate.adroot.infra.ftgroup> <4599cc42d1a54019a2c36ef53acf5be3@XCH-ALN-001.cisco.com> <30110_1501576113_59803BB1_30110_340_1_8ad8b432-cadb-4204-8c98-a784fd04d970@OPEXCLILM6F.corporate.adroot.infra.ftgroup> <10776_1501593831_598080E7_10776_344_9_113a21de-6f8e-4d50-a0f9-cc53d8ec4932@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
In-Reply-To: <10776_1501593831_598080E7_10776_344_9_113a21de-6f8e-4d50-a0f9-cc53d8ec4932@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.154.131.4]
Content-Type: multipart/alternative; boundary="_000_5e2cd2a929b54e9098aec1e93bcf6663XCHALN001ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/rd3zmEU1KCxF8al6d-K3DuU5H-E>
Subject: Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Stacked Tunnels for Source Routing \(STATUS\)." <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, 01 Aug 2017 19:30:54 -0000

Bruno -

I think there is a fundamental point which is being overlooked here.

If we look at https://www.ietf.org/id/draft-ietf-spring-segment-routing-12.txt Section 2<https://www.ietf.org/id/draft-ietf-spring-segment-routing-12.txt%20Section%202>: (emphasis added)

"SR Global Block (SRGB): local property of an SR node.  In the MPLS
   architecture, SRGB is the set of local labels reserved for global
   segments."

IGP s are one means of advertising SR values (SRGB, SIDs). This does not mean that the scope of the value advertised is limited to the IGP instance.
There is a great deal of precedence for this - many values advertised by IGPs are node properties (e.g.,  IP/IPv6 addresses ).

Do not confuse the transport with the scope of the identifier being advertised.

   Les



From: bruno.decraene@orange.com [mailto:bruno.decraene@orange.com]
Sent: Tuesday, August 01, 2017 6:24 AM
To: Les Ginsberg (ginsberg); spring@ietf.org
Cc: LITKOWSKI Stephane OBS/OINIS; Shraddha Hegde
Subject: RE: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

Regarding the existence of multiple protocols/LSDB, section 2 related to SRGB seems to be light on this case.

   Sender behavior is defined in various SR protocol drafts such as [SR-
   IS-IS] which specify that senders MUST NOT advertise overlapping
   ranges.

   Receivers of SRGB ranges MUST validate the SRGB ranges advertised by
   other nodes.  If the advertised ranges do not conform to the
   restrictions defined in the respective protocol specification
   receivers MUST ignore all advertised SRGB ranges from that node.

When both IS-IS and OSPF are used, there is no document specifying how SRGB advertisements should be done across protocols.

Some people have expressed that SRGB is a property of the node, not of the protocol. This seems to call for both IGP to advertise the same SRGB range(s).
But a strict reading of this draft may lead to consider that those SRGB range(s) are not disjoint, hence must all be ignored.
   For the set of ranges to be usable the ranges MUST be disjoint.
   Sender behavior is defined in various SR protocol drafts such as [SR-
   IS-IS] which specify that senders MUST NOT advertise overlapping
   ranges.

   Receivers of SRGB ranges MUST validate the SRGB ranges advertised by
   other nodes.  If the advertised ranges do not conform to the
   restrictions defined in the respective protocol specification
   receivers MUST ignore all advertised SRGB ranges from that node.

I think this point should be clarifier in the draft.

Thanks,
--Bruno

From: spring [mailto:spring-bounces@ietf.org] On Behalf Of stephane.litkowski@orange.com<mailto:stephane.litkowski@orange.com>
Sent: Tuesday, August 01, 2017 10:28 AM
To: Les Ginsberg (ginsberg); DECRAENE Bruno IMT/OLN; Shraddha Hegde; spring@ietf.org<mailto:spring@ietf.org>
Subject: Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

Hi Les,

There is something unclear to me here.
Let's say we have the following entries:
OSPF mappings:
(192,10.0.0.1/32,100,1,0,0)
(128,10.0.0.1/32,200,300,0,0)

ISIS mappings:
(192,10.0.0.1/32,300,1,0,0)
(128,10.0.0.1/32,400,300,0,0)


There is a prefix conflict here because we have 4 SIDs for 10.0.0.1/32. The current proposal should pick (192,10.0.0.1/32,100,1,0,0) learned from OSPF because of smallest start SID.
Now let's say that the active route in the RIB is an IS-IS route because of local protocol preference, the route is : IS-IS 10.0.0.1/32 nexthop 42.42.42.42 via Te0/1
So do you program the following FIB entries (consider SRGB start at 16000 for every nodes) :
10.0.0.1/32 via Te0/1 push 16100
Inlabel 16100 via Te0/1 swap 16100

This means that you defacto allows cross protocols information use (e.g. ISIS route using an OSPF mapping). The text is not crystal clear on that point.

Or the other possibility is to not use the SID information because it does not comes from the right protocol. So you only program the FIB but not the LFIB:
10.0.0.1/32 via Te0/1.

Could you clarify ?


Thanks,


From: spring [mailto:spring-bounces@ietf.org] On Behalf Of Les Ginsberg (ginsberg)
Sent: Saturday, July 29, 2017 00:25
To: DECRAENE Bruno IMT/OLN; Shraddha Hegde; spring@ietf.org<mailto:spring@ietf.org>
Subject: Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

Bruno -

Please reread "Section 3.7.  Guaranteeing Database Consistency.".
The draft is explicit that "entries advertised by all routing protocols MUST be included".

Also please read my recent response to  Shraddha as regards the pitfalls of using protocol specific databases for conflict resolution.

    Les


From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> [mailto:bruno.decraene@orange.com]
Sent: Friday, July 28, 2017 3:43 AM
To: Shraddha Hegde; Les Ginsberg (ginsberg); spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

Always as an individual contributor, thanks to Shraddha comments, a few point below


1)      Conflict resolution per LSDB or across LSDB
I've haven't re-read all text, but I'm not certain that the current text specifies whether the conflict resolution must be run on a per LSDB basis, or across all LSDB. I think we'll agree that we all implementation be consistent on this point, hence this need to be specified.



2)      Conflict resolution per LSDB or across LSDB ?
I believe Les means across LSDB but Shraddha raised interesting questions regarding this, using area/level or IGP transitioning use cases.

a)      Thesis: On the "per LSDB" side:
Running conflict resolution on a per LSDB ensure that this conflict resolution runs on the same data, which is required to get the same result. Otherwise, as per Shraddha's points, (L1L2 routers, different OSPF & IS-IS topologies) we have inconsistencies.


b)      Antithesis: On the "across LSDB" side:
We need consistency across the network, hence across LSDBs.


c)       Synthesis
We seem to have a tradeoff issue as we can't have both. However, it seems to me that the consistency issue with different LSDB is not specific to SR conflict resolution. We can have it with regular IP routing/forwarding. Hence this may favor enforcing consistency within LSDB which we can still enforce.


Some (two) details inlined [Bruno]

From: spring [mailto:spring-bounces@ietf.org] On Behalf Of Shraddha Hegde
Sent: Friday, July 28, 2017 5:31 AM
To: Les Ginsberg (ginsberg); spring@ietf.org<mailto:spring@ietf.org>
Subject: Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

Thanks for the response.

   It is important  to keep the network functioning correctly in case of transitioning from
   one protocol to the other.

   Let us assume a case of OSPF SR network transitioning to ISIS SR network.
   Most typical transitioning technique is ships in the night where both protocols will be
   enabled in the network with OSPF having better preference and the issue in ISIS routing do
   not affect the traffic. Once the ISIS deployment is complete, the traffic will be switched
   to ISIS by changing preference.

   In case of OSPF-SR transitioning to ISIS SR, because of the conflict resolution
   rules that the conflicts are protocol independent, it is possible that config mistakes in ISIS
   will bring down the routes in OSPF. The ISIS topology and OSPF topology is not expected to be congruent
   during transition,
   so the conflicts seen on each node combining the two views will not be similar.
   This has potential to cause routing loops/ traffic drops in the network.

   I suggest to add the protocol-preference as one of the parameters in the preference algorithm
   with this being on the top of the list.
   The resultant conflict resolution will be consistent on ISIS topology and OSPF topology
  and is the best suited model for ships in the night transitions.

Pls see inline for other responses.

Rgds
Shraddha


From: Les Ginsberg (ginsberg) [mailto:ginsberg@cisco.com]
Sent: Tuesday, July 25, 2017 1:57 AM
To: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>; spring@ietf.org<mailto:spring@ietf.org>
Subject: RE: [spring] WG Last Call for draft-ietf-spring-conflict-resolution


Shraddha -



Thanx for the comments - responses inline.



> -----Original Message-----

> From: spring [mailto:spring-bounces@ietf.org] On Behalf Of Shraddha Hegde

> Sent: Thursday, July 20, 2017 11:44 PM

> To: spring@ietf.org<mailto:spring@ietf.org>

> Subject: Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

>

> SPRING WG,

>

> Conflict resolution is an important problem to solve and it is important to

> Standardize this draft.

>

> I generally support the draft but have a few major comments which I hope

> the authors will work on.

>

>

>  1.Conflict resolution and forwarding

>

>             Section 3.4 has the statement

>             "Active Entries in the database may be used in forwarding."

>

>              This is a very loose statement which does not enforce

> implementations to program the forwarding plane

>             with the active database entries.

>             This does not ensure traffic drops are minimized.

>

[Les:] Conflict resolution is only determining which entries are eligible to be used in forwarding. This does not mean that all "active" entries will be used . The most obvious example (but not the only possible one) of this is an SRMS entry that is associated with a prefix which is not actually reachable. So the language in the draft is intentional and is correct.

<Shraddha> The language in the draft is ambiguous and it does not help achieve consistent forwarding behavior across implementations.

                      Prefixes that are not reachable may not be used in forwarding which is acceptable but the draft does not mandate that the reachable prefixes which are active

                    MUST be programmed. Normative language is necessary in the draft w.r.t using active entries in forwarding.





>             The Forwarding plane programming aspects are completely missing in

> the document.

>             A separate section is needed which describes the different aspects

> of programming the forwarding plane.



[Les:] This is NOT in scope for this draft. If you want a description of how SR MPLS forwarding works please see draft-ietf-spring-segment-routing-mpls.



<Shraddha> The point I am bringing up here is not how SR MPLS forwarding works. It is w.r.t to programming the forwarding plane when there is a conflict.



The abstract section has below statement



"In cases where the

   information advertised by a given protocol instance is either

   internally inconsistent or conflicts with advertisements from another

   protocol instance a means of achieving consistent forwarding behavior

   in the network is required."



If the draft is not going to address the forwarding plane detail w.r.t conflicting entries it is definitely not meeting the

The objective described above.



Take an example of a conflict

(192, 192.0.2.1/32, 200, 1, 0, 0)

   (192, 192.0.2.222/32, 200, 1, 0, 0)

   SID 200 has been assigned to 192.0.2.1/32 by the

   first advertisement.

   The second advertisement assigns SID 200 to 192.0.2.222/32.



In this case after applying the preference rules

(192, 192.0.2.1/32, 200, 1, 0, 0)

 Becomes active entry.



As per the text in the draft," it may be used in forwarding" so some implementations

May choose to program forwarding plane and some may not which does not give a consistent forwarding behavior

Across implementations.









>

> 2.  Protocol independent resolution and impact on network migrations

>              In case of network migration from one protocol to other for ex: OSPF-

> SR to ISIS-SR,

>              it is useful to associate protocol preferences on a local node to the SID

> advertisement

>             and feed into the conflict resolution. This would make sure the

> conflicts will always

>             have a winner which is an advertisement from protocol with

> preferred admin-distance.

>

>             There is need for introducing another preference value specific to

> protocol preference

>             and make it the top rule in the preference rule hierarchy.

>

[Les:] "admin distance" is a locally defined preference which is not advertised. It is therefore not possible to include it as a parameter in an algorithm which requires a consistent answer on all nodes throughout the network.


<Shraddha>  In migration cases, topologies across two different protocols are not congruent causing inconsistent behavior.

                       Using admin-distance as an input parameter keeps the conflict resolution with-in the protocol and guarantees

                      Consistent behavior across all the nodes corresponding to that protocol.



                     The drafts tries to address this scenario partially between IGP and BGP by suggesting preference values. But that does not solve the

Problem between two different IGPs.





>             This would also solve the issue of MT-ID numbers being different in

> different protocols

>             as the SIDs would be compared within a protocol advertisement.



[Les:] I do not understand what relationship you see between "protocol preference" and "MT-ID".

MT-ID values are scoped by  the protocol which uses them. For example, OSPFv2 supports a 7 bit MT-ID while IS-IS supports a 12 bit MT-ID. It is therefore possible for non-matching MTIDs to be used by different protocols when advertising routes for the same physical topology. This is why the draft's use of "topology" is not as MTID but rather as a locally scoped identifier. >From Section 3:



" Note: Topology is a locally scoped identifier assigned by each

   router.  Although it may have an association with Multitopology

   Identifiers (MTID) advertised by routing protocols it is NOT

   equivalent to these identifiers.  MTIDs are scoped by a given routing

   protocol.  MTID ranges are protocol specific and there may be

   standardized protocol specific MTID assignments for topologies of a

   specific type (e.g., an AFI specific topology).  As mapping entries

   can be sourced from multiple protocols it is not possible to use a

   network scoped identifier for a topology when storing mapping entries

   in the local database."



Topology is then used to detect different scopes for a mapping entry - which may result in a SID conflict if the same SID is used in different topologies, but it cannot be used as a tiebreaker since its value is local and any preference (e.g., higher value wins)  is not guaranteed to result in consistent answers on all nodes in the network. Which is why we have Section 3.3 Rule #8:



   "8.  If topology IDs are NOT identical both entries MUST be ignored"

<Shraddha> Lets keep this discussion on-hold until we decide on the protocol preference and migration issues.



>

> 3. In case of hierarchical IGP networks with multiple ISIS Levels or OSPF areas,

> It's possible that the

>      conflicts are not visible in entire domain but are visible only on the border

> router as the border routers

>      have the database of both domains.

>     The conflict resolution preference Rules should be enhanced to include the

> Level information in the preference rule.

>     A new parameter called sub-domain should be defined.

>

>                             One could propose using existing SRMS preference values

> and assigning prefixes with preference values

>             based on levels they are advertised in. This introduces more complex

> configuration requirements on the

>             network. The objective of this draft is to achieve consistent

> behaviours in case of misconfigurations and

>             introducing more configurations as a solution does not help.

>

>

>                             Based on the Advertisement originated in ISIS Level or OSPF

> area below values are defined.

>

>                             Level 1 , non-zero OSPF area =1

>                             Level 2, OSPF Area 0 = 2

>                             Non IGPs set subdomain = 0

>

>                                                             Preference algorithm is changed as

>

>     1. Higher protocol preference wins



[Les:] I have explained above why protocol preference cannot be used.



>    2. smaller sub-domain wins

>     3. Higher srms preference value wins

>     4. Smaller range wins

>     5.IPv6 entry wins over IPv4 entry

>     6.Longer prefix length wins

>     7.Smaller starting address (considered as an unsigned integer

>        value) wins

>     8.Smaller algorithm wins

>     9. Smaller topology Id wins >>>>>>>>>>..Moved above SID comparison.

> since the all these rules are applied

>                                                     within protocol it's safe to compare topology IDs

[Les:] No - it isn't - as explained above.

>     10. Smaller starting SID wins

>

[Les:] SIDs are assigned either by the node(s) originating the prefix reachability advertisement or by SRMS advertisements. The latter are level/area agnostic

[Bruno] I'm not sure to undertand what is meant by "level/area agnostic". In IS-IS, SRMS advertisements seems to be able to be scoped on a per area/level basis using the S-flag

https://tools.ietf.org/html/draft-ietf-isis-segment-routing-extensions-13#section-2.4



- and even you are agreeing that we should not change that.

There is then no reason for the SID to be altered as it is advertised into different areas.  Which leads us to the conclusion that SIDs are not level/area specific.



If your concern is that border routers who may have more entries in their SID database than intra-area routers may come to a different conclusion as regards conflicts - I agree with you - but I do not believe your proposal resolves the problem.

Consider the following simple topology:



A1-----A2------B2-----B1



All nodes run IS-IS.

A1 is a Level-1 router in Area A. It advertises: 1.1.1.1/32 SID 100

A2 is a Level-1-2 router in Area A



B1 is a Level-1 router in Area B. It advertises: 2.2.2.2/32 SID 100

B2 is a Level-1-2 router in Area B



If Level 1 routes are leaked into Level 2 but NOT down into Level 1, we have the following SID databases on the four routers:



A1


1.1.1.1/32 100


A2


1.1.1.1/32 100

2.2.2.2/32 100


B1


2.2.2.2/32 100


B2


1.1.1.1/32 100

2.2.2.2/32 100






Here are the active entries on each node comparing the two algorithms



Node


Draft Algorithm


Shraddha Algorithm


A1


1.1.1.1/32 100


1.1.1.1/32 100


A2


1.1.1.1/32 100


1.1.1.1/32 100


B1


2.2.2.2/32 100


2.2.2.2/32 100


B2


1.1.1.1/32 100


2.2.2.2/32 100




There is a tradeoff here between being able to forward some inter-area traffic entering the network via the L2 sub-domain but impacting some intra-area traffic  vs being able to forward all intra-area traffic but no inter-area traffic.

[Bruno] For MPLS transit, the ABR knows whether the traffic leaves the area or not. If it does, it could take into account both SIDs: incoming label from the SID of the incoming area, outgoing label from the SID of the outgoing area. Not that different from LDP which select the label on a per neighbor basis...even though LDP does not do routing i.e. does not natively have this information.

Not clear which strategy is "better" - but it is clear that neither strategy eliminates all issues. Given that the same SID database will NOT exist on all routers in multi-area deployments some risk exists and cannot be totally eliminated.



I do agree that we should try to minimize the use of conflicting SIDs for inter-area traffic. What is lacking in the draft is a statement that conflicting SIDs should not be leaked out of an area. I will work on a statement in the draft to make that point clear.



<Shraddha> Not leaking the conflicting SIDs makes sense. But Even if the conflicting SIDs are not leaked across boundaries, there is still a possibility that inter-area/intra-area traffic gets misforwarded at the area boundary. This issue can cause potential security risks as the traffic can get delivered to unintended node.The best option is to ignore both conflicting entries when they belong to different area/level



     1. Higher protocol preference wins

    2. If the entries belong to different sub-domains ignore both entries

     3. Higher srms preference value wins

     4. Smaller range wins

     5.IPv6 entry wins over IPv4 entry

     6.Longer prefix length wins

     7.Smaller starting address (considered as an unsigned integer

        value) wins

     8.Smaller algorithm wins

     9. Smaller topology Id

    10. Smaller starting SID wins







Thanx for bringing this issue up.



    Les



>

>

> Rgds

> Shraddha

>

> -----Original Message-----

> From: Martin Horneffer [mailto:maho@nic.dtag.de]

> Sent: Friday, July 14, 2017 8:22 PM

> To: spring@ietf.org<mailto:spring@ietf.org>

> Subject: Re: [spring] WG Last Call for draft-ietf-spring-conflict-resolution

>

> Strong support from me, too.

>

>  From an operator's point of view this is really needed.

>

> Best regards, Martin

>

>

> Am 10.07.17 um 14:58 schrieb Martin Vigoureux:

> >

> > WG,

> >

> > We are half-way through the WG Last Call and I am very surprised to

> > only see a single answer to it.

> >

> > I am not sure I'll move this forward with only silence as support.

> >

> > -m

> >

> > Le 29/06/2017 à 15:28, Martin Vigoureux a écrit :

> >> Hello Working Group,

> >>

> >> This email starts a Working Group Last Call on

> >> draft-ietf-spring-conflict-resolution-04 [1] which is considered

> >> mature and ready for a final working group review.

> >>

> >> ¤ Please read this document if you haven't read the most recent

> >> version yet, and send your comments to the list, no later than *21st

> >> of July*.

> >> Note that this is *not only* a call for comments on the document; it

> >> is also a call for support (or not) to publish this document as a

> >> Proposed Standard RFC.

> >>

> >> ¤ *Coincidentally*, we are also polling for knowledge of any IPR that

> >> applies to draft-ietf-spring-conflict-resolution, to ensure that IPR

> >> has been disclosed in compliance with IETF IPR rules (see RFCs 3979,

> >> 4879,

> >> 3669 and 5378 for more details).

> >>

> >> If you are listed as an Author or Contributor of

> >> draft-ietf-spring-conflict-resolution-04 please respond to this email

> >> and indicate whether or not you are aware of any relevant IPR.

> >>

> >> Note that, as of today, no IPR has been disclosed against this

> >> document or its earlier versions.

> >>

> >> Thank you,

> >> Martin

> >>

> >> [1]

> >> https://datatracker.ietf.org/doc/draft-ietf-spring-conflict-resolutio

> >> n/

> >>

> >> _______________________________________________

> >> 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

> >

>

>

> _______________________________________________

> spring mailing list

> spring@ietf.org<mailto:spring@ietf.org>

> https://www.ietf.org/mailman/listinfo/spring

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.