Control Plane

Routing: Determine route taken by packets from source to destination

Per-router Control Plane

Individual routing algorithm components in each and every router interact with each other in control plane to compute forwarding tables
Pasted image 20241216154637.png

Logically Centralized Control Plane

A distinct controller interacts with local control agents in routers to compute forwarding tables
Pasted image 20241216154855.png

Routing Protocols

Goal

Determine “good” paths from sending hosts to receiving hosts through network of routers

Classification

Global VS decentralized information

Global:

Static VS dynamic

Static:

Dijkstra’s Algorithm

Distance Vector

Node x only knows cost to each neighbor v

Bellman-Ford Algorithm (DP)

Pasted image 20241216173031.png Pasted image 20241216173237.png

Intra-AS Routing in the Internet: OSPF

Making routing scalable

Scale: with billions of destinations

Aggregate routers into regions known as “autonomous systems” (AS) (Domains)

Intra-AS Routing

AKA interior gateway protocol (IGP)

Inter-AS Routing

Tasks

  1. Learn which destinations are reachable through other AS
  2. Propagate this reachability info to all routers in AS

Interconnected AS’es

OSPF

Open Shortest Path First

Advanced Features

Hierarchical OSPF

BGP

Border Gateway Protocol

Inter-AS routing

BGP provides each AS a means to:

Example

When AS3 gateway router 3a advertises path AS3,X to AS2 gateway router 2c:

  • AS3 promises to AS2 it will forward datagrams towards X

Pasted image 20241216195559.png

Path Attributes and BGP Routes

Advertised prefix includes BGP attributes

BGP Messages

BSP messages exchanged between peers over TCP connection

BGP Route Selection

Router may learn about more than one route to destination AS, selects route based on:

  1. Local preference value attribute: policy decision
  2. Shortest AS-PATH
  3. closest NEXT-HOP router: hot potato routing
  4. additional criteria

Hot Potato Routing

Chooses local gateway that has least intra-domain cost

Achieving Policy via Advertisements

B only wants to route traffic to/from its customer networks

Why different Intra-AS, Inter-AS Routing?

Policy:

Software Defined Networking (SDN)

Why a logically centralized control plane?

Data Plane Switches

Pasted image 20241216215604.png

SDN Controller

Pasted image 20241216215611.png

Network-control Apps

Pasted image 20241216215701.png