optimizing as paths

16
Nick Kephart, Sr. Director of Product Marketing

Upload: thousandeyes

Post on 12-Apr-2017

130 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Optimizing AS Paths

Nick Kephart, Sr. Director of Product Marketing

Page 2: Optimizing AS Paths

1

• May 5th 2016• Intro to Autonomous Systems, the BGP protocol and

how routes are advertised and learned

BGP Webinar Series

• June 16th 2016• How to visualize, diagnose and set alerts to detect

BGP hijacks and leaks

How BGP Works

Detecting Hijacks & Leaks

• May 24th 2016• Explore data from routing change events and learn

how to detect BGP changes with alerts

Monitoring Route Changes

Optimizing AS Paths

• July 28th 2016• Tips and tricks for using routing data to improve how

traffic flows into or out of your network

Page 3: Optimizing AS Paths

2

About ThousandEyesThousandEyes delivers visibility into every network your organization relies on.

Founded by network experts; strong

investor backing

Relied on for critical operations by leading enterprises

Recognized as an innovative

new approach

30 Fortune 5005 top 5 SaaS Companies

4 top 6 US Banks

Page 4: Optimizing AS Paths

3

• Generally prefers the shortest AS Path

• Generally trusted advertisements

• Has quick convergence across the Internet

• Follows the route of the most specific prefix

BGP Strengths and Limitations

• It’s often not the most performant

• Hijacks and leaks, even from trusted sources

• Flapping and route instability

• Many covered prefixes not finely tuned

BGP… Yet…

Page 5: Optimizing AS Paths

4

When BGP Delivers Suboptimal Results

• Developing country connections

• Peering at remote IXs

• Underlying capacity issues

Examples

Two sources in Taiwan, one target in Taiwan,

one path via the U.S. (+150ms)

Page 6: Optimizing AS Paths

5

Common, Perhaps Suboptimal, Peering Points

MiamiLos Angeles

San Jose

FrankfurtLondonAmsterdam

Page 7: Optimizing AS Paths

6

1. Monitor the layer 3 path2. Monitor both forward and reverse paths3. Evaluate your peering policies4. Layer covering and covered prefixes5. Prepending, MED and advertisements6. Consider Anycast where appropriate

Optimizing AS Paths

Page 8: Optimizing AS Paths

7

• Map actual traffic paths to BGP routes

• Understand loss and latency of the path

• Does the path double-back across the Pacific? Peer in Frankfurt?

Monitor the Layer 3 Path

Optimizing BGP #1:

Intra-Asia traffic peering in LAX

Page 9: Optimizing AS Paths

8

• See how asymmetric routing impacts performance

• Decompose loss and latency in each direction

• Agent-to-Agent tests for reverse path; Private BGP Monitors for reverse routes

Monitor Both Forward & Reverse Path

Optimizing BGP #2:EWRàLON via ZayoEWRßLON via Telia

DFWàLON via TeliaDFWßLON via Softlayer

Page 10: Optimizing AS Paths

9

• Reduce suboptimal routing by increasing peering

• Consider primary ISPs with most/nearest peering connections

• Consider peering with a regional IXP

How Well Do You Peer?

Optimizing BGP #3: Google’s peering

Page 11: Optimizing AS Paths

10

• Use prefixes to your advantage

• Place backup policies/routes in a covering prefix

• Especially for DDoS mitigation, failover routes

Covered & Covering Prefixes

Optimizing BGP #4:

Page 12: Optimizing AS Paths

11

• Prepending can make a route less desirable, but can have unintended consequences

• MED can signal which routes your prefer to be be propagated

• Communities can be used to coordinate route propagation with your ISP

Prepending, MED and Communities

Optimizing BGP #5:

Page 13: Optimizing AS Paths

12

• For some services (even TCP!) Anycast can make sense

• Broadcast routes for the same prefix from multiple origins

• Make sure to validate optimal routes

Consider Anycast

Optimizing BGP #6: J Root:6 origin Autonomous Systems

Page 14: Optimizing AS Paths

13

Demo

Page 15: Optimizing AS Paths

14

Two Tales of Taiwan Peering

Target in Taiwan

Verizon peering in Palo Alto

Telia peering in San Jose

Telstra backbone to San Jose

Page 16: Optimizing AS Paths

15

See what you’re missing.

Watch the webinar

www.thousandeyes.com/webinars/optimizing-as-paths