OSPF summary-address

Unanswered Question
Apr 3rd, 2007

Hi

Why does the following not work?

router ospf 1

redistribute connected

summary-address 0.0.0.0 0.0.0.0

I expect OSPF to distribute a default route but instead OSPF stops announcing any routes!

Any ideas?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Harold Ritter Tue, 04/03/2007 - 06:23

The only mean to inject the default route in an OSPF autonomous system is through the use of the command "default-information" originate.

Hope this helps,

sundar.palaniappan Tue, 04/03/2007 - 06:38

Dave,

The 'summary-address' command is used in ASBR, router connecting to an external AS, and I am guessing this router may be connected to your ISP.

If that's the case then just like Harold stated configure 'default-information originate' under your OSPF process and the router would continue to inject a default route as long as it has a default route in it's routing table.

HTH

Sundar

davegibelli Tue, 04/03/2007 - 07:10

Sundar

With bgp you will not get a default route from a peer so there is no default route in your routing table in the first place.

I want to summarise all bgp routes into a default route and only inject this default into ospf if the bgp session is up...

davegibelli Tue, 04/03/2007 - 07:25

Sundar

I have two bgp routers, each has a single peering session. I want each bgp router to annouce a default route into ospf but only if the bgp session is up.

Sounds simple but I cannot figure out how!

Actions

This Discussion