Re: Question about Type2 redistribution in to OSPF

Acee Lindem <acee@REDBACK.COM> Wed, 21 August 2002 20:41 UTC

Received: from cherry.ease.lsoft.com (cherry.ease.lsoft.com [209.119.0.109]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA25062 for <ospf-archive@LISTS.IETF.ORG>; Wed, 21 Aug 2002 16:41:53 -0400 (EDT)
Received: from walnut (209.119.0.61) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <10.006E428E@cherry.ease.lsoft.com>; Wed, 21 Aug 2002 16:43:18 -0400
Received: from DISCUSS.MICROSOFT.COM by DISCUSS.MICROSOFT.COM (LISTSERV-TCP/IP release 1.8e) with spool id 82429 for OSPF@DISCUSS.MICROSOFT.COM; Wed, 21 Aug 2002 16:43:18 -0400
Received: from 155.53.12.9 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0f) with TCP; Wed, 21 Aug 2002 16:43:18 -0400
Received: from redback.com (login005.redback.com [155.53.12.60]) by prattle.redback.com (Postfix) with ESMTP id 3227D4483E6 for <OSPF@DISCUSS.MICROSOFT.COM>; Wed, 21 Aug 2002 13:43:16 -0700 (PDT)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: en-us
MIME-Version: 1.0
References: <3D63DA29.E06CECDF@net.com> <1029961277.1459.89.camel@dhcp-168-0-85.packetdesign.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Message-ID: <3D63FB6A.2030807@redback.com>
Date: Wed, 21 Aug 2002 16:43:22 -0400
Reply-To: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
Sender: Mailing List <OSPF@DISCUSS.MICROSOFT.COM>
From: Acee Lindem <acee@REDBACK.COM>
Subject: Re: Question about Type2 redistribution in to OSPF
To: OSPF@DISCUSS.MICROSOFT.COM
Precedence: list
Content-Transfer-Encoding: 7bit

Nikhil Sama wrote:

> R1 will have a cost of 5 to the type-2 external route mentioned.
>
> The reason is, as you mentioned ..
> "Type 2 metrics are assumed to be larger than the cost of any intra-AS
> path."
>
> If there was another type-2 external route available to the same
> destination prefix via another internal ASBR/Next-Hop, then your
> decision on which route to pick should be independent of your cost to
> the different internal next-hop's but based solely on the type 2
> metrics.


This is true as long as the type-2 metrics from the two ASBRs differ.
When they are equal then the OSPF cost to the ASBR/forwarding address is
considered. Refer to section 16.4 in RFC 2328 for the details.


> This would not "necessarily" be the case had you added the internal
> cost(of getting to the next-hop) to the type-2 metric.
>
> Hope this helps !
> /ns
>
> On Wed, 2002-08-21 at 11:21, Mani Devarajan wrote:
>
>>RFC 2328:
>>=========
>>Section - 12.4.4.  AS-external-LSAs
>>
>>Type 2 metrics are assumed to be larger than
>>the cost of any intra-AS path.
>>
>>In one other document I read ,it says that for type 2
>>it will be always external cost irrespective of inter
>>area cost.
>>
>>                          type 2
>>      -----     -----     -----
>>     |     |   |     |   |     |
>>     | R1  |   | R2  |   |ASBR |
>>     |     |   |     |   |     |
>>      -----     -----     -----
>>          |10   |   |10    |  |
>>           -----     ------    ----|
>>                                   | External Network
>>                                   |
>>If ASBR redistributes route for external network at a
>>cost of 5, R1 will have a route to external network
>>with cost == 5 or cost > 10.
>>
>>Thanks in advance,
>><Mani
>>
>>
>


--
Acee