Dynamic Routing Notes

Networking Notes for High School Students

Guiding Question

How does dynamic routing enhance network adaptability, and what factors influence a router’s decision when selecting the best route?

Learning Goals

1. What Is Dynamic Routing?

Dynamic routing is when routers automatically figure out the best path for data to travel.

Instead of a network administrator manually entering every possible route, routers share information with each other and update their routing tables automatically.

Dynamic routing is especially helpful in large networks, growing networks, and networks that change often.

2. How Dynamic Routing Works

Routers in a dynamic network communicate with each other by sharing route information.

They use this information to keep their routing tables up to date.

A routing table is a list of known networks and the best path to reach them.

When the network changes, routers automatically recalculate the best route. This automatic adjustment is called convergence.

Convergence

Convergence is the process of all routers updating and agreeing on the best available paths after a network change.

3. Static Routing vs. Dynamic Routing

Static Routing

With static routing, routes are entered manually by a network administrator.

Advantages:

Disadvantages:

Dynamic Routing

With dynamic routing, routers automatically update routing tables.

Advantages:

Disadvantages:

4. Why Dynamic Routing Is Important

Dynamic routing makes a network more adaptable.

That means the network can respond to problems or changes without a person having to fix every route manually.

5. Dynamic Routing Protocols

Routers use dynamic routing protocols to communicate. A routing protocol is a set of rules routers use to exchange route information.

The main protocols in these notes are:

6. Border Gateway Protocol (BGP)

BGP stands for Border Gateway Protocol.

It is the main protocol used to route traffic across the Internet.

An autonomous system is a large network or group of networks under one organization’s control.

7. Enhanced Interior Gateway Routing Protocol (EIGRP)

EIGRP stands for Enhanced Interior Gateway Routing Protocol.

8. Open Shortest Path First (OSPF)

OSPF stands for Open Shortest Path First.

9. Comparing BGP, EIGRP, and OSPF

Protocol Type Main Use Strength Weakness / Note
BGP EGP Between large networks / Internet Handles huge networks Slow convergence
EIGRP IGP / Hybrid Inside organizations Fast and flexible Often used in Cisco environments
OSPF IGP / Link-State Inside large organizations Widely supported Builds a full network map

10. How Routers Choose the Best Route

Routers may learn more than one route to the same destination. When that happens, the router must decide which route is best.

Routers compare routes using several factors:

11. Administrative Distance (AD)

Administrative Distance tells how trusted a route source is.

Lower AD = More Trusted
Route Type Administrative Distance
Direct0
Static1
BGP20
EIGRP90
OSPF110

12. Prefix Length

A router also looks at prefix length.

Longer prefix = more specific route = better match

Example:

13. Routing Metrics

A metric is a value used by a routing protocol to decide which path is better.

Examples of things a metric may consider:

Lower metric = better route

14. Route Selection Example

Destination: 10.10.20.0/24

Available routes:

The router chooses the static route first because it has the lowest Administrative Distance.

If the static route is no longer available, the router would then prefer EIGRP over OSPF.

15. Benefits of Dynamic Routing

16. Drawbacks of Dynamic Routing

17. Key Vocabulary

18. Quick Summary

19. Review Questions

  1. What is the main purpose of dynamic routing?
  2. What is convergence?
  3. How is static routing different from dynamic routing?
  4. What is BGP mainly used for?
  5. What makes EIGRP fast and flexible?
  6. How does OSPF help routers make decisions?
  7. What does Administrative Distance tell us?
  8. Why is a /24 route preferred over a /16 route?
  9. What are two benefits of dynamic routing?
  10. What are two drawbacks of dynamic routing?