Static Route Fundamentals
A static route manually tells a router: 'To reach network X, send traffic to next-hop Y (or out interface Z).' Static routes do not change unless an administrator modifies them. They have an administrative distance of 1 (only connected interfaces at 0 are more trusted), meaning they take precedence over dynamic routing protocols for the same destination.
Default static route: a route to 0.0.0.0/0 (IPv4) or ::/0 (IPv6) that matches any destination. Used to send all unknown traffic to a gateway (typically an ISP router). Every internet-connected network needs a default route. Without one, the router drops traffic to unknown destinations.
Floating static route: a static route with a manually increased administrative distance (higher than the dynamic protocol). Acts as a backup — it only enters the routing table if the primary dynamic route disappears. Example: OSPF AD=110, floating static AD=200 — the static route is used only if OSPF fails.
When to Use Static Routing
Static routing is appropriate for: stub networks (networks with only one path to the rest of the network — no need for dynamic routing), point-to-point WAN links with a single path, small networks (5 or fewer routers), default routes to ISPs, and floating backup routes.
Dynamic routing is better for: networks with multiple redundant paths (dynamic protocols automatically reroute around failures), large networks (manual route management becomes unmanageable), and networks where topology changes frequently.
Advantages and Disadvantages
Static routing advantages: no bandwidth used by routing protocol updates, predictable and deterministic, simple to understand and audit, no routing protocol overhead on routers, more secure (no routing protocol messages to intercept or manipulate).
Static routing disadvantages: does not adapt to failures — if a link goes down, traffic to that network fails until the administrator manually changes the route. Administrative overhead scales poorly — each router must be manually updated when topology changes. Error-prone — a misconfigured static route can cause routing loops or black holes.