Top Banner
APRICOT 2008, Taipei An Active Approach to Measuring Routing Dynamics Induced by Autonomous Systems Rocky K. C. Chang, The HK Polytechnic U. Samantha Lo, Georgia Tech Lorenzo Colitti, Google Inc. (with RIPE before)
34

An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Sep 16, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

APRICOT 2008, Taipei

An Active Approach toMeasuring Routing DynamicsInduced by AutonomousSystems

Rocky K. C. Chang, The HK Polytechnic U.Samantha Lo, Georgia TechLorenzo Colitti, Google Inc. (with RIPEbefore)

Page 2: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Outline

Problems Routing dynamics induced by multihomed AS BGP inbound traffic engineering

Motivations AS path prepending

Active Measurement Methodology RIPE NCC RIS

Results and Analysis Conclusions and Future Works

2

Page 3: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

A Doubly Homed AS3

ISP A ISP B

Border Router 1Border Router 2

ASAS

ASAS

AS

Stub AS

Network Traffic

Transit ASes

Multihomed

Autonomous System (AS) isa collection of IP networks(prefixes) and routers underthe control of one entity thatpresents a common routingpolicy to the Internet.

Internet

Page 4: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Before AS Path Prepending After AS Path Prepending with a length of 2

1

2

4

63

5

7

6 4 15

5 14

11

4 1

2 1

AS Pathlength = 3

AS Pathlength = 4

123

1 11

2 1 11

3 2 1 11

1

2

4

63

5

7

6 4 15

5 14

1

4 1

AS Pathlength =5

AS Pathlength = 4

1. Route Announcement:Prefix : 158.32.0.0/16Path Attributes: AS Path: 1 ……

2. Received Route Announcement: Announce to other ASesPrefix : 158.32.0.0/16 Attributes:

AS Path: 4 13. The border routers receive the routeannouncements and choose the best route.Route-selection algorithm: Shortest AS PATHPut the route in the forwarding table.Further propagate?

Destination

Source

BGP’s AS PATH attribute4

4

Page 5: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

BGP routing decisions

1. Higher local preference2. Shorter AS path3. Lower origin type4. Lower MED value5. E-BGP over I-BGP routes6. Lower IGP metric to next-hop7. Lower BGP router ID

5

Page 6: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Outline

Problems Routing dynamics induced by multihomed AS BGP inbound traffic engineering

MotivationsAS path prepending

Active Measurement Methodology RIPE NCC RIS

Results and Analysis Conclusions and Future Works

6

Page 7: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Motivations7

Routing dynamics affect end-to-end pathperformance. “A measurement study on the impact of routing events on end-to-end

Internet path performance”, SIGCOMM 2006.

Routing dynamics are complex to understand andpredict. Routing policies Topology

Routing dynamics worsen the route convergenceproblems “Route flap damping exacerbates Internet routing convergence”,

SIGCOMM 2006.

Page 8: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

How to studythe routing dynamics

induced byAS path prepending?

8

Page 9: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Contributions

Developed an active measurementmethodology to understand the prependingmethod.

Deployed the methodology to RIPE. Insights and findings, e.g.,

A different classification of ASesA small # ASes responsible for a large # of

route changes induced by prependingThe convergence time prolonged

9

Page 10: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Previous Works

Prevalence ofprepending Prepending is often used

for backup links (Feamsteret al. 2001)

Large amount ofprepended routes (Wanget al. 2003)

Methodology Beacon prefix (Mao et

al. 2003) Active approach

– AutoPrepend (Changand Lo 2005)

– Black box approach(Quoitin et al. 2005)

Optimization Gao et al. 2005 Battista et al. 2005

10

Page 11: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Outline

Problems Routing dynamics induced by multihomed AS BGP inbound traffic engineering

Motivations AS path prepending

Active Measurement Methodology RIPE NCC RIS

Results and Analysis Conclusions and Future Works

11

Page 12: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Active Measurement

Inject a BGP route with a prepending length tothe Internet.

Observe route changes induced by the route. Why not passive measurement?

Uncontrolled experiments Outcomes causes ?

12

Page 13: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Passive measurement results13

Page 14: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Active Measurement14 Home AS

ISPB ISPA

1. Announce the beacon and controlprefixes with 0 prepending length tothe upstream ASes.

2. Query vantage points (VPs)and capture the BGP routesof the beacon and controlprefixes.

3. Repeat steps 1-2 with different prependinglengths of beacon prefix on ISPA link.

Vantagepoints

Beacon,control

Control prefix: to observe thenormal routing dynamic withoutprepending.

Page 15: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Our Setup15

Internet

AS12654 (RIS)

RRC07(Sweden)

RRC14(California)

RRC10(Italy)

RIS Databases(RIS)

Looking Glasses(LGs)

RouteViews RouteServer(ORV)

Beacon PrefixControl Prefix

Beacon PrefixControl Prefix

Beacon PrefixControl Prefix

Page 16: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Measurement Time Table16

RRC Upstream providers Beacon prefix(Control prefix)

Measurementdate

Maxprependinglength

RRC07 AS13237 (LAMBDANET) +AS16150 (PORT80)

84.205.73.0/24(84.205.88.0/24)

8-9 May, 2006(update every2 hours)

6

RRC14 AS6939 (HURRICANE) +AS6762 (SEABONE-NET)

84.205.89.0/24(84.205.95.0/24)

6

RRC10 AS12779 (ITGATE) +AS1299 (TELIANET)

84.205.88.0/24(84.205.73.0/24)

13-15 May,2006(update every3 hours)

10

“+” indicates the prepended link (PL)

Page 17: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Outline

Problems Routing dynamics induced by multihomed AS BGP inbound traffic engineering

Motivations AS path prepending

Active Measurement Methodology RIPE NCC RIS

Results and Analysis Conclusions and Future Works

17

Page 18: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Overall results

18

Page 19: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Route changes for RRC719

Page 20: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

More time needed to converge?

RRC07 Prepend on

more VP side. Not a big effect Beacon prefix

was not availablein some VPsafter we waitedfor 2 hours.

Update every 2 hr

20

Page 21: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Route changes for RRC1421

Page 22: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Shift all traffic to one side

RRC14 Prepend on less

VP side. All the routes

changed atlength 2(Including theupstreamAS6939).

Update every 2 hr

22

Page 23: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Route changes for RRC1023

Page 24: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Gradual change up to length 10

RRC10 Prepend on more

VP side Greatest change on

length 1 Gradual change up

to length 10 Based on the high-

impact directresponsive AS

Update every 3 hr

24

Page 25: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Q1. Who were responsible forthe route changes?

25

Page 26: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Three kinds of ASes26

Indirect-responsive(IR-ASes)

Direct-responsive (DR-AS)

Notresponsive

Incoming linkchange

Next-hopAS change

DestinationAS

SourceAS5

SourceAS6

UpstreamAS2

UpstreamAS4

UpstreamAS1

UpstreamAS3

prepending +

Page 27: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

A small # of DR-ASes is responsible

RRC07 RRC14 RRC10

# of ASes usedthe prependedside before

203 55 180

# of responsiveASes

12 (6%) 55 (100%) 68 (38%)

DR-ASes 7 (58.3%) 7 (12.7%) 22(32.4%)

27

Page 28: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Q2. Is there any dominant ASthat causes route change?

28

Page 29: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

High-impact AS – AS12976 in RRC1029

12654

12779 1299

12976

8195

+

Why there are still routechanges up toprepending length 10?

46 ASes (out of 180)followed AS12976

Why there is a non-linearchange on prepending length 1?

28 ASes (out of 180)changed to follow AS12976

prepending

Page 30: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Q.3 Does prepending revealhidden nodes and links?

30

Page 31: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Reveal hidden policies in RRC10

Before prepending on AS12799 16150843221182048312976127312391277912654

After prepending once on AS12799 16150843221182048312976819512991299129912654

A new prepending undid an old prepending!

31

Page 32: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Undo AS1299’s preference32

Page 33: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Conclusions and Future Works

Proposed an active measurement methodology tostudy routing dynamics.

Performed measurement experiments at RIPE. DatCat (http://imdc.datcat.org/)

Reported a number of unreported findings. Current works:

Measuring the interactions between data plane andcontrol plane

Measuring for more than two ISP connections Applying the methodology to traffic engineering

33

Page 34: An Active Approach to Measuring Routing Dynamics Induced by … · BGP inbound traffic engineering Motivations AS path prepending Active Measurement Methodology RIPE NCC RIS Results

Thanks!34