cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
555
Views
15
Helpful
3
Replies

OSPF redistributing BGP routes

John Blakley
VIP Alumni
VIP Alumni

All,

I have the following topology along with routing protocol listed:

ASA (ospf)--> 871W(ospf/bgp)--> 871(bgp)

My dilemma/problem/issue is this:

The 871s are peering with each other with ibgp. OSPF is running between the 871w and the ASA. When I add a loopback interface to the 871 and then add to BGP, I see that route to the loopback on my 871W, but my ASA doesn't show it.

I thought BGP will distribute routes that correspond with loopbacks. I have a 192.168.0.0 network on the 871W, and it's not showing up on the ASA, but the ASA can get to it because it's a directly connected network on the 871W. I would LIKE to see my loopback addresses of the other router on the ASA. Is that even possible?

I've got "redistributing bgp subnets" under the OSPF process on the 871W. Everything is up-to-date according to bgp and ospf. This is a home network, so I don't have the configs, but I can get them if nothing jumps out.

Thanks!

John

HTH, John *** Please rate all useful posts ***
3 Replies 3

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello John,

you are facing a default protection mechanism thought to avoid to overload OSPF with the iBGP routes.

By default, only EBGP-learned information is candidate to be redistributed into IGP when the redistibute bgp command is issued. The IBGP routes is not redistributed into IGP until the bgp redistribute-internal command is configured under the router bgp command. But precautions must be taken in order to avoid loops within the Autonomous System when IBGP routes are redistirbuted into IGP.

see

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009487e.shtml#ospf

Hope to help

Giuseppe

singhsaju
Level 4
Level 4

By default, iBGP redistribution into IGP is disabled. Issue the bgp redistribute-internal command in order to enable redistribution of iBGP routes into IGP.

http://www.cisco.com/en/US/tech/tk365/technologies_q_and_a_item09186a00800949e8.shtml#twenty-four

router bgp 65345

[...]

bgp redistribute-internal -----> issue this command under BGP

!

HTH

Saju

pls rate helpful posts

Richard Burts
Hall of Fame
Hall of Fame

John

I believe that your issue is that you are attempting to redistribute a BGP route that it learned as an IBGP route. By default BGP does not want to redistribute INGP learned routes. You can use this command under router bgp:

bgp redistribute-internal

and it should fix your issue.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: