BGP redist into ospf

Answered Question
May 4th, 2010
User Badges:

Guys we have a environemnt in which we are running ospf on your LAN side and BGP on WAN.....ospf is being redistributed into bgp and bgp is redistributed into ospf.....now we are getting default route and some specific routes from our provider.......i have done the following


router ospf 1

redistribute bgp subnets


will it work??? or do we have to add default-information command as well...........if yes why?? thanks


secondly AS-path prepend and MED.......both do the same thing why would we use MED instead of as path prepend and same as other way around

Correct Answer by Giuseppe Larosa about 6 years 11 months ago

Hello Khan,

the default route cannot be redistributed from BGP into OSPF, you need to use the default-information originate in OSPF router process for this.



MED effect is confined to peer AS only, AS path prepending effects propagate to the whole internet (unless an aggregate is created by some provider)


Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Tue, 05/04/2010 - 03:30
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Khan,

the default route cannot be redistributed from BGP into OSPF, you need to use the default-information originate in OSPF router process for this.



MED effect is confined to peer AS only, AS path prepending effects propagate to the whole internet (unless an aggregate is created by some provider)


Hope to help

Giuseppe

Actions

This Discussion