cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
238
Views
0
Helpful
1
Replies

OSPF Default Route Question

cisconoobie
Level 2
Level 2

I have 2 routers.

Router1= RID 1.1.1.1

Router2= RID 2.2.2.2

Router1 using serial1(10.0.0.1) is connected to Router2 using serial0(10.0.0.2)

On router 1, I want to originate a default route only to Router 2 and noone else but my route map does not work.

ip access-list extended 110

10 permit ip any 10.0.0.2

route-map DEFAULT 10

match ip address 110

set metric 99

default-information originate route-map DEFAULT

Router 2 never gets the default route, if I use "permit ip any any" in the access-list then it works.

Am I missing soemthing? I dont have a sniffer so I cant see exactly what is happening behind the scenes to properly setup the access-list.

Any Help?

1 Reply 1

mohammedmahmoud
Level 11
Level 11

Hi,

When doing conditional default route origination, if you use "match ip address" then what you are telling the router to do, is to only originate the default route if the route matched by the ACL resides in the routing table, it has nothing to do with the neighbor, on the other hand to control out of which interface the default route should be originated, use the set interface in the route-map.

BR,

Mohammed Mahmoud.

Review Cisco Networking products for a $25 gift card