03-25-2022 06:58 AM - edited 03-25-2022 06:15 PM
Hello All,
I was reading the CCIE Routing and Switching Cert Guide V5 and came across the statement: iBGP peers do not share routes with each other in case of a routing loop, thus, all iBGP peers must form a full mesh within an AS. (without the confederation or router reflector)
I understand that iBGP doesn't by default come with a routing loop prevention mechanism like AS_PATH checks. But this confuses me a little about what's the function of iBGP router. Is there any other usage of an iBGP router than the following:
And finally, for the 2nd point, I don't know exactly how it works so that all iBGP routers in the same AS gets the same eBGP update. what's the difference of handling the Update message other than it doesn't add the local AS number to AS_PATH?
---------------------------------------2nd edit here -----------------------------------
Please allow me to clarify my question a little:
Yes I understand why we need iBGP. Because we want multiple routers in the same AS and share the AS number.
What I don't understand, is the mechanism of it sharing the routes to the BGP instance, in particular, towards other iBGP peers from IGP redistribution.
If the route came from eBGP, I'd assume it will certainly forward the BGP Update message towards its iBGP peer, just don't add another AS number and it will get accepted and updated by its iBGP neighbor, no problem.
But what if, the route was redistributed from OSPF, to iBGP on router A, how does it update this route towards its iBGP neighbor router B? They share the same AS so by the route loop prevention rules, if router B isn't OSPF neighbor of router A, it will not get this route even if they're iBGP neighbors? yet, router A's eBGP neighbor, router C will get this route?
Thanks a lot for any answers.
03-25-2022 09:20 AM - edited 03-25-2022 09:21 AM
Now image that SP need to assign public as for each router in it core if we use ebgp, this is why we need ibgp, simply the SP and customer in some case assign ONE public AS and all router inisde this AS will be ibgp.
03-25-2022 10:55 AM
Hi
The router can run only one BGP process, right? Then, if you run only eBGP, every router should be in one Autonomous System. Which means, either your network could have one router only or you´d need to have multiples Autonomous system inside your network.
Of course you can have multiples Autonomous system inside your company, but, believe me, there will be situation where you´ll need to keep them in one AS.
So, that´s why iBGP actually existe. Usually, a company has one Valid Autonomous system but, for many reason, they need to have several routers. In order to accomodate those routers inside this Autonomous system, they need to stablish internal communication which is iBGP. You may know that when you create a neighborhood on the BGP process but you use the same Autonomous system number, you are forming iBGP relationship, right?
And most of BGP limitation when it comes to iBGP can be solved. Take a look on the commands "next-hop-self", "allowas-in", "update-source", "disable-connected-check", etc.
Those command were created to overcome those iBGP x eBGP drawbacks.
03-25-2022 12:29 PM - edited 03-25-2022 12:29 PM
One of the good books that explains BGP is Internet Routing Architectures from Cisco Press library I would recommend to get it.
Regards, ML
**Please Rate All Helpful Responses **
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