Dynamic Routing Protocols Overview
Dynamic Routing Protocols Overview
• 2. Default Routing(A special type of static route used to send traffic when no specific match exists)
• 3. Dynamic Routing Protocols (These let routers communicate automatically to share routing info)
Dynamic Routing Protocols
• These let routers
communicate automatically
to share routing info.
• Dynamic Routing Categories
• Dynamic routing is split into
two types based on where
routing happens:
What is Administrative Distance (AD)?
• Administrative Distance tells the router how much it should trust a
route learned from a routing protocol.
• A smaller number = more trusted
• If a router learns about the same destination from two sources, it picks
the one with lower AD
Source of Route AD Value How trusted?
Directly connected 0 Most trusted
Static route 1 Very trusted
EIGRP (internal) 90 Good
OSPF 110 Okay
RIP 120 Less trusted
What is a Routing Protocol Metric?
• Metric is a number used to pick the best path inside the same
protocol (like OSPF alone).
• Key Features:
•Open standard (not Cisco-proprietary)
•Supports VLSM and CIDR
•Fast convergence (quickly adapts to changes)
•Uses Dijkstra's algorithm to calculate shortest paths
•Divides networks into areas to reduce complexity
What is an LSA in OSPF?
• An LSA (Link-State Advertisement) is like a message that a router
uses to share information about its interfaces, neighbors, and paths.
• These LSAs are stored in the Link-State Database (LSDB) and are
used to build the routing table using Dijkstra’s algorithm.
OSPF LSA Types
LSA Type Name Description
Sent by every router into its own area. Lists
Type 1 Router LSA
directly connected links and states.
• Election Process:
• Highest OSPF Priority wins
• If tie, highest Router ID
Router ID (RID)
•A 32-bit unique ID used to identify OSPF routers.
•Looks like an IP address but doesn’t need to be reachable.
Selection Order:
1.Manually set (router-id command)
2.Highest loopback IP
3.Highest active physical interface IP
Manual Configuration (best practice):