BGP Route Determination and the BGP Decision Process
(Page 2 of 3)
Criteria for Assigning Preferences to Routes
Obviously, if a BGP speaker only knows of a single route to a network, it will install and use that route (assuming there are no problems with it). The assigning of preferences amongst routes only becomes important when more than one route has been received by a BGP speaker for a particular network. Preferences can be determined based on a number of different criteria. Just a few typical ones include:
In the case where a set of routes to the same network are all calculated to have the same preference, a tie-breaking scheme is used to select from among them. Additional logic is used to handle special circumstances, such as the case of overlapping networks (see the description of the Atomic_Aggregate path attribute for an example of this).
The selection of routes for dissemination to other routers in Phase 3 is based on a rather complex algorithm that I cannot do justice here. Route advertisement is guided by the routing policies we discussed earlier in this section. Different rules are used to select routes for advertising to internal peers compared to external peers.
Home - Table Of Contents - Contact Us
The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005
© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.