Routing

Dynamic Routing Concepts

Learn how dynamic routing interacts with static routes, compares route information, shares routes between protocols, and controls parallel paths.

Intermediate12 min read
Routing lessonNetworkingLearn

Learn how dynamic routing interacts with static routes, compares route information, shares routes between protocols, and controls parallel paths.

What you will be able to do

  • Explain how dynamic and static routes can coexist and how administrative distance affects the selected route.
  • Identify the factors a router may use when comparing candidate routes.
  • Describe how route redistribution and default information affect routing behavior.
  • Explain how reliability, metrics, and administrative distance differ in route selection.

01

Why Dynamic Routing Matters

Dynamic routing protocols let routers exchange reachability information instead of relying only on manually entered routes. This helps a router learn paths as routing information changes.

Dynamic routing does not exclude static routing. A network can contain both, so the router needs rules for deciding which information should guide forwarding.

Inside one autonomous system, routers may run more than one interior routing protocol. Those protocols can use different ways to measure path quality.

02

How Routes Compete

Administrative distance ranks the trustworthiness of routing information. Each dynamic routing protocol has a default administrative distance, and that value helps the router compare information from different sources.

Administrative distance can also rank information received from devices using the same routing protocol. A lower administrative distance is preferred when the router is comparing those sources.

A static route can lose to dynamic information when the static route has a higher administrative distance than the dynamic protocol. Thus, a manually configured route is not automatically the winning route.

03

Metrics Are Protocol-Specific

A metric is a protocol’s method for judging paths. Metrics from one routing protocol do not necessarily represent the same path quality as metrics from another protocol.

For example, a value used by one protocol cannot automatically be interpreted as an equivalent value by a second protocol. Administrative distance handles source preference, while a metric helps compare paths within the relevant routing process.

When a route enters another protocol, the importing protocol may use a metric that it supports. This keeps route comparison aligned with the receiving protocol’s rules.

04

Other Route Selection Factors

Route selection can consider more than a protocol metric. Depending on the routing information and protocol, the router may consider TOS, subnet mask, or prefix length.

Reliability can take priority over a routing metric. A route with higher reliability is selected over one with lower reliability, regardless of the metrics attached to the two routes.

These comparisons answer different questions. Reliability describes confidence in the route, while a metric describes path preference within a routing system.

05

Static Routes and Dynamic Advertising

A static route may coexist with a dynamic protocol without being advertised automatically. The route’s presence in the local routing table and its distribution to other routers are separate concerns.

If a static route points to an interface outside the networks introduced with network commands, dynamic advertisement requires redistribute static. This explicitly makes that static information available to the routing process.

A static route can still be used locally even when it is not being shared dynamically. Its administrative distance remains part of route selection when competing information exists.

06

Moving Routes Between Protocols

Redistribution allows one routing protocol to advertise routes learned from another protocol. The receiving protocol needs a configured default metric for this exchange.

The imported route does not keep every meaning from its original protocol. In particular, routes redistributed between OSPF processes do not retain their OSPF metrics.

This is why metric translation matters. The receiving process must evaluate the imported route using a metric appropriate to its own operation, rather than assuming the original value transfers directly.

07

Passing Default Information

A default route represents a general next step for destinations without a more specific known route. Dynamic routing can carry default information to other routers.

When default information passes through a dynamic routing protocol, additional gateway-of-last-resort configuration is unnecessary. The dynamic exchange supplies that role.

This differs from creating a static route for every destination. The receiving router can use the learned default information as its general forwarding choice.

08

Using Parallel Paths

Dynamic routing can provide multiple usable paths toward a destination. The maximum-paths router configuration command controls how many paths dynamic routing protocols use.

Most IP routing protocols install up to four parallel routes by default. The configured limit determines how many eligible paths are used rather than merely learned.

Parallel paths are distinct from route-source preference. Administrative distance helps choose among sources, while maximum-paths controls the number of paths used after dynamic routing identifies usable alternatives.

09

Recap Before Practice and Prove

Dynamic and static routes can coexist. Administrative distance helps determine whether a static route or dynamic information wins when both describe a destination.

Metrics belong to routing protocols and cannot be assumed equivalent across protocols. Route selection may also consider TOS, subnet mask, prefix length, or reliability.

Redistribution moves routes between routing processes, but imported information needs a receiving-side metric. Static information may require redistribute static before dynamic advertisement.

Dynamic protocols can carry default information, removing the need for extra gateway-of-last-resort configuration. The maximum-paths setting controls how many dynamic paths are used, with up to four commonly installed by default.

For Practice and Prove, be ready to compare route sources, explain a metric mismatch, identify when redistribution is needed, and predict the effect of maximum-paths.

NEXT STEP

Turn reading into recall

Practice the concepts without a timer, with coaching and retry available after every answer.

Open guided practice