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

Shraddha Hegde <> Mon, 19 October 2015 05:54 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 24AF11A1BCB; Sun, 18 Oct 2015 22:54:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id a95qXbCaSNea; Sun, 18 Oct 2015 22:53:52 -0700 (PDT)
Received: from ( [IPv6:2a01:111:f400:fc10::774]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 2949A1A1BA7; Sun, 18 Oct 2015 22:53:51 -0700 (PDT)
Received: from ( by ( with Microsoft SMTP Server (TLS) id; Mon, 19 Oct 2015 05:53:34 +0000
Received: from ([]) by ([]) with mapi id 15.01.0293.007; Mon, 19 Oct 2015 05:53:35 +0000
From: Shraddha Hegde <>
To: "Acee Lindem (acee)" <>, "" <>
Thread-Topic: draft-ietf-ospf-two-part-metric : Max metric handling
Thread-Index: AdEAHKg/Cne5geJ/SzGq6c/Ed/OpoABj6wCAAPC0XHAAwCCHAABwceug
Date: Mon, 19 Oct 2015 05:53:34 +0000
Message-ID: <>
References: <> <> <> <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
authentication-results: spf=none (sender IP is );
x-originating-ip: []
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1388; 5:JtbDsWLaGEl/AQkMa9rMhrBUxVFb6EoxjE8f7BXPxVIrKk71XV+sp1ChrP/6C4B+9eVsXkUEDLmpuwQIY+4v+dS2k3bFIwxCp2j3z+DDIKBqqHCJ2t0fRSZ0SfBxCqa1FCWgaQcZLWMV738IiSu5NA==; 24:CxUF5+aLe2i2zp8KWeQF1SVaxQxJ2OUkCI3KZmmUz8jWsfJ/mKJsWxM1TTHoNaG9+rUwWGGU00sYhqub7W8pQOKVZ2is2bggTfOoQpBbNTA=; 20:9vPfenEaENXm/iHDByZzGnOcwmQfn8/+c2B7+rrBAINQpnxFODSSZT+sEpt0sqa6tA5pLrcQpesWeQ7VeiAKUg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1388;
x-microsoft-antispam-prvs: <>
x-exchange-antispam-report-test: UriScan:(138986009662008)(95692535739014)(42673675456677)(108003899814671)(83020558694031);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001); SRVR:CY1PR0501MB1388; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1388;
x-forefront-prvs: 07349BFAD2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(377454003)(189002)(199003)(164054003)(230783001)(54356999)(92566002)(19580405001)(105586002)(5003600100002)(10400500002)(81156007)(189998001)(33656002)(5008740100001)(86362001)(40100003)(97736004)(5001960100002)(19625215002)(19300405004)(46102003)(5001770100001)(99286002)(2900100001)(19580395003)(50986999)(74316001)(101416001)(5007970100001)(16236675004)(93886004)(106356001)(66066001)(2501003)(64706001)(87936001)(2950100001)(5002640100001)(76576001)(19609705001)(76176999)(15975445007)(122556002)(77096005)(102836002)(5004730100002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1388;; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None ( does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CY1PR0501MB13852D85F51AA7821BE46751D53A0CY1PR0501MB1385_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2015 05:53:34.8987 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1388
Archived-At: <>
Cc: OSPF WG List <>
Subject: Re: [OSPF] draft-ietf-ospf-two-part-metric : Max metric handling
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 19 Oct 2015 05:54:00 -0000

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.

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


From: Acee Lindem (acee) []
Sent: Saturday, October 17, 2015 5:36 AM
To: Shraddha Hegde <>;
Cc: OSPF WG List <>
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.


From: Shraddha Hegde <<>>
Date: Tuesday, October 13, 2015 at 12:30 AM
To: Acee Lindem <<>>, "<>" <<>>
Cc: OSPF WG List <<>>
Subject: RE: draft-ietf-ospf-two-part-metric : Max metric handling


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.


From: Acee Lindem (acee) []
Sent: Thursday, October 08, 2015 3:03 PM
To: Shraddha Hegde <<>>;<>
Cc: OSPF WG List <<>>
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.

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


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.