exchange points, route servers and routing registries1 exchange points, route servers and registries...

64
Exchange Points, Route S ervers and Routing Regis tries 1 Exchange Points, Route Servers and Registries Abha Ahuja [email protected]

Upload: molly-strickland

Post on 11-Jan-2016

233 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

1

Exchange Points, Route Servers and Registries

Abha [email protected]

Page 2: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

2

ObjectivesTo be able to explain what is an exchange

pointTo be able to explain why people use XPsTo understand why XPs are importantTo review some current XP designs used

todayTo think about how to set up an exchange

point in your environmentTo understand why Route Servers are usefulTo be able to explain what routing registries

do and why you should use one

Page 3: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

3

Introduction to Exchange Points

A bit of historyWhat are they?Why use them?

Page 4: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

4

A Bit of History…

End of NSFnet - one major backbonemove towards commercial Internet

private companies selling their bandwidthneed for coordination of routing

exchange between providers Traffic from ISP A needs to get to ISP B

Routing Arbiter project created to facilitate this

Page 5: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

5

What is an Exchange Point?Network Access Points (NAPs)

established at end of NSFnet original “exchange points”

Major providers connect their networks and exchange traffic

High-speed network or switchSimple concept - anyplace where

providers come together to exchange traffic

Page 6: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

6

Exchange points

ISPs connect at Exchange Points or Network Access Points

to exchange traffic

XP 1 XP 2

ISP A

ISP B

Page 7: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

7

Conceptual Diagram of XP

Customer Router

Customer Router

Customer Router

Exchange Point Medium

Page 8: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

8

Why use an Exchange Point?

Routers are attached to exchange trafficMLPA, bilateral, customer/transit

relationshipsExamples in U.S:

AADS Mae-East/Mae-West Pacbell PAIX

Page 9: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

9

Why XPs?

Multiple service providersEach with Internet connectivity

InternetInternet

AA BB

Page 10: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

10

Why XPs?

Is not cost effectiveBackhaul issue causes cost to both

partiesInternetInternet

AA BB

Page 11: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

11

Why XPs?

Domestic Interconnection

InternetInternet

AA BB

Page 12: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

12

Exchange Structures

layer 2 models (the NAP or IX)tailored bilateral policies

Page 13: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

13

Why use an Exchange Point?

Peering Shared medium vs. point-to-point Shared

can exchange traffic with multiple peers at one location via one interface

Point-to-Pointfor high volumes of traffic

Page 14: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

14

Why use an Exchange Point?

KEEP LOCAL TRAFFIC LOCAL!!! ISPs within a region peer with each

other at local exchange No need to have traffic go overseas only

to come back

Page 15: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

15

The Need for Exchanges

AS 2

AS 1

US

AFRICA

Page 16: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

16

The Need for Exchanges

AS 2

AS 1

US

AFRICA

Keep Local Traffic Local!

Page 17: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

17

Exchange Point Design

EthernetFDDIATMDesigns range from the simple to the

complex Fddi gigaswitches to ethernet switches

(or hubs!)

Page 18: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

18

When can an XP be a bad thing?

Too many exchange points in one region competing exchanges defeats the

purposeBecomes expensive for ISPs to

connect to all of them

Page 19: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

19

Exchange Point policies/politics

AUPs acceptable use policy rules for connection

Fees?Nobody is obliged to peerDon’t spoof

Page 20: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

20

Exchange Point etiquette

Don’t point defaultThird-party next-hopFilter! Filter! Filter!

Or do reverse path check

Page 21: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

21

Exchange Point examplesPacbell in California, USA

trunked (geographically diverse) ATM switches

PAIX in Palo Alto, California, USA Fddi gigaswitches

SIX in Seattle Ethernet hub in someone’s machine room

JINX in Johannesburg Ethernet switch in ISP association

colocation facility

Page 22: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

22

Exchange Point examples

LINX in London, UK Ethernet switches

AMS-IX in Amsterdam Ethernet switches

NSPIXP-2 in Tokyo, Japan Ethernet switches

Page 23: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

23

Features of XPs

Redundancy multiple switches

support NOC to provide 24x7 support for

problems at the exchangeDNS, Routing Registries, NTP servers

servers often colocated at these centralized points

Page 24: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

24

Features of XPs

location neutral colocation facilities

address spaceASRoute serversstatistics

Page 25: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

25

More info about IXs

http://www.ep.net excellent resources about ip address

allocation for exchanges, locations of XPs in the world, AUPs and other policies

http://www.rsng.net route server and statistics resource

Page 26: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

26

Sample XPs

SIXMAE-LALINXHKIX

Page 27: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

27

Things to think about...

Do you need to be at an Exchange Point?

Would you want to start an Exchange Point?

Would keeping local traffic local benefit your ISP?

Would your environment (politically, etc.) support an Exchange Point?

Page 28: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

28

Discussion

How would you build an exchange point in your environment?

Who would connect?What services would you provide?What policies would you enforce?What does your environment look

like? Is it feasible to set up an XP?

Page 29: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

29

Important to Remember...

Exchange Points can be as simple as a HUB!!!!

Keeping local traffic local improves performance cheaper often simple to do!

Page 30: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

30

Exercise - The Benefits of Exchange Points

Page 31: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

31

C

A

BG

D

F

E

AS 100

AS 400

AS 1

AS 200 AS 1200

AS 1300

AS 300AS 1100

AS 2BGP to provider

Page 32: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

32

A

BG

C D

F

E

80.248.70.0/28

80.248.70.128/2880.248.70.144/28

80.2

48.7

0.20

8/28

80.2

48.7

0.19

2/28

80.248.70.160/28 80.248.70.176/28

80.248.70.224/28

SWITCH

Ethernet to IXP

Page 33: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

33

Route Server Background

What is a Route Server?Features of a Route ServerAdvantages of using a Route ServerExchange Point Design with a Route

Server

Page 34: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

34

What is a Route Server?

Unix box which runs Route Server software

Exchanges routing information with service provider routers at a NAP based on policy

Does not forward packets

Page 35: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

35

Route Server at an XP

NAP R3R2

R1

ROUTE SERVER

Page 36: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

36

Features of a Route Server

Scalable RoutingSimplified Routing Processes on ISP

RoutersInsertion of RS Autonomous System

Number in the Routing Path

Page 37: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

37

Features of a Route Server (con)

Handling of Multi-Exit DiscriminatorRoute Flap Dampening MechanismUses Policy registered in IRR

Page 38: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

38

Diagram of N-squared Mesh

Page 39: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

39

With the Route Servers

Page 40: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

40

RS Exchange Point Routing Flow

TRAFFIC FLOW

ROUTING INFORMATION FLOW

Page 41: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

41

Advantages of Using a Route Server

Scalable RoutingSeparation of Routing and

ForwardingSimplify Routing Configuration

Management on ISPs routersEnforce Good Routing Engineering

Page 42: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

42

Advantages of Using a Route Server (con)

PREVENTS SPREAD OF BOGUS ROUTING INFORMATION!

Page 43: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

43

Peering with the Route Servers

Any ISP attached to a NAP can peer with the Route Servers

ISP must register their policy in the Internet Routing Registry

Must use BGP

Page 44: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

44

RSd

Route Server DaemonOriginally developed by ISI during RA

projectDeveloped from GateDMulti-vieweBGP onlyUses import-from only

Page 45: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

45

Things to think about...

How would using a route server benefit you?

Consider setting one up yourself for your community, or talk to Merit...

Page 46: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

46

Route Server References

http://www.rsng.nethttp://www.merit.edu/ipmahttp://www.isi.edu/ra

Page 47: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

47

What is the Routing Registry?

contact names, email addresses and telephone numbers for an AS

routing policy for an AS (what other ASes does it connect to, which routes do they exchange)

information about routes (most important is which AS originates the route)

several other types of information

Page 48: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

48

What is the Routing Registry?

Distributed database collectively known as Internet Routing Registry (IRR) RADB, RIPE, CW, ANS, Canet http://www.irr.net/docs/list.html

Providers register routing policyUsed for planning, debugging and

generating backbone router configshttp://www.radb.net/

Page 49: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

49

What is the Routing Registry?

Can be used by anyone worldwide debugging configuring engineering routing addressing

Page 50: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

50

What happens if I don’t use a database?

Routing Horror Stories AS7007 announcing bogus routes

Page 51: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

51

So, I need to use the database because…..

Filters generated off the IRR protect against inaccurate routing information

Makes troubleshooting and debugging easier

Keep track of policySecurityFilter! Filter! Filter!!

Page 52: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

52

Why Bother with all of this?

View of global routing policy in a single cooperatively maintained database

to improve integrity of Internet’s routing

generate router configs protect against inaccurate routing info

distribution verification of Internet routing

Page 53: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

53

Why Bother using the database (con)

Many providers require that you register your policy (or they won’t peer with you)

Page 54: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

54

Describing Policy

Use the policy languages to describe your relationship with other Peers routes importing routes exporting specific policies

interfaces, MEDs, communities

register routes with origin AS

Page 55: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

55

Querying the Database

whois -h whois.radb.net AS237whois -h whois.radb.net MAINT-

AS237whois -h whois.radb.net

198.108.60.0

Page 56: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

56

How to Register your IRR policy

Register one or more maintainersRegister AS and policy informationRegister RoutesDescribes your import and export

policy At the very least, provides contact

information

Page 57: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

57

Router Configuration

Currently configs by hand - slow and inaccurate

Configuring routers using the IRR lots of tools available!!! RtConfig by ISI

route and Aspath filters.Import and export

Filtering is a good thing...

Page 58: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

58

Router Configuration

Currently configs by hand - slow and inaccurate

Configuring routers using the IRR lots of tools available!!!

Filtering is a good thing... Plans for some routers to support

RPSL directly

Page 59: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

59

Router Configuration

SD

GRF 400

IR R

IRR Database Server

Configuration Machine

Page 60: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

60

How do I use the IRR to generate configs?

Tools available to generate config files gated rsd Cisco

RAToolSet http://www.isi.edu/ra/RAToolSet RtConfig Aoe, Roe

Page 61: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

61

How do I participate?

Set up your own registry Private for your ISP? Community for the region? Download the software (IRRd)

Use the RADB

Page 62: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

62

Specifics

Register your policy in the RADB Merit can assist ([email protected])

Questions? Need help? [email protected] [email protected]

Page 63: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

63

Things to think about...

How would you register your policy?

Try to describe it in an aut-num objectHow would registering your policy

benefit you? The community?

Page 64: Exchange Points, Route Servers and Routing Registries1 Exchange Points, Route Servers and Registries Abha Ahuja ahuja@wibh.net

Exchange Points, Route Servers and Routing Registries

64

Resourceshttp://www.radb.nethttp://www.irrd.nethttp://www.isi.edu/ra/rpshttp://www.isi.edu/ra/RAToolSethttp://www.ietf.org/html.charters/rps-

charter.htmlhttp://www.rsng.nethttp://www.ripe.net