300 likes | 449 Views
Analysis of BGP Behavior through Beacon Prefixes. By, Matt Guidry Yashas Shankar.
E N D
Analysis of BGP Behavior through Beacon Prefixes By, Matt Guidry Yashas Shankar
Goals • Analyze BGP beacons which are announced and withdrawn, usually within two hour intervals. • The withdraws have an effect on neighboring prefixes and down the line to their neighbors as well. We are conducting analysis on the number of updates that are propagated as a result of these events. • We also analyze the relative convergence period associated with each beacon event and how it is correlated to the number of update messages collected by RouteViews.
Internet and Autonomous Systems AS X AS Y • Autonomous System: a set of routers or networks under the same administration • Border routers exchange routing updates via Border Gateway Protocol AS Z
BGP and Network Dynamics • Assuming all destinations use node B to reach A, and Link A-B fails: • Node B sends a withdraw to node D • Node D sends announcement to C and B and next hop, saying it can reach A through C • Nodes B and C start using backup link C-A to reach A Here aSingle link failure event produced 1 withdraw and 6 announcements.
What is a BGP Beacon? • An unused, globally visible prefix with known Announce/Withdrawal schedule • For long-term, public use for analyzing the behavior of the BGP
Who will benefit from BGP Beacon? • Researchers: study BGP dynamics • To calibrate and interpret BGP updates • To study convergence behavior • To analyze routing and data plane interaction • Network operators • Serve to debug reachability problems • Test effects of configuration changes: • E.g., flap damping setting • Less network traffic helps the general Internet flow faster
Many Observation points: 1:Oregon RouteViews Stub AS Internet Upstream provider Upstream provider ISP ISP ISP ISP ISP ISP ISP ISP ISP ISP 2. RIPE 3.AT&T Send route update 4. Verio 5. MIT 6.Berkeley BGP Beacon #1 198.133.206.0/24 Active measurement infrastructure
Why use Beacons • BGP path exploration and a slow convergence in the operational Internet routing system can potentially lead to sever performance problems in data delivery. • This path exploration suggests that some BGP routers, in response to a path failure, may try a number of transient paths before settling and declaring a new best path or declaring a destination unreachable. • This may cause the entire network to take a long time to settle and converge to the final decision, which causes slow routing convergence.
Why use Beacons • An example of a failed path and resulting path exploration is depicted in figure To cause these events to occur in predictable and measurable time intervals BGP beacons are used.
Monitoring Points • This study is conducted by analyzing the BGP log data collected at RouteViews. • The link to this data is at http://www.routeviews.org/.
Dataset • Routing data collected at the bgp routing tables. The following fields in the routing data were useful to do our analysis. • BGP protocol • Unix time in seconds • Withdraw or Announce • Prefix • AS_PATH • MED • AtomicAGG • AGGREGATOR
Characterizing the Data • 5 days of data (from 02/07/2004 to 02/11/2004) with intervals of 2 hrs was analyzed. • Data was then characterized into these categories: • Updates in the routing table caused from genuine sources (i.e not from the beacons) • Updates in the routing table caused due to the beacons. • Updates in the routing table caused due to not employing the route flap damping mechanism.
Data Collected in different tables for intervals of 2 hours for each of the 5 days. Ex for 02/05/2007 data collected between 1-3 AM, 5-6 AM ….
Amount of Data Processed • Total number of Announcements: 262,265,753 • Total number Within Withdrawal Periods: 111,357,720 • Total Associated with Beacon AS: 10,587,528 • Total Number of Distinct Updates: 9,272,232 • Number of Repeated Updates: 1,315,296 • Number of Updates Sent through 6,336 Anchor Prefix:
Route Flap Damping • Used in the BGP to limit the number of announcements sent out by routers. • Keeps a Penalty value associated with every path and whenever that value is above a certain limit, the router will not use that path or propagate updates from that path. • This prevents duplicate messages from being sent out over a short period of time
Regression Associated with RFD • The Predictor variables were : • The total number of distinct beacon withdrawals • The total number of withdrawals with the anchor prefixes. • The response variable is the total number of beacon withdrawals with the duplicates. • The number of updates sent due to RFD not being set are then predicted from subtracting the response variable with the number of distinct records.
Regression Associated with RFD • During the regression we got: • For n = 24 • Coefficient of determination as .9864 • Thus the regression explains 98.64% of the variation of the total withdrawals. • Standard deviation of errors as 87.11 • The regression passed the F-test
Graph of Error Residuals vs Estimated Withdrawal count We can notice that here there is no visible trend or clustering of points thus the errors appear to be independent.
Graph of Experiment Number vs Error Residuals From this graph between the error residuals and the experiment number as there are no visible trends, the experiment does not indicate side effects.
Quantile-Quantile graph of Total Messages Sent From the quantile-quantile graph we can see that there is visible linearity and the errors do seem to be normally distributed.
Relative Convergence Period • For any beacon withdrawal there will be some neighbor that sends the associated update first and some neighbor that send the update last, the period between these called the relative convergence period. • For instance: if the first message is received at 1076450513 ( 2004- 02- 10 17:01:53) and the last message is received at 1076450539 ( 2004- 02- 10 17:02:19) • the relative convergence period for this event is 26 seconds
Regression associated with the Relative Convergence Period • The Predictor variable was : • The total number of beacon withdrawals • The response variable is the Relative Convergence Period. • Through regression we predict the mean of the future Relative Convergence Period.
Regression associated with the Relative Convergence Period • During the regression we got: • For n = 24 • Mean of Relative Convergence Period is 25.91 • Coefficient of determination as .9051 • Thus the regression explains 90.51% of the Relative Convergence Period’s variation. • Standard deviation of errors as 1.32 • The regression passed the F-test
Prediction of the Relative Convergence Period • The predictions at 90% confidence interval were calculated to be : • 27.72529671 • 26.773703 Predicted mean for 5th day = 27.2495
Graph of error residuals vs estimated Relative Convergence Period We can notice that here there is no visible trend or clustering of points thus the errors appear to be independent.
Graph of Experiment number vs error residuals From this graph between the error residuals and the experiment number as there are no visible trends, the experiment does not indicate side effects.
Quantile-Quantile graph for the Relative Convergence Period Quantile-Quantile graph for the Relative Convergence Period From the quantile-quantile graph we can see that there is visible linearity and the errors do seem to be normally distributed.
Conclusion • We described the Announce and Withdrawal functions of BGP beacons and how we used them to analyze behaviors of the BGP. • We described how we gathered and processed data from RouteViews • From our analysis we have found the if Route Flap Damping is enabled, less updates are propagated through the BGP. • From our analysis of Relative Convergence Time we predicted the amount of time it would take for an update to propagate through the BGP.