oct. 22, 2012 transit tier1phillipa/papers/pgill_nanog56_web.pdfoct. 22, 2012 sharon goldberg boston...

33
A survey of interdomain routing policies Phillipa Gill Citizen Lab/ Stony Brook University NANOG56 Oct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ?

Upload: vokhue

Post on 15-Apr-2018

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A survey of interdomain routing policies

Phillipa Gill Citizen Lab/

Stony Brook University

NANOG56 Oct. 22, 2012

Sharon Goldberg Boston University

Michael Schapira Hebrew University

Tier1

Small transit

Content

?

?

Page 2: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Why research the Internet? Study existing protocols: • Why is IPv6 so difficult to deploy?

– Performance of conversion? Lack of global connectivity?

• What security benefits will we get from BGPSec? – How many attacks will it prevent?

Design new protocols: • New interdomain routing protocols

– Need to understand performance/effectiveness

Help understand implications of policy: • Using BGP to cut off Internet access (e.g., Egypt) 2

Page 3: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Why model the Internet? We can’t always run experiments on the Internet!

For example: • Studies of hijacking and failures

– Cannot disrupt the Internet for the sake of research!

• Studies of unproven protocols – Cannot deploy a half-baked proposal and “hope it works”

– Even deploying so-called fully-baked proposals is a daunting task! Need to simulate behavior of the Internet to study protocols • Models fill in gaps in empirical data to allow simulation

– AS Topology – Routing policies – Traffic matrices

3

Page 4: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Why model the Internet? We can’t always run experiments on the Internet!

For example: • Studies of hijacking and failures

– Cannot disrupt the Internet for the sake of research!

• Studies of unproven protocols – Cannot deploy a half-baked proposal and “hope it works”

– Even deploying so-called fully-baked proposals is a daunting task! Need to simulate behavior of the Internet to study protocols • Models fill in gaps in empirical data to allow simulation

– AS Topology – Routing policies – Traffic matrices

4

Today’s talk

??

Page 5: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Why model the Internet? We can’t always run experiments on the Internet!

For example: • Studies of hijacking and failures

– Cannot disrupt the Internet for the sake of research!

• Studies of unproven protocols – Cannot deploy a half-baked proposal and “hope it works”

– Even deploying so-called fully-baked proposals is a daunting task! Need to simulate behavior of the Internet to study protocols • Models fill in gaps in empirical data to allow simulation

– AS Topology – Routing policies – Traffic matrices

5

Page 6: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Standard model of Internet routing

• Proposed by Gao & Rexford 12 years ago • Based on practices employed by a large ISP • Provide an intuitive model of path selection and export policy

6

Path Selection: 1. LocalPref: Prefer customer paths over peer paths over provider paths

2. Prefer shorter paths

3. Arbitrary tiebreak ISP

Customer

Peer

Provider

$ $

$

Page 7: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Standard model of Internet routing

• Proposed by Gao & Rexford 12 years ago • Based on practices employed by a large ISP • Provide an intuitive model of path selection and export policy

7

Path Selection: 1. LocalPref: Prefer customer paths over peer paths over provider paths

2. Prefer shorter paths

3. Arbitrary tiebreak

Export Policy:

1. Export customer path to all neighbors.

2. Export peer/provider path to all customers. Customer

$

$

Provider

ISP

Provider $

Announcements

Page 8: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Standard model of Internet routing

• Proposed by Gao & Rexford 12 years ago • Based on practices employed by a large ISP • Provide an intuitive model of path selection and export policy

8

Path Selection: 1. LocalPref: Prefer customer paths over peer paths over provider paths

2. Prefer shorter paths

3. Arbitrary tiebreak

Export Policy:

1. Export customer path to all neighbors.

2. Export peer/provider path to all customers. Customer

$

$

Provider

ISP

Provider $

Announcements

Page 9: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Developing a new model of Internet routing

The existing model relies on routing policy assumptions… … but how valid are these assumptions in practice?

Example: Prefer customer routes …but what about when peer route is direct?

9

AS 1

CDN

AS 2

AS 3

AS 4 AS 5

Prefer customer? Settlement-free peering

$ $

$ $

$

Longer customer path

Page 10: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Developing a new model of Internet routing

The existing model relies on routing policy assumptions… … but how valid are these assumptions in practice?

Example: Prefer customer routes …but what about when peer route is direct?

10

AS 1

CDN

AS 2

AS 3

AS 4 AS 5

Prefer customer? Settlement-free peering

$ $

$ $

$

Longer customer path

Key questions: How often does the model hold?

What exceptions arise and how frequent are they?

Page 11: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

How to understand Internet routing?

Challenges • Policies can vary from network to network!

– Tier 1 vs. Large Content Providers

• Understanding exception vs. rule

Survey network operators about their routing policies • Today: Preliminary survey results • … still a long way to go!

How you can help?

• Fill out our survey! [http://bit.ly/routingsurvey] • Come talk to me in the break!

11

Page 12: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

The survey

12

Page 13: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

The survey • Initial survey circulated on NANOG mailing list + others • Breakdown of responses: 100 responses in total

13

0

5

10

15

20

25

30

35

Num

ber

of r

espo

nses

Network type

74/100 networks are small to large ISPs

Page 14: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Preliminary results Configuring LocalPref: A1: Assign higher LocalPref to a path through customer

A2: LocalPref only depends on next-hop AS Export Policies: A3: Do not export paths from non-customers to non-customers

A4: Export the same path to neighbors of the same type

Other topics: (not today…) MRAI, prefer oldest path, pricing models, BGP security

14

Page 15: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Configuring LocalPref

A1: Assign higher LocalPref to a path through customer (than to peer or provider)

15

Customer

Peer

$

$

Provider

AS X

$

Page 16: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A1: Assign higher LocalPref to a path through customer (than to peer or provider)

16

Do you always assign a higher LocalPref to a

path through your customer than to a path through your peer or transit provider?

Page 17: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A1: Assign higher LocalPref to a path through customer (than to peer or provider)

17

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

All Responses

Perc

ent

of n

etw

orks

YesNoNo Response

YES: “That’s where the money flows…”

NO: “We don’t use LocalPref.”

Almost 80% of networks assign higher LocalPref to customer paths

Page 18: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Preliminary results Configuring LocalPref: A1: Assign higher LocalPref to a path through customer

A2: LocalPref only depends on next-hop AS Export Policies: A3: Do not export paths from non-customers to non-customers

A4: Export the same path to neighbors of the same type

Other topics: (not today…) MRAI, prefer oldest path, pricing models, BGP security

18

Page 19: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A2: LocalPref only depends on next-hop AS

19

Does your LocalPref configuration depend

only on the next-hop AS (and not on other ASes on the path)?

Page 20: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A2: LocalPref only depends on next-hop AS

20

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

All Responses

Perc

ent

of n

etw

orks

YesNoNo Response

Why are folks doing this?

More than 30% of networks have LocalPref that depends on more than the next-hop AS!

Page 21: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A2: LocalPref only depends on next-hop AS

21

0%10%20%30%40%50%60%70%80%90%

100%

Perc

ent

of n

etw

orks

YesNo More exceptions

for large content providers

Unanimous for Tier 1s

Page 22: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Preliminary results Configuring LocalPref: A1: Assign higher LocalPref to a path through customer

A2: LocalPref only depends on next-hop AS Export Policies: A3: Do not export paths from non-customers to non-customers

A4: Export the same path to neighbors of the same type

Other topics: (not today…) MRAI, prefer oldest path, pricing models, BGP security

22

…exceptions for large content providers

Page 23: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Export Policies A3: Do not export paths from non-customers to non-customers

23

AS X will announce the non-customer routes only to his customers!

Peer AS X $

Customers Customers Customers

Customers Customers Peers

Customers Customers Providers

Provider

Announcements

Page 24: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A3: Do not export paths from non-customers to non-customers

24

Do you announce paths from peers and providers to other peers and providers?

Page 25: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A3: Do not export paths from non-customers to non-customers

25

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

All Responses

Perc

ent

of n

etw

orks

Yes

No

No Response

YES: “Mostly to be a good neighbor.” “… secret agreements …”

NO: “We are not interested in being an unpaid transit provider…”

Q: Do you announce paths through peers/providers to other peers/providers?

More than 70% of networks do NOT export paths from non-customers to non-customers

Page 26: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Preliminary results Configuring LocalPref: A1: Assign higher LocalPref to a path through customer

A2: LocalPref only depends on next-hop AS Export Policies: A3: Do not export paths from non-customers to non-customers

A4: Export the same path to neighbors of the same type

Other topics: (not today…) MRAI, prefer oldest path, pricing models, BGP security

26

…exceptions for large content providers

Page 27: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Export Policies (2) A4: Export the same path to neighbors of the same type

27

AS X

Customer

Peer

Provider

Customer

Customer

AS A, AS B x.y.z.0/24

AS C, AS B x.y.z.0/24

AS X, AS A, AS B x.y.z.0/24

AS X, AS A, AS B x.y.z.0/24

The model assumes that AS X will announce the same path to the destination to all customers!

AS X, AS C, AS B x.y.z.0/24

Page 28: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A4: Export the same path to neighbors of the same type

28

Do you do neighbor-specific path selection,

e.g., select a different path for different customers for policy reasons

(and not due to hot-potato routing etc.)

Page 29: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

A4: Export the same path to neighbors of the same type

29

Q: Do you do neighbor-specific path selection, e.g., select a different path for different customers for policy reasons

(and not due to hot-potato routing etc.)

0%10%20%30%40%50%60%70%80%90%

100%

All Responses

Perc

ent

of n

etw

orks

YesNoNo Response

No: “Policy gets too complicated…”

Why are folks doing this?

Almost 40% of networks export different paths to different customers for policy reasons!

Page 30: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

0%

20%

40%

60%

80%

100%

Perc

ent

of n

etw

orks

Network type

YesNo

A4: Export the same path to neighbors of the same type

Q: Do you do neighbor-specific path selection, e.g., select a different path for different customers for policy reasons

(and not due to hot-potato routing etc.)

Most exceptions for Tier 1s and Large Content Providers…

Page 31: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Preliminary results Configuring LocalPref: A1: Assign higher LocalPref to a path through customer

A2: LocalPref only depends on next-hop AS Export Policies: A3: Do not export paths from non-customers to non-customers

A4: Export the same path to neighbors of the same type

Other topics: (not today…) MRAI, prefer oldest path, pricing models, BGP security

31

…exceptions for large content providers

…exceptions for tier 1s and large content providers

In all cases exceptions exist!

Page 32: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Going forward… Need to better understand corner cases:

How often do these things happen? Why do they happen?

When do they happen? Who is doing them?

Come tell us about your experiences! What questions would you like answered about routing policies?

32

Contact us: [email protected], [email protected], [email protected]

http://bit.ly/routingsurvey

Page 33: Oct. 22, 2012 transit Tier1phillipa/papers/PGill_NANOG56_Web.pdfOct. 22, 2012 Sharon Goldberg Boston University Michael Schapira Hebrew University Tier1 Small transit Content ? ? Why

Fin.

33