OSPF Conditional Default Origination

From: yakout esmat (yesmat@xxxxxxxxxxxxxx)
Date: Sun Apr 21 2002 - 07:43:55 GMT-3


   
Hi all,

I have a problem configuring OSPF Conditional Default Origination, my config
as follows:

!
router ospf 100
 summary-address 198.168.0.0 255.255.0.0
 network 148.5.6.6 0.0.0.0 area 0
 network 148.5.16.6 0.0.0.0 area 0
 default-information originate route-map default
!
route-map default deny 10
 match ip address 3
!
route-map default permit 20
!
access-list 3 permit 148.5.5.0 0.0.0.255
!
end

What I want to achieve is: If network 148.5.5.0/24 exists in the routing
table DO NOT advertise the default route into OSPF Domain (which is
represented by first instance of the route-map 10)

Otherwise Advertise the default (which is covered by the second instance 20)

My observation is: it only works if the first instance permits the default
based on the EXISTANCE of the network in the table, and denies the default
if the network doesn't exist in the table.

Do I have misunderstanding of the Conditional Default Origination or what??

Any feed back is very much appreciated.

Thanks in advance

ya



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:15 GMT-3