route servers: what, why, and how? andy davidson allegro networks / lonap august 2014 peer 2.0/sfo

21
Route Servers: What, Why, and How?

Upload: maurice-stokes

Post on 23-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Route Servers: What, Why, and How?Andy Davidson <[email protected]> Allegro Networks / LONAP August 2014 Peer 2.0/SFO

sharyn morrow - http://www.flickr.com/photos/sharynmorrow/1923985105/

Motivation

Instant Traffic on Connection

Encourage Peering

Sell Ports, Grow Traffic

Route Servers / MLP

1 Session, Many Peers

Make it reliable

Make it optionalElection night crowd, Wellington, 1931. Alexander Turnbull Library

Route server does NOT modify the next-hop BGP attribute of the learned prefix.

Not providing transit

• BGP session with 192.168.10.1• Learn prefix for 10.10.0.0/16 from 192.168.10.5• Learn prefix for 10.20.0.0/16 from 192.168.10.10

• Next hop and BGP peer are different

• Traffic never flows through the route-server

Bilateral peering

• BGP session with 192.168.10.10• Learn prefix for 10.30.0.0/16 from 192.168.10.10

• Next hop and BGP session are the same.

From: [email protected]: [email protected]: Clevernet Route Server

Dear Colleagues,

Please can I ask that AS65534 turn up sessions facing the IXP route server. My AS-SET is AS-CLEVERNET for v4 and v6 routes.

My router is at 193.203.5.x, 2001:7f8:17::FFFE:1.

Yours, CleverNoc

router bgp 123no bgp enforce-first-as (- very important for route servers)

neighbor lonaprs peer-group (- own group recommended)neighbor lonaprs remote-as 8550neighbor lonaprs description LONAP MLPneighbor lonaprs route-map lonap-rs-out outneighbor lonaprs route-map lonap-rs-in inneighbor lonaprs maximum-prefix 20000neighbor 193.203.5.1 peer-group lonaprsneighbor 193.203.5.2 peer-group lonaprs

route-map lonap-rs-outmatch as-path 10 (- or however you prefix filter)set community xxx

route-map lonap-rs-inset local-preference 1000 (- or whatever you use for peers)

protocols { bgp { group lonap-rs { peer-as 8550; description “LONAP Route Servers”; family inet { unicast { prefix-limit { maximum 20000; teardown 99; } } } import [ lonap-in rejectpolicy ]; export [ as65534 bgp_customers aggregate rejectpolicy ]; neighbor 193.203.5.1; neighbor 193.203.5.2; } }}

Send my prefix (e.g. deaggregate, or selective policy) only to certain peers65534:their-as

Hide my prefix from transit customer 0:their-as

Outbound filters

Accept PrefixDo nothing. Have a nice day.

Reject prefix. Build an as-path list of asn to filter, reject.

Inbound filters

Advanced Filtering

Hide pfx from specific peers.Community 0:peer-as

Send specific pfx to peers.Community 8550:peer-as

32bit? Big community draftRich Renomeron - http://www.flickr.com/photos/rrenomeron/2834296612/

Hygienic Peering

• Enforced IRR database filtering on MLP (you do not need to filter the MLP)

• Required to peer with several MLP servers ?

• Config change via automation system to reduce human error impact

EndSite

TransitA

TransitB

PeerC

IXMLP

The Tale of the Single RIB

Originates10.0.0.0/24

EndSite

TransitA

TransitB

PeerC

IXMLP

Originates10.0.0.0/24 Best Path A filters C

What will happen here?

Valid path via B is not seen by C.Route Server shadowing

EndSite

TransitA

TransitB

PeerC

IXMLP

Originates10.0.0.0/24 A filters C

AC learns path via B

Best path per RIB

What will happen now?

B C

Disadvantages of route server peering• Separation of control plane and traffic

• Not really a disadvantage, but a risk• Layer 2 problem manifesting in visibility of route-server, but not next-hop• It can be mitigated by the IXP

• Loss of individual, personal relationships with peer• No worse than Internet Transit

• Less scope to say “no”• Only a problem for networks with a large geographic scope• You sometimes say no to prevent traffic hairpinning

?

Andy [email protected]_______________________

CTO, Allegro NetworksDirector, LONAP Ltd.

+44 161 200 1610