77
A Measurement-based Deployment Proposal for IP Anycast Hitesh Ballani (Cornell University) Paul Francis (Cornell University) Sylvia Ratnasamy (Intel-Research) IMC 2006

A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

A Measurement-based Deployment

Proposal for IP Anycast

Hitesh Ballani (Cornell University)Paul Francis (Cornell University)

Sylvia Ratnasamy (Intel-Research)

IMC 2006

Page 2: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

What is IP Anycast?

IP Address IP Address 2.1.1.12.1.1.1

AnycastServer

NetworkDomains

Same IP Address assigned to the servers

making the anycast group

One-to-Any communicationwith no changes to Internet routing and clients

Page 3: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

What is IP Anycast?

IP Address IP Address 2.1.1.12.1.1.1

AnycastServer

NetworkDomains

to2.1.1.1

CC Client

One-to-Any communicationwith no changes to Internet routing and clients

Page 4: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

What is IP Anycast?

IP Address IP Address 2.1.1.12.1.1.1

AnycastServer

NetworkDomains

to2.1.1.1

CC Client

C

to2.1.1.1

One-to-Any communicationwith no changes to Internet routing and clients

Page 5: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

What is IP Anycast?

IP Address IP Address 2.1.1.12.1.1.1

AnycastServer

NetworkDomains

to2.1.1.1

CC Client

C

to2.1.1.1

IP Anycast as a Service Discovery Primitive

I Distributes client load across servers

I Reduces access latency for clientsI Offers network-level resilience to DDoS attacks

Page 6: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

IP Anycast Usage

I Anycasting of six of the thirteen root-servers(C-Root, F-Root, I-Root, J-Root, K-Root, M-Root)

I IPv4-to-IPv6 transition [RFC 3068]

I Rendezvous discovery for IP multicast [RFC 3446]

I Other usage scenarios[]

I AS112 Project [http://as112.net]

I Commercial CDNs [http://cachefly.net]

I DDos sinkholes [Greene et. al., NANOG’03]

Page 7: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

IP Anycast Usage

I Anycasting of six of the thirteen root-servers(C-Root, F-Root, I-Root, J-Root, K-Root, M-Root)

I IPv4-to-IPv6 transition [RFC 3068]

I Rendezvous discovery for IP multicast [RFC 3446]

I Other usage scenarios[]

I AS112 Project [http://as112.net]

I Commercial CDNs [http://cachefly.net]

I DDos sinkholes [Greene et. al., NANOG’03]

Page 8: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

IP Anycast Usage

I Anycasting of six of the thirteen root-servers(C-Root, F-Root, I-Root, J-Root, K-Root, M-Root)

I IPv4-to-IPv6 transition [RFC 3068]

I Rendezvous discovery for IP multicast [RFC 3446]

I Other usage scenarios[]

I AS112 Project [http://as112.net]

I Commercial CDNs [http://cachefly.net]

I DDos sinkholes [Greene et. al., NANOG’03]

Page 9: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

IP Anycast Usage

I Anycasting of six of the thirteen root-servers(C-Root, F-Root, I-Root, J-Root, K-Root, M-Root)

I IPv4-to-IPv6 transition [RFC 3068]

I Rendezvous discovery for IP multicast [RFC 3446]

I Other usage scenarios[]

I AS112 Project [http://as112.net]

I Commercial CDNs [http://cachefly.net]

I DDos sinkholes [Greene et. al., NANOG’03]

In spite of growing usage, IP Anycast and itsinteraction with IP Routing is not well understood!

Page 10: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

IP Anycast is not well understood

Are clients routed to close-by anycast servers?

What is the impact of the failure of an anycastserver?

Is the client load across the anycast server sitesbalanced?

Are subsequent packets from a client routed to thesame anycast site?

Page 11: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

IP Anycast is not well understood

Are clients routed to close-by anycast servers?

What is the impact of the failure of an anycastserver?

Is the client load across the anycast server sitesbalanced?

Are subsequent packets from a client routed to thesame anycast site?

I Affinity offered by IP Anycast

I Load-distribution across deployments

I Failover properties of IP Anycast

I Proximity offered by IP Anycast

Page 12: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

A sneak peek at the study’s results

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment

PlannedDeployment

Page 13: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

A sneak peek at the study’s results

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment

PlannedDeployment

Page 14: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

A sneak peek at the study’s results

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment

PlannedDeployment

Take Home Message

Page 15: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Talk Outline

I Introduction[]y

I Terminology[]y

I Deployments Measured[]y

I Methodology[]yI Measurements[]y

I ProximityI FailoverI Load-distributionI Affinity

I Conclusions

Page 16: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Terminology

IP Address IP Address 2.1.1.12.1.1.1

AnycastServer

NetworkDomains

Anycast Serversbelong to different domains

Study focusses on Inter-domain IP Anycast

Page 17: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Terminology

IP Address IP Address 2.1.1.12.1.1.1

AnycastServer

NetworkDomains

2.1.1.0/24 2.1.1.0/24

BGPAdvert.

Anycast Prefix = 2.1.1.0/24

Anycast Servers advertise the Anycast Prefix intoBGP through their Upstream Provider

Page 18: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Deployments Measured

External Deployments

F-Root : 27 serversJ-Root : 13 serversAS112 : 20 servers

Page 19: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Deployments Measured

External Deployments

F-Root : 27 serversJ-Root : 13 serversAS112 : 20 servers

Internal Deployment

Internal : 5 servers

IR Cambridge

UK

Internet

BGP Advert.for Anycast Prefix 204.9.168.0/22

Internal Deployment

ATT ggWCG

IRSeattle

US

Cornell Ithaca

US

IRBerkeley

US

IR Pittsburgh

US

ATT-World

Page 20: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

F-Root (Palo Alto)

F-Root (Chicago)

F-Root (New York)

F-Root (Madrid)

F-Root (Osaka)

C C

F-Root Deployment: Anycast Servers are DNS Servers

Page 21: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

C C

Internal Deployment: Anycast Servers can run DNS Servers

Page 22: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

C C

DNS Query

Anycast Servers can be probedusing DNS queries

Page 23: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

C C

DNS Query DNS Response

Anycast Servers can be probedusing DNS queries

Page 24: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

DNS Query DNS Response

Recursive DNS Servers can be used as Vantage Points [KING, IMW’02]

C

Recursive DNSServer used asCa Vantage Point

Page 25: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

DNS Query DNS Response

C

Recursive DNSServer used asCa Vantage Point

StationMeasurement

such that it queries the Anycast Server Query the Recursive DNS Server

Page 26: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

DNS Query DNS Response

C

Recursive DNSServer used asCa Vantage Point

StationMeasurement

Response from the Anycast Server isforwarded onto the Measurement Host

Page 27: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

DNS Query DNS Response

C

Recursive DNSServer used asCa Vantage Point

StationMeasurement

Measurements: 1). Anycast Server being accessed by C 2). Latency from C to the Anycast Server

Page 28: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Probing Methodology

23,858 Recursive DNS Servers used as Vantage Points

Region No. of clients % of Total

North America 12931 54.827Central America 317 1.344South America 461 1.954

Europe 5585 23.680Asia 2402 10.184

S.E. Asia 566 2.400Oceania 1196 5.071Africa 187 0.792

Arctic Region 9 0.038Unknown 204 0.864

Total 23858 100.000

Page 29: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Talk Outline

I Introduction[]y

I Terminology[]y

I Deployments Measured[]y

I Methodology[]yI Measurements[]y

I ProximityI FailoverI Load-distributionI Affinity

I Conclusions

Page 30: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Anycast Server is chosen by Inter-Domain Routing

Page 31: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Ideally, Clients would be routedclose-by Anycast Server to a

Page 32: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Poor choice of Anycast Server is possible!

Page 33: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe Latency =

Probe the Deployment’s Anycast Address from the client

Anycast Latency

Page 34: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe to Unicast Address

Latency to closest Anycast Server =Client probes individual Anycast Servers

Min. Unicast Latency

Page 35: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe to Unicast Address

STRETCH = (Anycast Latency - Minimum Unicast Latency)

Page 36: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

F-RootJ-RootAS112

Internal

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

F-RootJ-RootAS112

Internal

Page 37: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Proximity

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

F-RootJ-RootAS112

Internal

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

F-RootJ-RootAS112

Internal

Internal 31%

30 msec

AS112 61%

All four deployments offer poor Proximity

Page 38: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Investigating Poor Proximity

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe to Unicast Address

Level3

Client at UC Berkeley

Client probes Anycast address of Internal Deployment

Page 39: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Investigating Poor Proximity

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe to Unicast Address

Level3

Client at UC Berkeley

Best path toany Server

Client probes Anycast address of Internal Deployment Routed to Ithaca (NY) instead of Berkeley (CA)

Page 40: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Investigating Poor Proximity

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe to Unicast Address

Level3

Best path toany Server

http://pias.gforge.cis.cornell.edu/trace.htmlSee this example at

Page 41: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Investigating Poor Proximity

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C

Probe toAnycast Address

Probe to Unicast Address

Level3

Best path toany Server

Level3 does not realize that these lead to different locationsLevel3 has two paths of 2 AS-hops: through ATT and WCG

Page 42: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Alleviating Poor Proximity

ISP X

US

US Europe

Asia Oceania (W. Coast)

(E. Coast)

Internet

Anycast Servers should have the same Upstream ISP

Page 43: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Alleviating Poor Proximity

ISP X

US

US Europe

Asia Oceania (W. Coast)

(E. Coast)

Internet

Anycast Servers should have the same Upstream ISP

Multiple Providers: Geographically cover all providers

US

USEurope

Asia

Oceania(W. Coast)

(E. Coast)

ISP X

US

USEurope

Asia

Oceania(W. Coast)

(E. Coast)

ISP Y

Internet

Page 44: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Alleviating Poor Proximity

ISP X

US

USEurope

Asia

Oceania(W. Coast)

(E. Coast)

Internet

C

Page 45: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Alleviating Poor Proximity

ISP X

US

USEurope

Asia

Oceania(W. Coast)

(E. Coast)

Internet

C

Anycast probes from client(s) routed to ISP X

Page 46: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Alleviating Poor Proximity

ISP X

US

USEurope

Asia

Oceania(W. Coast)

(E. Coast)

Internet

C

Server chosen is based on X’s intra-domain routing

Page 47: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Verifying our hypothesis

Internet

ATT

WCGATT-World

StationMeasurement

C

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

A subset of the Internal Deployment

Page 48: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Verifying our hypothesis

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

InternalSubset

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

InternalSubset

31%

30 msec

5%

Page 49: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Verifying our hypothesis

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

InternalSubset

0

0.2

0.4

0.6

0.8

1

-50 0 50 100 150 200

CD

F

Stretch (msec)

InternalSubset

31%

30 msec

5%

Planned Anycast Deployment ⇒ good Proximity

Page 50: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C C

Probe to Anycast Address (pre-failure)

Page 51: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C C

Probe to Anycast Address (pre-failure)

Probe to AnycastAddress (post-failure)

Clients are re-routed to a different Anycast Server

Page 52: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

StationMeasurement

C C

Probe to Anycast Address (pre-failure)

Probe to AnycastAddress (post-failure)

Clients are re-routed to a different Anycast ServerWhat is the failover time?

Page 53: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

1

20 40 60 80 100 120

CD

F

Failover Time (sec)

IthacaPittsburgh

CambridgeSeattle

Berkeley

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

1

20 40 60 80 100 120

CD

F

Failover Time (sec)

IthacaPittsburgh

CambridgeSeattle

Berkeley

Page 54: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

1

20 40 60 80 100 120

CD

F

Failover Time (sec)

IthacaPittsburgh

CambridgeSeattle

Berkeley

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

1

20 40 60 80 100 120

CD

F

Failover Time (sec)

IthacaPittsburgh

CambridgeSeattle

Berkeley

Ithaca and Cambridge servers have slow failover

Page 55: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

1

20 40 60 80 100 120

CD

F

Failover Time (sec)

IthacaPittsburgh

CambridgeSeattle

Berkeley

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

1

20 40 60 80 100 120

CD

F

Failover Time (sec)

IthacaPittsburgh

CambridgeSeattle

Berkeley

Other servers have faster failover

Page 56: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

BGP Withdrawal

BGP Withdrawal propagated beyond WCGGlobal Routing Event Slow convergence

Page 57: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

BGP Withdrawal

BGP Withdrawal restricted to ATTLocal Routing Event Faster convergence

Page 58: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Failover

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

Planned Deployment Fast Failover

Page 59: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Load Distribution

Distribution of client-load across Anycast Servers

I Can operators control this load?I Used AS-Path Prepending for controlling load

AS-Path Prepending a BGP Advertisement

I Changing the advertisement’s AS-Path lengthI n-hop Prepending: Add n ASs to the AS-Pathg

Page 60: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Load Distribution

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.

Page 61: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Load Distribution

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.

Skewed distribution of clients

Page 62: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Load Distribution

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.0.34 0.23 0.18

Page 63: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Load Distribution

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.

0 0.1 0.2 0.3 0.4 0.5 0.6

43210

Load

Fra

ctio

n

Prepending at the Ithaca server (AS-hops)

IthacaPittsburgh

SeattleBerkeley

Cam.0.34 0.23 0.18

AS-Path Prepending provides coarse-grainedcontrol over client load

Page 64: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

C

IP Anycast is a network-layer service

Page 65: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

C

Client can to a different Anycast Serverflap

Page 66: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

Internet

ATT

WCGATT-World

Seattle, WA

Berkeley, CA Pittsburgh, PA

Ithaca, NY Cambridge, UK

C

Client can to a different Anycast ServerflapWhat is the offered by IP Anycast? Affinity

Page 67: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

Page 68: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

95% of clientsobserve less than 1 Flap per day

Page 69: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

Less than 1% of clients experience frequent flaps

Page 70: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Affinity

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

0

0.2

0.4

0.6

0.8

1

1001010

CD

F

Average Flaps per day

Internal

Less than 1% of clients experience frequent flaps

Frequent flaps can be attributed toload-balancing at the client site

Page 71: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Conclusions

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment Poor Slow

Page 72: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Conclusions

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment Poor Slow

PlannedDeployment Good Fast

Due to the planned deployment

Page 73: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Conclusions

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment Poor Slow

PlannedDeployment Good Fast

Skewed

Manipulatable

BGP Traffic Engineering techniques

Page 74: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Conclusions

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment Poor Slow

PlannedDeployment Good Fast

Skewed

Manipulatable

Good*

Good*

Page 75: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Conclusions

Property

AnycastIP

Proximity Failover Load Affinity

Ad-Hoc Deployment Poor Slow

PlannedDeployment Good Fast

Skewed

Manipulatable

Good*

Good*

Traceshttp://pias.gforge.cis.cornell.edu/measure.php

Page 76: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Alleviating Poor Proximity

ISP X

US

USEurope

Asia

Oceania(W. Coast)

(E. Coast)

Internet

C

Hot-Potato Routing

Least-CostRouting

Page 77: A Measurement-based Deployment Proposal for IP Anycasthitesh/talks/talk-imc06-anymeasure.pdf · 2007. 5. 20. · What is IP Anycast? IP Address IP Address 2.1.1.1 2.1.1.1 Anycast

Only Proximity measurements for the

External Deployments

Internet

F-Root (Palo Alto)

F-Root (Chicago)

F-Root (New York)

F-Root (Madrid)

F-Root (Osaka)

C

Probes to External DeploymentsCannot determine the identity of the responding server