Static routing is the simplest form of routing where network administrators manually define routes in the routing table. CompTIA Network+ N10-009 tests when to use static routes, their advantages and disadvantages compared to dynamic routing, and how default routes function. Understanding static routing helps explain routing table concepts and provides context for why dynamic protocols exist.
Practice this topic
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.
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.
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.
Static routes are always preferred over dynamic routes
Static routes have a lower administrative distance (1) and are preferred by default, but floating static routes deliberately set higher AD to serve as backups to dynamic routes
Static routing works well for large networks
Static routing becomes unmanageable in large networks — every topology change requires manual updates on multiple routers. Dynamic routing protocols were created to automate this
These questions are representative of what you will see on Network+ exams. The correct answer and explanation are shown immediately below each question.
A network administrator wants to configure a backup route that only activates if the primary OSPF route fails. What type of static route should be configured?
Explanation: A floating static route has its administrative distance manually set higher than the primary dynamic routing protocol. Since OSPF has AD 110, the floating static route needs AD greater than 110 (e.g., 150 or 200). When OSPF is working, its route (AD 110) wins. If OSPF fails, the floating static route (higher AD but next best) enters the routing table as the backup.
A null route (or black hole) is a static route pointing to a 'null' or discard interface. Traffic matching the route is silently dropped rather than forwarded. Used to: prevent routing loops for summary routes, discard traffic to unused address space, and implement basic traffic blocking without a firewall. The term 'black hole' comes from traffic entering but never exiting.
Try free Static Routing practice questions with explanations, topic links and progress tracking.