Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

3.1.1. Static vs. Dynamic Routing

Static Routing: Manually configured by administrators. You specify: "To reach network X, send packets to next-hop Y."

ProsCons
Simple to configureDoesn't adapt to failures
Predictable behaviorDoesn't scale to large networks
No routing protocol overheadManual updates required
Secure (no routing updates to spoof)Administrator must know topology

Dynamic Routing: Routers automatically discover routes by exchanging information with neighbors.

ProtocolTypeAlgorithmUse Case
BGPPath vectorBest path selection based on policiesInternet routing, between organizations
OSPFLink stateDijkstra (shortest path first)Enterprise internal routing
EIGRPAdvanced distance vectorDUAL (Diffusing Update Algorithm)Cisco environments

BGP (Border Gateway Protocol): The protocol that makes the internet work. Routes between autonomous systems (organizations). Makes decisions based on policies (business relationships) not just metrics.

OSPF (Open Shortest Path First): Every router builds a complete topology map. All routers have the same view and independently calculate shortest paths. Changes propagate quickly because routers share link-state information, not just distances.

EIGRP (Enhanced Interior Gateway Routing Protocol): Cisco-developed protocol combining benefits of distance-vector (simplicity) and link-state (fast convergence). Uses composite metric based on bandwidth and delay.

Alvin Varughese
Written byAlvin Varughese
Founder15 professional certifications