Re: [OSPF] draft-ietf-ospf-two-part-metric : Max metric handling

"Acee Lindem (acee)" <acee@cisco.com> Tue, 20 October 2015 22:08 UTC

Return-Path: <acee@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9849B1B3548; Tue, 20 Oct 2015 15:08:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 qf_PX76T69K1; Tue, 20 Oct 2015 15:08:54 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A1611B3544; Tue, 20 Oct 2015 15:08:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=50821; q=dns/txt; s=iport; t=1445378935; x=1446588535; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=AkhWCQ1W1TWMOuTBsXjsYdcaV1JY/z6a6C1G+oqrh2g=; b=Qo6K28/5JiorbklIztTXJ69s0cqb9tPZP0inTdRatSOhHibWL6imQx6y XLe6nngQ+7xotM5Bo+T/UCgTB+lp723Gvdmnyw69Prxalt3HxBwOaWs0F u6oTfG0aKAXY9OJeRpLp3Xo3ihLRTYVR5RdFdIMnJEx6atnPnqSMipKXU o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D5AQD1uSZW/5BdJa1dgmlNVG8GviABDYFahh4CHIEoOBQBAQEBAQEBgQqELQEBAQQjBAZMEAIBCBEDAQEBIQEGAwICAjAUCQgCBAENBYgwsFqTJwEBAQEBAQEBAQEBAQEBAQEBAQEBARiLdYRyChEGAYJpgUUFhz6LHINKAY0egViWWoNuAR8BAUKCER2BVXKEYYEGAQEB
X-IronPort-AV: E=Sophos;i="5.17,708,1437436800"; d="scan'208,217";a="199450713"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-4.cisco.com with ESMTP; 20 Oct 2015 22:08:53 +0000
Received: from XCH-RCD-014.cisco.com (xch-rcd-014.cisco.com [173.37.102.24]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id t9KM8rZK029839 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 20 Oct 2015 22:08:53 GMT
Received: from xch-rcd-015.cisco.com (173.37.102.25) by XCH-RCD-014.cisco.com (173.37.102.24) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 20 Oct 2015 17:08:34 -0500
Received: from xch-rcd-015.cisco.com ([173.37.102.25]) by XCH-RCD-015.cisco.com ([173.37.102.25]) with mapi id 15.00.1104.000; Tue, 20 Oct 2015 17:08:34 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Shraddha Hegde <shraddha@juniper.net>, "draft-ietf-ospf-two-part-metric@ietf.org" <draft-ietf-ospf-two-part-metric@ietf.org>
Thread-Topic: draft-ietf-ospf-two-part-metric : Max metric handling
Thread-Index: AQHRAaxU3pGsXjsztkqBbWdrAPCuWwBj6wCAAPC0XHAAwCCHAABwceugnl6YNICAAXBIgIAA41uA
Date: Tue, 20 Oct 2015 22:08:34 +0000
Message-ID: <D24C327C.37225%acee@cisco.com>
References: <BY1PR0501MB138192B8D1A44024E5BAD8D9D5370@BY1PR0501MB1381.namprd05.prod.outlook.com> <D23B45ED.34208%acee@cisco.com> <BY1PR0501MB13812121E6BD78B9C15799B9D5300@BY1PR0501MB1381.namprd05.prod.outlook.com> <D24707EC.36BFB%acee@cisco.com> <CY1PR0501MB13852D85F51AA7821BE46751D53A0@CY1PR0501MB1385.namprd05.prod.outlook.com> <D24A3F38.36DB3%acee@cisco.com> <BY1PR0501MB138113E098ECD8686FA81D7BD5390@BY1PR0501MB1381.namprd05.prod.outlook.com>
In-Reply-To: <BY1PR0501MB138113E098ECD8686FA81D7BD5390@BY1PR0501MB1381.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.199]
Content-Type: multipart/alternative; boundary="_000_D24C327C37225aceeciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/ospf/3Ea4VIY8BZVfJfTORZKpsGs_rbs>
Cc: OSPF WG List <ospf@ietf.org>
Subject: Re: [OSPF] draft-ietf-ospf-two-part-metric : Max metric handling
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Oct 2015 22:08:57 -0000

Hi Shraddha,

Ok - so you are concerned about the case where another routers is the stub router - not the case where the router with the 2-part metric is the stub router. Note that the situation below is no different than anytime you have a path with one than one link and you give them strange costs. In general, setting the link to 0xffff is less effective as the normal operational costs of the links approach 0xffff. The introduction of 2-part metric doesn’t introduce any problems.

Thanks,
Acee


From: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>
Date: Tuesday, October 20, 2015 at 12:35 AM
To: Acee Lindem <acee@cisco.com<mailto:acee@cisco.com>>, "draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>" <draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: RE: draft-ietf-ospf-two-part-metric : Max metric handling

Acee,

>Explain to me how it is not longer a safe last resort metric if it is greater than 0xffff? Show me a viable topology?


              8fff        10
           ---------E ---------
     8fff|                        \
D--------    8fff       10   \
|           |_____F-------G
| 10                                   \ 10
A-----------B-----------------C
       10             10



In the above topology D’s interface cost is set to 8fff. F’s network-to-router cost is also set to 8fff.

The path from A to C in normal operation is A->B->C.
Let’s say B-> C link should be replaced . Setting B->C interface cost 0xffff will not move the traffic away from that link
Since the cost  to reach C via other path is

A->D->F->G->C
 Is
10 + 8fff + 8fff + 10 + 10 + 10=  1202E

0x1202E is greater than 0xffff.

In the absence of two-part metric the cost would be 10 + 8fff +10+10+10 = 0x902f
And the traffic would be diverted.

Did I miss something? Or misunderstood the two-part metric?

Rgds
Shraddha



From: Acee Lindem (acee) [mailto:acee@cisco.com]
Sent: Monday, October 19, 2015 4:07 PM
To: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>; draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: Re: draft-ietf-ospf-two-part-metric : Max metric handling

Hi Shraddha,

From: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>
Date: Monday, October 19, 2015 at 1:53 AM
To: Acee Lindem <acee@cisco.com<mailto:acee@cisco.com>>, "draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>" <draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: RE: draft-ietf-ospf-two-part-metric : Max metric handling

Hi Acee,

It was a mistake to think 0xffff added to 0xffff will make it 0xffffffff .
The metric will be 0x1fffe which is still much greater than 0xffff.

If an operator has assigned  metric of 0xffff for a link  thinking that this will be the last resort  link
Since there is no metric beyond 0xffff.
This assumption will be broken when two part metric is introduced. As there can be node-node paths with metric
Larger than oxffff, so 0xffff is no longer a safe last resort metric.

Explain to me how it is not longer a safe last resort metric if it is greater than 0xffff? Show me a viable topology?



Introducing two-part metric for broadcast links into the network has operational impact and I think it should be stated explicitly in the draft.

We will cover stub router operation in the next revision.

Thanks,
Acee


Rgds
Shraddha

From: Acee Lindem (acee) [mailto:acee@cisco.com]
Sent: Saturday, October 17, 2015 5:36 AM
To: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>; draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: Re: draft-ietf-ospf-two-part-metric : Max metric handling

Hi Shraddha,

Even if we set both metrics to 0xffff, the link metric is 0x1FFE. This is far from 0xffffff. Hence, I don’t really understand your concern of this changing the behavior.

Thanks,
Acee

From: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>
Date: Tuesday, October 13, 2015 at 12:30 AM
To: Acee Lindem <acee@cisco.com<mailto:acee@cisco.com>>, "draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>" <draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: RE: draft-ietf-ospf-two-part-metric : Max metric handling

Acee,

Yes, the metric change for the stub router scenario needs to be updated.

This draft is changing the maximum possible metric for a path between two adjacent nodes from 0xffff to oxffffffff.
This breaks the existing assumption that 0xffff is the max_metric i.e last resort metric. From operational
Perspective it’s better to mention this point explicitly  in the draft.

Rgds
Shraddha

From: Acee Lindem (acee) [mailto:acee@cisco.com]
Sent: Thursday, October 08, 2015 3:03 PM
To: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>; draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: Re: draft-ietf-ospf-two-part-metric : Max metric handling

Hi Shraddha,
Since RFC 2328 and RFC 5340 don’t explicitly call out the case of 0xffff, I don’t see why this should be handled. Perhaps, we should state both metric SHOULD be set to 0xffff in the stub router case.
Thanks,
Acee

From: Shraddha Hegde <shraddha@juniper.net<mailto:shraddha@juniper.net>>
Date: Tuesday, October 6, 2015 at 5:58 AM
To: "draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>" <draft-ietf-ospf-two-part-metric@ietf.org<mailto:draft-ietf-ospf-two-part-metric@ietf.org>>
Cc: OSPF WG List <ospf@ietf.org<mailto:ospf@ietf.org>>
Subject: draft-ietf-ospf-two-part-metric : Max metric handling

Authors,

As per my understanding of the draft, SPF calculation uses sum of metric from the interface cost and the network to router cost advertised by the neighbor.
Handling of MAX metric is not described in the draft.  Since the metric will be sum of 2 16 bit numbers it can exceed the normal 0xffff metric value and the draft should talk about how to handle these cases.

Rgds
Shraddha