Maroun,

OSPF routers don't really send out routes to their neighbors, they send 
LSAs.  For most things you can think of them as being the same, except 
in situations like yours.

Your router is presumably creating the default route (use 'show ip ospf 
database' to verify) and therefore creating the LSA for it.  The LSA is 
flooded to all neighbors.  In a redundant network the LSA could even be 
sent from multiple neighbors.  The end result is that all routers WILL 
get the default gateway LSA.

To get around this "problem", you need to use a distribution list on the 
router that should not honor the default gateway.  The router will still 
get the LSA, will still enter the LSA into its database and will still 
flood the LSA to its neighbors.  But if you use a distribution list it 
will NOT put the route in its routing table.  It sounds like this is 
what you're looking for.

In other words put the filter on the router where the filtering needs to 
take place, not on the sending router.  You could also accomplish this 
by using multiple areas and filtering at the ABR.

- Tom

Maroun Waked wrote:
> hi,
> 
> I have a router running ospf that needs to send a
> default route to its neighbors. For this, I have used
> the command default-information originate.
> Then I wanted one of the neighbors not to receive the
> default route. I thought that the route-map option at
> the end of the default-information originate, would
> help.
> However, each time I create a route-map, the default
> route will not be advertised to any of the neigbors.
> I tried using match interface, but I never got any
> matches.
> In brief, things didn't work.
> Can anyone help
> 
> thank you
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=69714&t=69558
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to