ospf bgp redistribution

Unanswered Question
Jul 13th, 2010

If you are issuing a default orginate from the OSPF and redistribute ospf into BGP does the default go with it?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
chinkevi_2 Tue, 07/13/2010 - 22:50

depends if the default route is in routing table, and if it is known via ospf process.  BGP will take anything into BGP process.

default orginate command in ospf generate default route only if there is existing default route known already.

vdineshkumar83 Wed, 07/14/2010 - 03:07

Yes it wud. Here you are redistributing the OSPF database as whole without any restriction.


V Dinesh Kumar

whanson Wed, 07/14/2010 - 05:04

Thanks a bunch. I have another question if you have the time. I see something in the bgp config that I have never seen before network rather than default-originate. Is there any difference because it certainly appears to work as they have a static route for


francisco_1 Wed, 07/14/2010 - 05:08


network mask is used in bgp to inject a default route in to bgp provided that there is a default route in the RIB.


francisco_1 Wed, 07/14/2010 - 05:11

or without a default route in the RIB, you could use soemthing like neighbor default-originate. This commend will generate a default route and send it to the configured peer without a matching default route in the BGP table or RIB.


whanson Wed, 07/14/2010 - 05:12

Thanks but is that any different then default-originate?


This Discussion