Re: Advertising default route in OSPF to some routers, not all

From: CCIE FUN (ccieexam2002@yahoo.com)
Date: Mon Mar 10 2003 - 14:54:46 GMT-3


you could make connection between R1 and R2 a stub
area
but that area would something other than Backbone
area(area 0).
Then the default route would show up only on R1.

by using the route-map option below what you did is
just use a feature of OSPF to conditionally advertise
default route the R1 and R3 if Interface e0 is up.

i think connection between r1 and r2 should be another
area and r2 and r3 should be area 0.

then use the stub area option between r1 and r2 only.
if you want R1 to only recieve a default route and no
other routes then use the totally stubby area option.

--- Tran Tien Phong <PhongTT2@FPT.COM.VN> wrote:
> Hi friend,
>
> Topology:
>
> R1 (e0)---------------(e0) R2
> (s0)------------------(s0) R3
>
> R1, R2 and R3 all run OSPF in area 0
>
> I would like to make R2 advertise a default route
> only to R1, not R3, I
> configured as below:
>
> R2:
>
> router ospf 100
> network A.A.A.A B.B.B.B area 0
> default-information originate always route-map
> onlyR1
>
> route-map onlyR1 pemit 10
> match interface e0
>
> Did not work ! Both R1 and R3 have the default route
> in its routing
> table.
>
> Any ideas?
> TIA
> Phong



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:36 GMT-3