Re: [Isis-wg] Proposed isis-wg documents - draft-ginsberg-isis-route-preference-00

Uma Chunduri <uma.chunduri@ericsson.com> Sun, 24 August 2014 11:37 UTC

Return-Path: <uma.chunduri@ericsson.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 4887E1A891A for <isis-wg@ietfa.amsl.com>; Sun, 24 Aug 2014 04:37:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 uRIWvDYTNe7G for <isis-wg@ietfa.amsl.com>; Sun, 24 Aug 2014 04:37:18 -0700 (PDT)
Received: from usevmg21.ericsson.net (usevmg21.ericsson.net [198.24.6.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F42291A8917 for <isis-wg@ietf.org>; Sun, 24 Aug 2014 04:37:17 -0700 (PDT)
X-AuditID: c6180641-f79916d00000623a-f9-53f977650d3b
Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id BA.00.25146.56779F35; Sun, 24 Aug 2014 07:25:57 +0200 (CEST)
Received: from EUSAAMB105.ericsson.se ([147.117.188.122]) by EUSAAHC007.ericsson.se ([147.117.188.93]) with mapi id 14.03.0174.001; Sun, 24 Aug 2014 07:37:15 -0400
From: Uma Chunduri <uma.chunduri@ericsson.com>
To: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>, "stephane.litkowski@orange.com" <stephane.litkowski@orange.com>, Christian Hopps <chopps@rawdofmt.org>
Thread-Topic: [Isis-wg] Proposed isis-wg documents - draft-ginsberg-isis-route-preference-00
Thread-Index: Ac+86Ppu6EnUdiUPTmOsSFIXdh1JNQARWVaAAAyKdAAAEjpNgABw33Uw
Date: Sun, 24 Aug 2014 11:37:15 +0000
Message-ID: <1B502206DFA0C544B7A60469152008633F35E8FC@eusaamb105.ericsson.se>
References: <1B502206DFA0C544B7A60469152008633F35A17A@eusaamb105.ericsson.se> <FF710BB8-0275-401E-BA3F-3ACC6D40BDE6@rawdofmt.org> <2233_1408625655_53F5EBF7_2233_1538_1_9E32478DFA9976438E7A22F69B08FF9207D942@OPEXCLILM34.corporate.adroot.infra.ftgroup> <F3ADE4747C9E124B89F0ED2180CC814F23EF9517@xmb-aln-x02.cisco.com>
In-Reply-To: <F3ADE4747C9E124B89F0ED2180CC814F23EF9517@xmb-aln-x02.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.11]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeLIzCtJLcpLzFFi42KZXLonVje1/GewwbRP+hb/7t9gttjwZyO7 Rf+9J2wWRw+9Z7X4uvchqwOrx5TfG1k9liz5yeRxvekqu0fLs5NsHnde97AHsEZx2aSk5mSW pRbp2yVwZVya2s5Y8Fq14ujU5ewNjJ9kuhg5OCQETCQ2XDfvYuQEMsUkLtxbz9bFyMUhJHCU UeLYl63MEM5yRok1uyewglSxCehJfJz6kx0kISKwgFHiy9mbbCAJZoFQiaa2RnYQW1ggVuLy hztgtohAnMS0j0eYIWw3iV+bVoHZLAKqEpeevgMbyivgKzHvz2ImiG0HmSTevHoOVsQJlNh4 +zTYAkag+76fWsMEsUxc4taT+UwQdwtILNlznhnCFpV4+fgfK4StJPHx93x2iHodiQW7P0Ed qi2xbOFrZojFghInZz5hmcAoNgvJ2FlIWmYhaZmFpGUBI8sqRo7S4tSy3HQjw02MwCg7JsHm uINxwSfLQ4wCHIxKPLwJ834EC7EmlhVX5h5ilOZgURLn1ayeFywkkJ5YkpqdmlqQWhRfVJqT WnyIkYmDU6qBcRdT1564l63GH6J83ofPvPZicvP5rb/smxUE+wu8tfvnrrvKMPPF4rlv7z6b 4Wi+aE7m97bN9pN0/65/6L7w8ZctYV+N9gm/0hNnu3Uh/NyRnY9ONjKes5q08dSNWayHDJyO nNQ7rNb8qTdhUaStuILz0j92W7gKJGTmPLv2wPj9vBK3P6XvX+gpsRRnJBpqMRcVJwIAOuMm 2pMCAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/isis-wg/u_GCTHjfMMbD3yKX5igFfDEEWU0
Cc: Hannes Gredler <hannes@juniper.net>, "isis-wg@ietf.org list" <isis-wg@ietf.org>
Subject: Re: [Isis-wg] Proposed isis-wg documents - draft-ginsberg-isis-route-preference-00
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: Sun, 24 Aug 2014 11:37:21 -0000

Dear Les,


My detailed response in-line [Uma]:

Quick Summary:
----------------------

1. There are no route preferences currently defined in RFC 5305. In fact Tony (both Tony's!)  took more effort to not to have any by even removing the
    I/E bit (remember BGP MED issue?).   This is applicable to MT V4 TLV 235 (RFC 5120).
    "Down bit" semantic *only* used for not creating circular looping  for TLV 135/235 as defined (unlike V6 5308).

2. Even for TLV 236/TLV 237 (V6 variants) there is no internal/external metric and hence no route preferences from those. However, yes, 
    route preferences based on "Down bit " are defined in RFC 5308 (Section 5) and hence these are applicable to MT variant TLV 237.
    The good news is it's clearly defined and  is applicable to 236 and 237.
    If you want to correct this to make this "equivalent" to V4 (135/235), actually you create the non-existent loop issue for V6 you are PRECISELY  trying to prevent.

   Essentially this draft could create problems for BOTH  V4 (135/235 through clarification)  and V6 (236/237 through correction).

   Did you also see the backward compatible problems  I am talking about both V4 and V6 once an implementation follows your
   new draft with nodes behaving per 5305 and 5308 (and 5120)??

--
Uma C.


-----Original Message-----
From: Les Ginsberg (ginsberg) [mailto:ginsberg@cisco.com] 
Sent: Thursday, August 21, 2014 2:36 PM
To: stephane.litkowski@orange.com; Christian Hopps; Uma Chunduri
Cc: Hannes Gredler; isis-wg@ietf.org list
Subject: RE: [Isis-wg] Proposed isis-wg documents - draft-ginsberg-isis-route-preference-00

Let me add to what Chris and Stephane have stated.
The issue is NOT confined to new style TLVs - it could occur w old style TLVs as well since RFC 5302 defined the DOWN bit for those TLVs. 

[Uma]: I didn't see you alter preferences to the old style in this draft?? I see only for 135/235 in Section 3.3 and 236/237  
in Section 3.4 http://tools.ietf.org/html/draft-ginsberg-isis-route-preference-00#page-5 


It is important to note that even though RFC 5302 allowed for the possibility of the DOWN bit being set in L2 LSPs (see Section 3.3) it did NOT define any L2 route types with DOWN bit set to one (see Section 3.1). This was not strictly necessary because RFC 5302 also states (Section 3.3) that DOWN bit should be ignored when seen in L2 LSPs. IMO it is the subtleties of allowing DOWN bit to be set in L2 LSPs but specifying it should be ignored that has led to inconsistent implementations. This is compounded by the fact that - as Chris already pointed out - RFC 5308 did NOT ignore the DOWN bit in L2 LSPs.

[Uma]: You are trying to fix TLV 236 route preferences with DOWN bit because you see a problem with TLV 135 (V4?).
             IMO,  It doesn't make sense and Spec is very clear for both V4 and V6.


The primary point of this draft is to clarify what the correct behavior should be. In doing so we do not make ANY changes to RFC 5302/5305 - a strict interpretation of those RFCs is still correct under the rules defined in this draft. We do correct RFC 5308 so that it is consistent w RFC 5302/5305.

[Uma]: You inadvertently created problems for both V4 and V6, which you were trying to solve to start with.
             Let's see quickly how.. take the same example 
             http://tools.ietf.org/html/draft-ginsberg-isis-route-preference-00#appendix-A 

            Assume instead of 135, all nodes are using V6 TLV 236/237.
            R2 is now updated and  implementing your draft  (section 3.4 as stated) and R1 is not.
            R1 is just implementing 5308.

		============ http://tools.ietf.org/html/draft-ginsberg-isis-route-preference-00#page-6===
         		 3.4.  Order of Preference for all types of routes supported by TLVs 236
      			and 237

   		This document defines the following route preferences for IPv6 routes
   		advertised in TLVs 236 or 237.

  		 1.  L1 intra-area routes; L1 external routes

  		 2.  L2 intra-area routes; L2 external routes; L1->L2 inter-area
  		 routes; L1-L2 external routes;L2-L2 inter-area routes

   		3.  L2->L1 inter-area routes; L2->L1 external routes;L1->L1 inter-
  		 area routes
                            ============

                    R2 selects R1, because it prefers the route which doesn't have up/down bit set in "L2-L2 inter-area routes" (#2 above) as defined above.
                    R1 selects R2 as next hop due to lowest metric and it doesn't have corrected behavior of your draft for " L2-L2 inter-area routes".
                   Hence the loop.

--
Uma C.