12-03-2019 03:20 PM
ello,
Here is the topology. I have eBGP ( AD20) between R1-ISP1 and R2-ISP.2
Between R1 and R2 i have iBGP as well as OSPF. Both R1 and R2 are receiving all MPLS routes from their respective PE routers.
But only R2 is installing in the routing table and R1 is showing as RIB failure.
Can anyone help me to understand why there is RIB failure on R1 when it is receiving the routes from PE with AD as 20 ( as it is eBGP)?
MPLS ISP-1 MPLS ISP-2
| |
| |
R1 ----------------------------R2
Solved! Go to Solution.
12-03-2019 05:59 PM
12-03-2019 05:31 PM
Hi,
You will get BGP-RIB failure when you have a better route learned and added to the RIB.
Please share with us the output of show ip bgp and show ip route from both R1 and R2.
HTH,
Meheretab
12-03-2019 05:59 PM
12-05-2019 09:38 AM
Thanks Jaderson for your reply...
I think you are right....all external routes R1 is learning from its PE via eBGP as well as from R2 via iBGP. R1 chooses the one from R2 as the best BGP route based on the BGP route selection process ( in my case Local Preference was the tie breaker), AD is not considered here.Then it compares that iBGP route with OSPF learned route ( again from R2) and now chooses OSPF ( as it has better AD of 110 than iBGP 200) and installs in the routing table... Correct me if i am wrong...
Thanks Jaderson and Jon for your help...
Now my another question is : Is it OK to have iBGP and OSPF both between R1 and R2.
WAN is active-standby...FYI
12-05-2019 10:10 AM
12-05-2019 10:11 AM
12-04-2019 12:11 AM
Are you redistributing BGP routes into OSPF ?
Jon
12-04-2019 10:51 AM
Yes Jon, BGP is being redistributed into OSPF...
Also, there is no static route configuration or route manipulation with less AD than eBGP(AD-20).
12-04-2019 11:19 AM
12-05-2019 12:29 AM
Sorry, I should also have asked is OSPF being redistributed into BGP as well.
If it is then I am pretty sure I know what is happening.
Jon
12-05-2019 09:39 AM
No JON, OSPF is not being redistributed into BGP... BGP is advertising the internal networks via network statements
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide