OSPF Default Route Question

Unanswered Question
Apr 20th, 2008

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?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mohammedmahmoud Mon, 04/21/2008 - 00:59

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.

Actions

This Discussion