default routes via routing protocol

Unanswered Question
Mar 30th, 2007
User Badges:

Hi all, if I wanted to advertise a default route into ospf and also my other static routes, would i use default information originate and redistribute static both together ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
royalblues Fri, 03/30/2007 - 01:48
User Badges:
  • Green, 3000 points or more


If you have a static default route and want it to get redistributed into OSPF, then you would need both of the above commands.

The default-information-originate command check for the existence of defaut route in the routing table before it injects into OSPF. When you use the Always keyword along wth the above command, then it will inject a default route irrespective of whether a defaut route exists in the routing table

HTH, rate if it does


carl_townshend Fri, 03/30/2007 - 05:07
User Badges:

could i just not use the redistribute static command to get out all my routes including the default ?

royalblues Fri, 03/30/2007 - 05:13
User Badges:
  • Green, 3000 points or more

You cannot with OSPF




This Discussion