← Back to CoursesNetworking: Advanced

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Routing Theory, Graph Algorithms, and Path Computation

Manual: General · Subject: Networking

Study how networks compute paths, converge after failures, and trade off optimality with scalability.

From Graphs to Forwarding Decisions

Routing as optimization

A network can be modeled as a graph G=(V,E)G = (V,E) with weights representing cost, delay, or capacity constraints. Routing protocols compute paths that attempt to optimize one or more objectives while remaining robust to failures and topology changes.

Distance-vector versus link-state

Distance-vector

  • Each node exchanges path estimates with neighbors
  • Simpler but can converge slowly
  • Susceptible to routing loops and count-to-infinity issues

Link-state

  • Nodes flood topology information
  • Each node computes shortest paths locally
  • Faster convergence but higher control overhead

Path selection objectives

Shortest path is only one objective. Operators may prioritize low delay, high capacity, policy compliance, resilience, or traffic engineering goals. Multi-constraint routing becomes difficult because the mathematically optimal path may be computationally expensive or operationally infeasible.

Advanced routing concepts

Convergence time
How quickly routing reacts to a topology change
Loop freedom
Guarantee that packets do not cycle indefinitely
Policy routing
Path choice constrained by administrative rules
Traffic engineering
Deliberate control of flow placement to manage utilization
Fast reroute
Precomputed alternate paths for failure recovery

Which routing family typically floods topology information and runs shortest-path computation locally?

Why is path computation with multiple constraints often harder than shortest path?

How to analyze a routing protocol

  1. 1

    Model the network as a weighted graph.

  2. 2

    Define the cost function and operational constraints.

  3. 3

    Examine convergence properties under failure and recovery.

  4. 4

    Check loop freedom and path optimality.

  5. 5

    Assess control-plane overhead and scalability.

ℹ️

Research note

Modern routing research often combines optimization, distributed systems, and control theory to handle dynamics, heterogeneity, and policy constraints.

What is one common failure mode of distance-vector routing?