Exchange Points, Route Servers and Registries

Preview:

DESCRIPTION

Exchange Points, Route Servers and Registries. Abha Ahuja ahuja@umich.edu. Objectives. To be able to explain what an exchange point is To be able to explain why people use XPs To understand why they are important To review some current exchange point designs used today - PowerPoint PPT Presentation

Citation preview

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

1

Exchange Points, Route Servers and Registries

Abha Ahujaahuja@umich.edu

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

2

Objectives

To be able to explain what an exchange point isTo be able to explain why people use XPsTo understand why they are importantTo review some current exchange point 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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

3

Introduction to Exchange Points

a bit of historyWhat are they?Why use them?

ahuja@umich.edu 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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

5

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

established at end of NSFnet Major providers connect their

networks and exchange trafficHigh-speed network or switchSimple concept - where providers

come together to exchange traffic

ahuja@umich.edu 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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

7

Conceptual Diagram of XP

Customer Router

Customer Router

Customer Router

Exchange Point Medium

ahuja@umich.edu 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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

9

Why XPs?Multiple service providersEach with Internet connectivity

InternetInternet

AA BB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

10

Why XPs?

Is not cost effectiveBackhaul issue causes cost to both

partiesInternetInternet

AA BB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

11

Why XPs?Domestic Interconnection

InternetInternet

AA BB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

12

Exchange Structures layer 2 models (the NAP or IX)

tailored bilateral policies

ahuja@umich.edu 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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

14

The Need for Exchanges

AS 2

AS 1

US

ASIA

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

15

The Need for Exchanges

AS 2

AS 1

US

ASIA

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

16

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

17

Exchange Point DesignEthernetFDDIATMDesigns range from the simple to the

complex Fddi gigaswitches to ethernet switches

ahuja@umich.edu 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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

19

Exchange Point policies/politics

AUPsNobody is obliged to peerdon’t spoof

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

20

Exchange Point etiquetteDon’t point defaultThird-party next-hopFilter! Filter! Filter!

Or do reverse path check

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

21

Exchange Point examples

AADS (Ameritech) in Chicago, USA ATM switches

Pacbell in California, USA trunked (geographically diverse) ATM

switchesPAIX in Palo Alto, California, USA

Fddi gigaswitchesMAE West in California, USA

trunked Fddi gigaswitches

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

22

Exchange Point examplesLINX in London, UK

Ethernet switchesAMS-IX in Amsterdam

Ethernet switchesNSPIXP-2 in Tokyo, Japan

Ethernet switches

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

23

Features of XPsRedundancy

multiple switchessupport

NOC to provide 24x7 support for problems at the exchange

DNS, Routing Registries, NTP servers servers often colocated at these

centralized points

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

24

Features of XPslocation

neutral colocation facilitiesaddress spaceASRoute serversstatistics

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

25

More info about IXshttp://www.ep.nethttp://www.rsng.net

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

26

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?

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

27

DiscussionHow 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?

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

28

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

Server

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

29

What is a Route Server?Unix box which runs Route Server

softwareExchanges routing information with

service provider routers at a NAP based on policy

Does not forward packets

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

30

Route Server at an XP

NAP R3R2

R1

ROUTE SERVER

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

31

Features of a Route ServerScalable RoutingSimplified Routing Processes on ISP

RoutersInsertion of RS Autonomous System

Number in the Routing Path

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

32

Features of a Route Server (con)

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

33

Diagram of N-squared Mesh

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

34

With the Route Servers

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

35

RS Exchange Point Routing Flow

TRAFFIC FLOW

ROUTING INFORMATION FLOW

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

36

Advantages of Using a Route Server

Scalable RoutingSeparation of Routing and

ForwardingSimplify Routing Configuration

Management on ISPs routersEnforce Good Routing Engineering

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

37

Advantages of Using a Route Server (con)

PREVENTS SPREAD OF BOGUS ROUTING INFORMATION!

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

38

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

39

RSdRoute Server DaemonOriginally developed by ISI during RA

projectDeveloped from GateDMulti-vieweBGP onlyUses import-from only

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

40

Things to think about...How would using a route server

benefit you?Consider setting one up yourself for

your community, or talk to Merit...

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

41

Route Server Referenceshttp://www.rsng.nethttp://www.merit.edu/ipmahttp://www.isi.edu/ra

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

42

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

43

What is the Routing Registry?Distributed database collectively

known as Internet Routing Registry (IRR) RADB, RIPE, CW, ANS, Canet

Providers register routing policyUsed for planning, debugging and

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

44

What is the Routing Registry?Can be used by anyone worldwide

debugging configuring engineering routing addressing

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

45

What happens if I don’t use a database?

Routing Horror Stories AS7007 announcing bogus routes

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

46

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!!

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

47

Why Bother with all of this?View of global routing policy in a single

cooperatively maintained databaseto improve integrity of Internet’s

routinggenerate router configs

protect against inaccurate routing info distribution

verification of Internet routing

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

48

Why Bother using the database (con)

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

49

Policy Languagesexpress policy with aut-num objects,

route objects, AS-MACROScurrently RIPE-181moving to RPSL

more policy control

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

50

What is RPSL?Routing Policy Specification

LanguageDesigned to replace current

language (RIPE-181)Enhanced and more generalized

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

51

How does the language work?

Object-orientedExpress policy in objects

person mntner role aut-num route

Can make sets of objects

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

52

Describing PolicyUse the language to describe your

relationship with other Peers routes importing routes exporting specific policies

interfaces, MEDs, communities

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

53

Querying the Databasewhois -h whois.radb.net AS237whois -h whois.radb.net MAINT-

AS237whois -h whois.radb.net

198.108.60.0

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

54

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

55

Register your maintainer

mntner: MAINT-AS237descr: Maintainer for AS 237admin-c: Abha Ahujaupd-to: ahuja@merit.edumnt-nfy: ahuja@merit.edumnt-by: MAINT-AS237auth: MAIL-FROM ahuja@merit.educhanged: ahuja@merit.edu 941219source: RADB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

56

Register your Routes

route: 35.0.0.0/8descr: Merit Network, Inc.descr: University of Michigandescr: 4251 Plymouth Road, Suite Cdescr: Ann Arbordescr: MI 48105-2785, USAorigin: AS237mnt-by: MAINT-AS237changed: ahuja@merit.edu 931113source: RADB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

57

Register your aut-numDescribe your policy!Peering relationshipsimport-fromexport-tocan use AS-sets

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

58

Register your aut-num (con)aut-num: AS237as-name: MICHNET-ASNdescr: MichNet Primary ASdescr: Merit Network Inc.descr: Ann Arbor, MI USAas-in: AS3561 accept ANYas-out: AS3561 announce AS237admin-c: JMD24tech-c: JMD24notify: MCI-notify@merit.edumnt-by: MERIT-MAINT-MCIchanged: sobo@merit.edu 980202source: CW

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

59

Register your aut-num (con)

as-set: AS237:AS-CUSTOMERSdescr: ASs for which MichNet provides descr: transit servicemembers: AS229,AS237,AS238,AS7016,AS10330tech-c: MichNet NOCadmin-c: MichNet NOCremark: transit ASs of MichNetnotify: routing-notify@merit.edumnt-by: MAINT-AS237changed: ahuja@merit.edu 990222source: RADB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

60

Router ConfigurationCurrently configs by hand - slow and

inaccurateConfiguring routers using the IRR

lots of tools available!!! RtConfig by ISI

route and Aspath filters.Import and export

Filtering is a good thing...

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

61

Router ConfigurationCurrently configs by hand - slow and

inaccurateConfiguring routers using the IRR

lots of tools available!!!Filtering is a good thing... Plans for some routers to support

RPSL directly

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

62

Router Configuration

SD

GRF 400

IR R

IRR Database Server

Configuration Machine

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

63

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

64

RIPE181 whois queries, flags, objects RPSL whois queries, flags, objects Complete support for RAToolSet

queries (fast!) Cisco configuration and management

interface Complete automated mirroring support

What does the RADB support now?

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

65

How do I participate?Set up your own registry

Private for your ISP? Community for the region? Download the software (IRRd)

Use the RADB

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

66

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?

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

67

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

ahuja@umich.edu Exchange Points, Route Servers and Routing Registries

68

SpecificsRegister your policy in the RADB

Merit can assist (db-admin@radb.net)Questions? Need help?

irrd-support@merit.edu db-admin@radb.net

Recommended