cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
577
Views
0
Helpful
3
Replies

OSPF into iBGP

raphaelblanks
Level 1
Level 1

Good Morning Everyone,

 

I have two routers: Router1 with iBGP and OSPF routing processes. Router1 has iBGP to Router2, and OSPF to an external router over Tunnel100. I am redistributing the OSPF routes into iBGP using the following:

"redistribute ospf 1 metric 100 internal external 1 external 2"

This works. I see all OSPF routes in the routing table of Router1.

 

I do not see any OSPF or iBGP routes on Router2, although I do see a neighbor-ship between the two.

 

Router1 sees routes from Router2.

 

No route-maps, prefix-lists, or ACLs are in play. What is going on??

 

Thank you for your assistance.

3 Replies 3

Hello,

 

hard to say...can you post the configs of R1 and R2 ?

Hello

Its not clear on your topology, you mention ibgp peering between the two rtrs but no ebgp connections and also ospf, Can you post the diagram please


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

 

reading through your post again: on which router are you redistributing OSPF into BGP ?

 

"redistribute ospf 1 metric 100 internal external 1 external 2"

This works. I see all OSPF routes in the routing table of Router1.

 

You would see the OSPF routes in the routing table of Router 1 regardless of the redistribution...so I am not really clear on which router the redistribution is taking place, maybe I am missing something...

 

In theory, a simple configuration such as the one below should work:

 

R1

 

router ospf 1
router-id 1.1.1.1
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 1
bgp router-id 1.1.1.1
bgp log-neighbor-changes
redistribute ospf 1 metric 100 match internal external 1 external 2
neighbor 192.168.12.2 remote-as 1

 

R2

 

router bgp 1
bgp router-id 2.2.2.2
bgp log-neighbor-changes
neighbor 192.168.12.1 remote-as 1

Review Cisco Networking for a $25 gift card