+ All Categories
Home > Documents > 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick...

1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick...

Date post: 21-Dec-2015
Category:
View: 217 times
Download: 0 times
Share this document with a friend
Popular Tags:
24
1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der Merwe
Transcript
Page 1: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

1

Design and implementation of a Routing Control

Platform

Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford,

Aman Shaikh, Jacobus van der Merwe

Page 2: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

2

How ISPs route

Border routerInternal router

1. Provide internal reachability (IGP)2. Learn routes to external destinations (eBGP)3. Distribute externally learned routes internally (iBGP)4. Select closest egress (IGP)

62

4 9 2

13

3

Page 3: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

3

What’s wrong with Internet routing?

• Full-mesh iBGP doesn’t scale– # sessions, control traffic, router memory/cpu– Route-reflectors help by introducing hierarchy

• but introduce configuration complexity, protocol oscillations/loops

• Hard to manage– Many highly configurable mechanisms– Difficult to model effects of configuration changes– Hard to diagnose when things go wrong

• Hard to evolve– Hard to provide new services, improve upon

protocols

Page 4: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

4

Routing Control Platform

• What’s causing these problems?– Each router has limited visibility of IGP and

BGP– No central point of control/observation– Resource limitations on legacy routers

network

RCP

Solution: compute routes from central point, remove protocols from routers

network network

RCPInter-AS Protocol

RCP

Page 5: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

5

RCP in a single ISP

• Better scalability: reduces load on routers• Easier management: configuration from a single

point• Easier evolvability: freedom from router software

RCP

iBGP

Page 6: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

6

RCP architecture

Route Control Server (RCS)

BGP EngineIGP Viewer(NSDI ’04)

Routing Control Platform (RCP)

Available BGP routes

BGP updates

Selected BGP routes

BGP updates…

Path cost matrix

IGP link-state advertisements

Page 7: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

7

Challenges and contributions

• Reliability– Problem: single point of failure– Contribution: simple replication of RCP components

• Consistency– Problem: inconsistent decisions by replicas– Contribution: guaranteed consistency without inter-

replica protocol

• Scalability– Problem: storing all routes increases cpu/memory

usage– Contribution : can support large ISP in one computer

Building this system is feasible

Page 8: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

8

Potential consistency problem

• Need to ensure routes are consistently assigned – Even in presence of failures/partitions

A B

C D

“Use egress C (hence use A as your next-hop)”

“Use egress D (hence use B as your next-hop)”

RCP 1 RCP 2

Page 9: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

9

Consistent assignmentSingle RCP, single partition

• Solution: Assign all routers along the shortest IGP path the same exit router– Ensures forwarding loops don’t arise

RCP 1

BA

“Use egress B”“Use egress A”

Page 10: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

10

Consistent assignment Single RCP, multiple partitions

• Solution: Only use state from router’s partition in assigning its routes – Ensures next hop is reachable

Partition 1 Partition 2

RCP 1

Page 11: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

11

Consistent assignment Multiple RCPs, multiple

partitions

• Solution: RCPs receive same IGP/BGP state from each partition they can reach– IGP provides complete visibility and connectivity– RCS only acts on partition if it has complete state for it

Partition 1 Partition 2 Partition 3

RCP 2RCP 1

No consistency protocol needed to guarantee consistency in steady state

Page 12: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

12

Scalability solution

• Eliminate redundancy– Store only a single copy of each BGP route

• Accelerate lookup– Quickly find routers whose routes changed

• Avoid recomputation– Compute routes once for groups of routers– Don’t recompute if relative ranking of

egress routers unchanged

Page 13: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

13

RIB-Out shadow tables

P

refi

xes

BGP updates (to routers)

(points to currently used route for each router)

rtr1 rtr2 rtr3

(stores copies of routes)

BGP routes

P

refi

xes

BGP updates (from egress routers)

Global route table

eg1

eg2

eg3

eg1

eg2

eg3

IGP updates

(points to routes that use each egress)

Egress lists

rtr1 rtr2

RCS data structures

Page 14: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

14

Example of egress list operation

A B C

4 7 3

C

A

B D

D’s egress list

4

3

7

Page 15: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

15

Example of egress list operation

A B C

4 7 3

D

2

C

A

B

D’s egress list

4

3

7

2

Page 16: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

16

Example of egress list operation

A B C

4 7 3

D

5

5C

A

B

D’s egress list

4

3

7

Page 17: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

17

Example of egress list operation

A B C

4 7 3

D

1

1

C

A

B

D’s egress list

4

3

7

Page 18: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

18

Performance evaluation

• BGP and OSPF logs from Tier-1 ISP backbone – collected on Aug 1 2004, ~500 routers

• Metrics: memory usage, update processing time

• Measurement techniques:– Whitebox (instrument code with timers)– Blackbox (workload generator on separate

machine)• no-queuing (one update at a time)• real-time (allow updates to queue)

• 3.2 Ghz P4, 4GB memory, Linux 2.6.5

Page 19: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

19

Results: RCS memory usage

State for entire ISP in 2.5 gigabytes

Page 20: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

20

BGP change processing time

All BGP updates processed within 30ms

Page 21: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

21

IGP change processing time

High delay due tobursty path costchanges

Page 22: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

22

Towards decoupling BGP from IGP

• Problem: Single link change can affect many paths– Transient delay/loss, traffic shift, and eBGP updates

• Solution: Decouple egress point ranking and cost– Experiment: process only reachability-affecting events

A B

10 9

C

11

Page 23: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

23

IGP change processing time

New approachreduces processing time

Page 24: 1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.

24

Conclusions

• RCP improves routing– Correct, scalable route distribution– Eases management and evolvability

• RCP is feasible– Reliability, scalability, deployability,

consistency

• Many open problems:– How to simplify network management– How to enable new services– RCP cooperation between ISPs


Recommended