Solved

BGP main loop prevention mechanism

Posted on 2006-06-25
4
4,166 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
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 125 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Port 808 is being blocked 9 58
Cisco Switch Password ---Urgent 3 49
EIGRP Multicast vs Unicast 7 57
Connecting LAN to a new leased line 2 46
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now