[168396] in North American Network Operators' Group
Re: OSPF Costs Formula that include delay.
daemon@ATHENA.MIT.EDU (Owen DeLong)
Fri Jan 24 15:39:06 2014
From: Owen DeLong <owen@delong.com>
In-Reply-To: <495D0934DA46854A9CA758393724D5903B9787@NI-MAIL02.nii.ads>
Date: Fri, 24 Jan 2014 12:36:48 -0800
To: Erik Sundberg <ESundberg@nitelusa.com>
Cc: "nanog@nanog.org" <nanog@nanog.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
Some networks I have worked with took the average latency of each link =
and assigned that (with some constant multiple) as the interface cost.
Of course this all fails miserably if you are using anything like MPLS =
underneath your OSPF.
Owen
On Jan 24, 2014, at 12:26 PM, Erik Sundberg <ESundberg@nitelusa.com> =
wrote:
> I understand OSPF default calculation for cost doesn't include delay. =
I am looking for a formula that I can use to manually set the OSPF costs =
that factors in delay.
>=20
> When using OSPF's default costs, the shortest path is not always the =
optimal path.
>=20
>=20
> Example
>=20
> New York to Los Angeles. Assuming all links are the same bandwidth and =
have a ospf cost of 1.
>=20
> Path 1 (75ms) - OSPF Cost 2 - New York > Dallas > Los Angeles
>=20
> Path 2 (65ms) - OSPF Cost 3 - New York > Chicago > Denver > Los =
Angeles
>=20
> If I left the default cost's alone then path 1 would win because it =
has a lower ospf cost, however it take traffic 10ms longer to get there.
>=20
> However I would like traffic to take Path 2 by adjusting the OSPF =
cost.
>=20
>=20
> I am looking for a formula that other people are using .p
>=20
> Thanks
>=20
> Erik
>=20
>=20
> -----Original Message-----
> From: Randy [mailto:randy_94108@yahoo.com]
> Sent: Thursday, January 23, 2014 9:03 PM
> To: Erik Sundberg; nanog@nanog.org
> Subject: Re: OSPF Costs Formula that include delay.
>=20
>=20
>=20
> ----- Original Message -----
>> From: Erik Sundberg <ESundberg@nitelusa.com>
>> To: "nanog@nanog.org" <nanog@nanog.org>
>> Cc:
>> Sent: Thursday, January 23, 2014 4:47 PM
>> Subject: OSPF Costs Formula that include delay.
>>=20
>> What is everyone using for an OSPF cost formula that factors in a
>> circuits delay and bandwidth (10M-100G)???
>>=20
>> Thanks in advance
>=20
>=20
>=20
> umm..are you sure your question is not about EIGRP?
> OSPF has no concept of interface-delays.
>=20
> The default reference bandwidth for OSPF is 100M
>=20
> In your case if you set your reference bandwidth to 100000 your 100G =
links would have a link cost of 1, 10G - 10, 1G-100, 100M-1000 and =
10M-10000
>=20
> A vendor specific list would be a better place to ask.
>=20
>=20
> ./Randy
>=20
> ________________________________
>=20
> CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, =
files or previous e-mail messages attached to it may contain =
confidential information that is legally privileged. If you are not the =
intended recipient, or a person responsible for delivering it to the =
intended recipient, you are hereby notified that any disclosure, =
copying, distribution or use of any of the information contained in or =
attached to this transmission is STRICTLY PROHIBITED. If you have =
received this transmission in error please notify the sender immediately =
by replying to this e-mail. You must destroy the original transmission =
and its attachments without reading or saving in any manner. Thank you.