?
Solved

BGP main loop prevention mechanism

Posted on 2006-06-25
4
Medium Priority
?
4,638 Views
Last Modified: 2008-01-09
I have read this :

((Since BGP does not use a discernible metric value as IGPs do, the main loop prevention mechanism built into iBGP is that fact that routes learned from an iBGP neighbor cannot be advertised onto another iBGP neighbor. Therefore,
this stipulation implies that all iBGP speaking devices must establish direct peering relationships with all other iBGP devices within your autonomous system)).

I am aware that we have to have full mesh peering relations within IBGP, that means, any IBGP speaker will not pass route update to other IBGP speaker unless it has peer relationship with it . In this way, we are preventing loops from happening .

But I could not get what he mean by his comparison when he says :

 “Since BGP does not use a discernible metric value as IGPs do”
0
Comment
Question by:zillah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:neowolf219
ID: 16984810
Hey zillah,

Okay, keep in mind that when doing any type of route engineering with IGPs, as long as the administrative distance is the same (ie, OSPF = 110, RIP = 120, etc, OSPF is always preferred over RIP regardless of metric), the metric will be the determining factor.  This isn't so in BGP.

The "loop" prevention techniques in iBGP is saying that I cannot advertise the route I received back out that interface.  To affect how traffic moves through an AS to get to another AS, many attributes can be set, such as Weight, Local Preference (to affect how traffic leaves your AS) and MED and AS-PATH affects how traffic comes into your AS).  

Notice how I'm saying "into" and "leaving" your AS.  If you are originating a route within your AS, then since everything is fully meshed the router will be the next-hop for that advertised BGP route within your iBGP (remember, fully meshed).  Hence why BGP doesn't use a discernible metric.  

In IGP, you might not be fully meshed, so you will prefer the path with the lowest metric, hence why it is important (most IGPs aren't fully meshed).  But remember with IGPs, administrative distance first, then metric.

HTH
0
 
LVL 12

Accepted Solution

by:
pjtemplin earned 500 total points
ID: 17251864
Wrong, iBGP can always advertise a route back out the interface it was received on.  There is no such limitation in BGP.

BGP attributes, assuming no route map processing, won't change as a route is passed around an AS.  That's the "no discernable metric" part of that statement.  Therefore, since nothing increments, if BGP routers passed iBGP-learned routes to other iBGP neighbors, there'd be no way to tell it's looping through the AS.  As a result, routers don't pass iBGP-learned routes to other iBGP neighbors, unless an iBGP mesh scaling trick is used.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question