Routing is the backbone of any IP network—without it, packets would never leave the source device. The CCNA 200-301 exam objective 3.2 requires you to understand the trade-offs between static and dynamic routing, a decision every network engineer faces. This chapter will dissect both approaches, compare their mechanisms, and expose the exam traps that trip up even experienced candidates. Mastering this topic is essential for designing reliable, scalable networks and passing the exam.
Jump to a section
Imagine you're a delivery driver for a small town. You have a paper road map (static routing) that shows every street. You've memorized the fastest route to each customer: 'Turn left on Oak, right on Pine, straight for two miles.' This works perfectly—until a road closes for construction. Now you're stuck, because your map doesn't change. You have to manually find a detour and update your map. That's static routing: you predefine every path, and if the network topology changes, you must reconfigure everything by hand.
Now consider a GPS navigator (dynamic routing). The GPS constantly receives live traffic updates from a central server. If a road closes, the GPS instantly recalculates a new route based on current conditions. It might even choose a different path to avoid congestion. That's dynamic routing: routers exchange information automatically, adapting to link failures, new connections, or traffic load. The GPS uses a routing protocol (like OSPF or EIGRP) to build its map and find the best path.
But the GPS isn't perfect. It needs a data connection to the server—if that fails, it can't update. It also takes a few seconds to recalculate, and sometimes it suggests a suboptimal route due to stale data. Similarly, dynamic routing consumes bandwidth, CPU, and memory, and convergence time isn't zero. The paper map is simple, predictable, and uses no extra resources, but it's brittle. The GPS is flexible and resilient but complex and resource-hungry. Your choice depends on the size of your delivery area, how often roads change, and how much you're willing to pay for automation.
What is Static Routing?
Static routing is a method where a network administrator manually configures routes in a router's routing table. Each static route specifies a destination network, a subnet mask, and either a next-hop IP address or an exit interface. For example:
ip route 192.168.2.0 255.255.255.0 10.1.1.2This tells the router: "To reach the 192.168.2.0/24 network, send packets to 10.1.1.2." Static routes are simple, have no overhead, and are highly predictable. They do not require any routing protocol to be running, which conserves CPU and memory. They also provide complete control over path selection, which is useful for security or traffic engineering.
However, static routes do not adapt to network changes. If the next-hop router goes down, the static route remains in the routing table, and packets are black-holed unless a floating static route with a higher administrative distance is configured as a backup. Static routing is best suited for small networks (fewer than 10 routers) or for stub networks where only one path exists to the outside world.
What is Dynamic Routing?
Dynamic routing uses routing protocols to automatically discover networks and update routing tables. Routers exchange routing information—such as directly connected networks and learned routes—with neighbors. Popular dynamic routing protocols for CCNA include RIP, EIGRP, and OSPF. Each protocol has its own algorithm (distance vector or link-state) and metrics (hop count, composite metric, cost).
Dynamic routing scales to large networks because it adapts to changes without manual intervention. When a link fails, the protocol converges—all routers agree on the new topology—within seconds or milliseconds. However, dynamic routing consumes bandwidth for protocol messages, CPU for processing updates, and memory for storing the routing database. It also introduces complexity: misconfiguration can cause routing loops or suboptimal paths.
Administrative Distance and Metric
When a router learns about the same destination from multiple sources (static, connected, or dynamic), it uses administrative distance (AD) to select the most trustworthy source. Lower AD is preferred. Default AD values:
Connected interface: 0
Static route: 1
EIGRP summary route: 5
External BGP: 20
Internal EIGRP: 90
IGRP: 100
OSPF: 110
IS-IS: 115
RIP: 120
External EIGRP: 170
Internal BGP: 200
Unknown: 255
If two routes have the same AD, the router compares metrics (e.g., OSPF cost, EIGRP composite metric). The route with the lower metric wins. If both are equal, the router load-balances across them (per destination or per packet, depending on configuration).
Static Route Configuration and Verification
To configure a static route:
Router(config)# ip route 192.168.3.0 255.255.255.0 10.1.1.2To verify:
Router# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override, p - overrides from PfR
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 10.1.1.0/30 is directly connected, GigabitEthernet0/0
L 10.1.1.1/32 is directly connected, GigabitEthernet0/0
S 192.168.3.0/24 [1/0] via 10.1.1.2The static route is marked with 'S'. The [1/0] shows AD (1) and metric (0).
Dynamic Routing Protocol Configuration (EIGRP Example)
To enable EIGRP:
Router(config)# router eigrp 100
Router(config-router)# network 10.1.1.0 0.0.0.3
Router(config-router)# network 192.168.1.0Verification:
Router# show ip route eigrp
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 192.168.2.0/24 [90/30720] via 10.1.1.2, 00:12:34, GigabitEthernet0/0The 'D' indicates an EIGRP route. [90/30720] is AD (90) and composite metric (30720).
Convergence: Static vs Dynamic
Convergence is the time it takes for all routers to agree on the network topology after a change. With static routing, convergence is manual—an administrator must reconfigure each affected router. This can take minutes to hours. With dynamic routing, convergence is automatic. For example, OSPF converges in seconds (typically <10 seconds for a well-tuned network), while EIGRP converges in sub-seconds using Diffusing Update Algorithm (DUAL).
Scalability and Overhead
Static routing has zero protocol overhead but does not scale. In a network with 50 routers, manually configuring and updating static routes is impractical. Dynamic routing scales well but consumes bandwidth for hello packets and updates. For example, OSPF sends hello packets every 10 seconds on broadcast networks (default), and link-state advertisements (LSAs) are flooded when topology changes. EIGRP sends hello packets every 5 seconds on high-speed links (default). The table below summarizes the trade-offs.
Summary of Trade-offs
| Feature | Static Routing | Dynamic Routing | |---------|----------------|-----------------| | Configuration complexity | Simple | Complex | | Adaptability to changes | None (manual) | Automatic | | CPU/Memory overhead | None | Moderate to high | | Bandwidth consumption | None | Low to moderate | | Security | High (no protocol messages) | Moderate (potential attacks) | | Scalability | Low (small networks) | High (large networks) | | Predictability | Very high | Moderate (depends on protocol) | | Convergence time | Manual (slow) | Seconds or less |
Exam Focus: Administrative Distance Traps
Cisco exams love to test AD values. A common trap: a static route is configured but a dynamic route with a lower AD exists for the same network. The router will ignore the static route because dynamic routes (e.g., OSPF AD 110) are preferred over static (AD 1) only if the static route's AD is higher? Wait—static AD is 1, lower than OSPF's 110, so static wins. But if you use a floating static route (AD 200), OSPF (110) wins. Know your ADs cold.
Another trap: when a router has a default route (0.0.0.0/0) from both static and dynamic sources, the one with lowest AD wins. If both are equal AD, the metric decides. But default routes often have AD 1 for static, so static default wins over a dynamic default (e.g., RIP AD 120).
Interaction with Related Protocols
Static routes are often used in conjunction with dynamic routing to provide backup or to force traffic through a specific path (policy routing). For example, a floating static route with AD 200 can serve as a backup for an OSPF-learned route. If OSPF fails, the floating static route takes over. Static routes can also be redistributed into dynamic protocols, but this requires careful planning to avoid routing loops.
Dynamic routing protocols interact with each other through route redistribution. For example, you can redistribute static routes into EIGRP so that other EIGRP routers learn about those networks. This is common in enterprise networks where a small branch uses static routing to the WAN, and the head-end router redistributes those static routes into the corporate OSPF domain.
Identify Network Requirements
Begin by analyzing the network size, topology, and stability. Is this a small branch with a single connection to the main office? Or a large campus with multiple redundant links? Static routing is ideal for stub networks (one exit point) or when you need precise control. Dynamic routing is better for meshed topologies where redundancy and automatic failover are critical. Also consider administrative overhead: static routes require manual updates for every change, while dynamic protocols handle it automatically. For the CCNA exam, always evaluate whether the scenario involves a small network (static) or a large, redundant network (dynamic).
Choose Routing Approach
Based on requirements, decide whether to use static, dynamic, or a combination. For example, a network with 3 routers and no redundancy could use static routes. A network with 20 routers and multiple paths should use OSPF or EIGRP. In many real networks, both are used: static routes for default routes or specific policy routes, and dynamic protocol for the rest. On the exam, look for clues like 'simple configuration', 'no routing protocol overhead' (static) vs 'automatic failover', 'scalability' (dynamic).
Configure Static Routes (if chosen)
On each router, configure static routes for networks not directly connected. Use the 'ip route' command with the destination network, mask, and next-hop IP or exit interface. For example: 'ip route 192.168.2.0 255.255.255.0 10.1.1.2'. For a default route, use 'ip route 0.0.0.0 0.0.0.0 <next-hop>'. Verify with 'show ip route' and look for 'S' entries. Ensure that static routes are configured on all routers that need them—if you miss one, packets may be dropped.
Configure Dynamic Routing (if chosen)
Enable a routing protocol on all routers. For OSPF: 'router ospf 1', then 'network <network> <wildcard> area 0'. For EIGRP: 'router eigrp 100', then 'network <network> <wildcard>'. Use 'passive-interface' on interfaces where no neighbors exist. Verify with 'show ip route' and look for 'O' (OSPF) or 'D' (EIGRP). Also use 'show ip protocols' to see which networks are advertised. Ensure all routers are in the same area (OSPF) or autonomous system (EIGRP).
Test Connectivity and Convergence
Ping between end devices to verify end-to-end connectivity. For dynamic routing, test failover by shutting down an interface ('shutdown') and timing how long it takes for traffic to resume. Use 'debug ip routing' or 'debug ip ospf events' to watch convergence. For static routing, manually remove a route and observe that traffic fails until you add a new route. Verify that backup routes (floating static) take over when the primary fails. The exam may ask about convergence time differences.
Monitor and Troubleshoot
Use 'show ip route' to check routing tables. For static, confirm the route is present and the next-hop is reachable. For dynamic, check neighbor adjacencies: 'show ip ospf neighbor' or 'show ip eigrp neighbors'. If routes are missing, verify that networks are advertised correctly. Common issues: mismatched area IDs (OSPF), mismatched autonomous system numbers (EIGRP), or passive interfaces blocking updates. Also check for routing loops using 'traceroute'. On the exam, be prepared to identify why a static route is not in the table (e.g., next-hop unreachable).
In a typical enterprise, you'll find a mix of static and dynamic routing. Consider a company with a headquarters (HQ) and 50 branch offices. Each branch has a single WAN link to HQ. At the branch, static default routes pointing to HQ are simple and sufficient. At HQ, a dynamic routing protocol like OSPF runs among core routers to provide fast failover and load balancing. The branch static routes are redistributed into OSPF at HQ so that other HQ routers know how to reach the branches. This hybrid approach minimizes complexity at the edge while maintaining resilience at the core.
Another scenario: a data center with multiple uplinks to different ISPs. Static routes are often used for default routes to each ISP, with floating static routes for backup. However, if the ISP link flaps, static routes don't adapt—you'd need a dynamic protocol like BGP to handle multi-homing properly. In smaller networks, static routing is perfectly fine. I've seen a 10-router network using static routes for years without issues, because the topology never changed.
Misconfiguration can be disastrous. For example, a misconfigured static route pointing to a wrong next-hop can create a routing loop. With dynamic routing, a misconfiguration can cause route flapping or suboptimal paths. I once saw an OSPF network where someone accidentally set the cost of a backup link to 1, making it preferred over the primary link. It took hours to find because the network was still working, just slower. Always use 'show ip route' and 'traceroute' to verify path selection.
Performance considerations: Static routes consume no bandwidth or CPU, so they are ideal for low-end routers. Dynamic protocols can overwhelm underpowered routers if the network is large. On the other hand, dynamic protocols can detect failures in seconds, whereas static requires manual intervention. In mission-critical networks, dynamic routing is essential for high availability.
The CCNA 200-301 exam tests your understanding of when to use static vs dynamic routing (objective 3.2). You must know the default administrative distances (AD) and how they affect route selection. A common trap: the exam presents a scenario where both a static route and a dynamic route exist for the same network, and asks which one will be used. Many candidates incorrectly assume dynamic always wins, but static has AD 1, which is lower than any dynamic protocol except connected. The correct answer is the static route, unless it's a floating static with AD > dynamic.
Another trap: candidates confuse administrative distance with metric. Remember, AD is trustworthiness of the source; metric is the cost of the path. The router first compares AD, then metric. For example, if you have a static route (AD 1) and an OSPF route (AD 110) for the same network, the static route is used regardless of OSPF cost. If you want OSPF to be preferred, you must increase the static route's AD (floating static) or remove the static route.
Specific values: Know AD for connected (0), static (1), EIGRP internal (90), OSPF (110), RIP (120). The exam may ask: 'Which routing source is most trustworthy?' Answer: connected. Or: 'What is the AD of a static route?' Answer: 1.
Calculation traps: None directly, but you may need to compare metrics for equal AD. For OSPF, cost = reference bandwidth / interface bandwidth (reference default 100 Mbps). For EIGRP, composite metric = (K1*Bw + K2*Bw/(256-Load) + K3*Delay) * K5/(Reliability+K4) with default K values (K1=1, K3=1, others=0) simplifies to metric = bandwidth + delay.
Decision rule: If the question emphasizes simplicity, low overhead, or small network, lean toward static. If it emphasizes scalability, automatic failover, or large network, lean toward dynamic. For scenario questions, read the requirements carefully: 'The network must automatically recover from link failures' → dynamic. 'The network has only one path to the internet' → static default route.
Elimination strategy: On multiple-choice, eliminate options that contradict AD values or convergence properties. For example, if an answer claims static routing converges faster than dynamic, it's wrong. If it claims dynamic routing has no overhead, it's wrong. Use your knowledge of AD to decide which route wins.
Static routing has an administrative distance of 1, making it preferred over most dynamic protocols.
Dynamic routing protocols (OSPF, EIGRP) automatically adapt to topology changes, providing faster convergence than static.
Static routing consumes no bandwidth or CPU for route exchange, but requires manual updates.
Floating static routes use a higher AD (e.g., 200) to serve as a backup for dynamic routes.
OSPF uses cost as metric, calculated as 100 Mbps / interface bandwidth (default reference).
EIGRP uses composite metric based on bandwidth and delay by default.
The 'show ip route' command displays the routing table, showing source (S for static, O for OSPF, D for EIGRP).
Static routes are ideal for stub networks and small networks with no redundancy.
Dynamic routing is essential for large, redundant networks to ensure high availability.
Administrative distance determines the trustworthiness of a routing source; lower is better.
These come up on the exam all the time. Here's how to tell them apart.
Static Routing
Manual configuration required
No protocol overhead (CPU, memory, bandwidth)
Predictable path selection
No automatic failover (unless floating static)
Best for small, simple networks
Dynamic Routing
Automatic route discovery and update
Consumes CPU, memory, and bandwidth for protocol messages
Path selection depends on protocol metrics and topology
Automatic failover and convergence
Scalable to large, complex networks
Mistake
Dynamic routing is always better than static routing.
Correct
Static routing is simpler, more secure, and has zero overhead. It is better for small, stable networks. Dynamic routing adds complexity and resource consumption.
Candidates often overvalue automation without considering the trade-offs of complexity and overhead.
Mistake
A static route with a next-hop IP address will always work if the next-hop router is reachable.
Correct
The static route will be installed in the routing table only if the next-hop IP is reachable via a directly connected network. If the next-hop is not directly connected, the route is not inserted.
Candidates forget that static routes require the next-hop to be on a directly connected subnet.
Mistake
Administrative distance and metric are the same concept.
Correct
AD is used to compare routes from different sources (e.g., static vs OSPF). Metric is used to compare routes from the same source (e.g., two OSPF routes).
Both are numbers used in route selection, leading to confusion.
Mistake
OSPF converges faster than EIGRP.
Correct
EIGRP converges faster than OSPF in many scenarios because it uses DUAL algorithm which provides loop-free convergence in sub-seconds, while OSPF relies on SPF recalculation.
Candidates assume link-state protocols are always faster, but EIGRP's diffusing update algorithm is designed for rapid convergence.
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
Yes, absolutely. Many networks use a combination. For example, you might run OSPF on core routers and use static default routes on edge routers. Static routes can also be redistributed into dynamic protocols. Just be mindful of administrative distance to ensure the intended route is preferred.
A floating static route is a static route configured with a higher administrative distance than the primary dynamic route. It serves as a backup: it appears in the routing table only when the dynamic route is not present (e.g., due to a link failure). For example, configure 'ip route 0.0.0.0 0.0.0.0 10.0.0.2 200' to back up an OSPF default route (AD 110).
A static route will not be installed if the next-hop IP address is not reachable via a directly connected network. The router must have a route (typically a connected route) to the next-hop subnet. Also check for administrative distance conflicts—if another route with lower AD exists, the static route may be ignored.
A static route is a manually configured route to a specific network. A default route is a special static route that matches any destination (0.0.0.0/0). It is used when no more specific route exists. Default routes are often used at edge routers to send all unknown traffic to an upstream ISP.
Use 'show ip route' to see if routes are learned (e.g., O for OSPF, D for EIGRP). Use 'show ip protocols' to see which networks are advertised. Use 'show ip ospf neighbor' or 'show ip eigrp neighbors' to verify adjacencies. If neighbors are not listed, check interfaces and network statements.
Convergence time is the time it takes for all routers in a network to update their routing tables after a topology change. Fast convergence minimizes packet loss and downtime. Dynamic protocols converge automatically (seconds or less), while static routing requires manual updates (minutes to hours).
Yes, you can configure multiple static routes to the same destination with equal administrative distance and metric. The router will then load-balance traffic across those paths (per destination by default). For example, 'ip route 192.168.1.0 255.255.255.0 10.0.0.1' and 'ip route 192.168.1.0 255.255.255.0 10.0.0.2' will both be installed if they are equal.
You've just covered Static vs Dynamic Routing Trade-offs — now see how well it sticks with free CCNA 200-301 practice questions. Full explanations included, no account needed.
Done with this chapter?