23
Measurement of BGP Anycast effects – experiences in .JP Adding an anycast node at New York Kazunori Fujiwara <[email protected]> Masato Minda, Shinta Sato, Izuru Shirai, Takayasu Matsuura Japan Registry Services Co., Ltd. (JPRS) July 21, 2007 8th CAIDA/WIDE Measurement workshop

Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

  • Upload
    lytram

  • View
    232

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Measurement of BGP Anycast

effects – experiences in .JP

Adding an anycast node at New York

Kazunori Fujiwara <[email protected]>Masato Minda, Shinta Sato, Izuru Shirai, Takayasu Matsuura

Japan Registry Services Co., Ltd. (JPRS)

July 21, 2007

8th CAIDA/WIDE Measurement workshop

Page 2: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 2

About JP DNS

• JP DNS - authoritative name servers of .JP(JPRS) and some in-addr.arpa zones (JPNIC)

– Using BIND 9 (All of JP DNS are using BIND 9)

YesN/ANIIf.dns.jp

YesSoonWIDE Projecte.dns.jp

YesIGP AnycastIIJd.dns.jp

NoN/AJPNICb.dns.jp

YesBGP AnycastJPRSa.dns.jp

IPv6AnycastOperatorServer

Page 3: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 3

a.dns.jp – Anycast status

• a.dns.jp

– AS: 23774

– IPv4: 203.119.1.1

– IPv6: 2001:dc4::1

– Located at Tokyo and Osaka• using BGP anycast since Feb 2004

• JPRS added one anycast node at NewYork.

– for two weeks

– It is a test run for real operation at New York

Page 4: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 4

a.dns.jp - Network Topology

JPRS

18149

a.dns.jp

23774

JPRS RD

24252

ISP

a.dns.jp

23774

ISP

a.dns.jp

23774

(Tier1)

ISP

JPNAP

ISP

New York

Tokyo

Osaka

Internet

DIX-IE

local peers

local peers

JPIX

local peers

NEW!

Page 5: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 5

a.dns.jp - Network Topology (cont.)

• Path length between the Internet (Tier1

AS) and a.dns.jp (AS23774)

– Tokyo: 2, Behind JPRS AS 18149

– Osaka: 1, Direct

– New York: 2, Behind JPRS RD AS 24252

• Osaka’s BGP path length is shorter than

other locations from the Internet.

Page 6: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 6

Anycast effect measurement

• Period: 20days in February, 2007

• Method:

– Record all queries (using BIND 9 logging

function)

– Extract query source IPv4 addresses from the

query log before and after one day (24hours)

of each change.

• Note: IPv6 was not examined.

– Analyze query source by countries

Page 7: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 7

a.dns.jp - Anycast Test Run Step

1. one AS-path prepend at Osaka

2. New York: Turn ON

3. Osaka: three AS-paths prepend at Osaka

4. Osaka: Turn OFF

5. Osaka: Turn ON with normal AS-path length

6. Osaka: Turn OFF

7. Osaka: Turn ON with normal AS-path length

8. New York: Turn OFF

Today’s report

Page 8: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 8

Summary of a.dns.jp queries

• Average 1900qps

– 1500 to 2500 qps

– JP 83% ARPA 17%

• Ranking

1. JP 55%

2. US 17%

3. UK 5%

4. CN 3.5%

5. TW 2%Queries/countries

Page 9: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 9

Anycast distribution chart• Try to display anycast effects

• This chart was drawn by the queries ratio that reachedeach Anycast node per countries.

• Country’s brightness indicates query rates (%) for eachanycast node.

• For each country, total of all graph value is 100%.

• This example chart shows that most queries reachedOsaka node for almost all countries.

Osaka Tokyo

65% 35%

Page 10: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 10

Step1: AS-path prepend at Osaka

Osaka Tokyo

JPRS

18149

a.dns.jp

23774

ISP

a.dns.jp

23774

ISPISP

Internet

Osaka Tokyo

JPRS

18149

a.dns.jp

23774

ISP

a.dns.jp

23774

ISPISP

Internet

AS

prepend

23774

Page 11: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 11

Changes between step 1 (1 hour)

Osaka Tokyo

62% 38%

23% 77%

Page 12: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 12

Changes between step 1 (24hours)

Osaka Tokyo

65% 35%

22% 78%

Page 13: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 13

Result of AS-path prepend

• Traffic trend was changed immediately

– Many queries to Osaka were moved to Tokyo

• AS-path prepend works well for traffic

control.

Page 14: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 14

Step 2: Starting New York

New YorkOsaka Tokyo

JPRS

18149

a.dns.jp

23774

AS

24252

ISP

a.dns.jp

23774

ISP

a.dns.jp

23774

ISPISP

Internet

New YorkOsaka Tokyo

JPRS

18149

a.dns.jp

23774

AS

24252

ISP

a.dns.jp

23774

ISP

a.dns.jp

23774

ISPISP

Internet

ASAS

Page 15: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 15

Result of starting New York (1):

from RIPE DNSMON

Magnified

Page 16: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 16

Result of starting New York(2):

Anycast distribution chartOsaka Tokyo New York

22% 78% 0%

20% 67% 12%

Page 17: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 17

Result of starting New York(3):

Asia

• not changedin Asia.

(except inRussia)

• Most trafficmay passdirect orsuitable linksto Japan

Osaka Tokyo New York

Page 18: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 18

Result of starting New York(4):

Europe

• Queries to

Tokyo were

partially

reduced.

• A decrease

in Tokyo was

moved to

New York.

Osaka Tokyo New York

Page 19: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 19

Result of starting New York(5):

South America

• No large

change, but

some queries

were moved

to New York.

Osaka Tokyo New York

Page 20: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 20

Result of starting New York (6)

• Though a.dns.jp is connected only one

ISP and 1 more AS path at New York,

12% queries were moved to New York

immediately.

• From RIPE DNSMON, latencies from

some European probes are remarkably

reduced.

Page 21: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 21

Conclusion/Comments?

• BGP anycast is useful for traffic control andreducing latency.– AS-path prepend works well for IP Anycast traffic

control

– Anycast node change is immediately reflected.

• Anycast distribution chart was proposed todisplay anycast effectiveness.

Page 22: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 22

Tools for this analysis

• BIND 9 query log function

• Maxmind GeoIP

http://www.maxmind.com/app/ip-location

• HELIO World

http://www.helio.org/world/

• RIPE DNSMON

http://dnsmon.ripe.net/

Page 23: Measurement of BGP Anycast effects – experiences in · Measurement of BGP Anycast effects – experiences in .JP ... display anycast effectiveness. ... caida.ppt Author:

Copyright©2007 Japan Registry Services Co., Ltd. 23