Domain 2.0 | Network Implementation — 20% of exam
Learning Objectives
By the end of this lesson, you will be able to:
- Distinguish interior gateway protocols (IGPs) from exterior gateway protocols (EGPs)
- Classify routing protocols by algorithm type: link-state, distance-vector, and path-vector
- Explain OSPF’s core characteristics, including areas, the DR/BDR election, and its cost metric
- Explain EIGRP’s core characteristics, including its composite metric and hybrid classification
- Explain BGP’s core characteristics, including autonomous systems, eBGP vs. iBGP, and its role on the internet
Key Terms
| Term | Definition |
|---|---|
| Dynamic Routing Protocol | A protocol that automatically discovers, advertises, and updates routes between routers without manual configuration |
| IGP (Interior Gateway Protocol) | A routing protocol designed to operate within a single autonomous system (OSPF, EIGRP) |
| EGP (Exterior Gateway Protocol) | A routing protocol designed to exchange routes between different autonomous systems (BGP) |
| Autonomous System (AS) | A network or group of networks under a single administrative authority, identified by a unique AS number |
| Link-State Protocol | A routing protocol (like OSPF) where every router builds a complete map of the network topology and calculates the best path itself |
| Convergence | The state where all routers in a network have consistent, up-to-date routing information after a topology change |
Explanation
From Static to Dynamic: Why Automate Route Discovery
Lesson 2.1.1 covered static routing and the three-step route selection process — longest prefix match, administrative distance, and metric. That lesson mentioned dynamic routing only in passing. This one is where dynamic routing actually gets explained.
A dynamic routing protocol lets routers discover networks and exchange that information automatically, without an administrator typing in every path by hand. When a link fails, routers running a dynamic protocol detect the change and recalculate paths on their own — something a static route can never do. The tradeoff is complexity: dynamic protocols consume CPU and bandwidth for their calculations and advertisements, and they require an administrator who actually understands how the protocol behaves.
Network+ doesn’t expect you to configure these protocols the way a CCNA-level exam would — the objective here is to explain characteristics, not build configurations. That means the exam cares about what makes each protocol distinct, how they’re classified, and which one fits which situation.
Classifying Routing Protocols
Before looking at OSPF, EIGRP, and BGP individually, it helps to understand the two classification systems the exam expects you to know.
By scope — IGP vs. EGP:
- An Interior Gateway Protocol (IGP) operates within a single autonomous system (AS) — one organization’s network, under one administrative authority. OSPF and EIGRP are both IGPs.
- An Exterior Gateway Protocol (EGP) exchanges routes between different autonomous systems. BGP is the only EGP in wide use today, and it’s effectively the protocol that holds the entire internet together.
By algorithm — link-state, distance-vector, and path-vector:
- A distance-vector protocol (like RIP) only knows what its directly connected neighbors tell it — “here’s what I can reach, and how far away it is.” It has no real picture of the broader topology.
- A link-state protocol (like OSPF) has every router build a complete map of the entire network topology, then independently calculate the shortest path using that full picture.
- EIGRP occupies its own category, often called advanced distance-vector or hybrid — it shares some distance-vector behavior but adds link-state-like features for much faster convergence.
- BGP uses a path-vector approach — it tracks the entire sequence of autonomous systems a route has passed through, which is what makes it suited for internet-scale routing between organizations that don’t trust each other’s internal topology.

How Interior and Exterior Gateway Protocols Divide Routing Responsibility
OSPF: Link-State Routing Within an Autonomous System
OSPF (Open Shortest Path First) is the most widely deployed IGP in enterprise networks, and for good reason — it’s an open standard (not tied to one vendor), it scales well, and it converges quickly after a topology change.
OSPF routers exchange link-state information with each other and each build an identical topology database, then run the Dijkstra shortest-path-first algorithm independently to calculate the best route to every destination. Because every router does this calculation from the same complete picture, OSPF converges fast and avoids the routing loops that plague simpler protocols.
A few OSPF-specific characteristics show up often on the exam:
- Areas. Large OSPF networks are divided into areas to limit the size of the topology database any one router has to maintain. Area 0 is always the backbone area, and every other area must connect back to it, either directly or through a virtual link.
- DR/BDR election. On multi-access networks (like an Ethernet segment with several routers), OSPF elects a Designated Router (DR) and Backup Designated Router (BDR) to reduce the number of adjacencies that need to form, cutting down on unnecessary link-state traffic.
- Cost metric. OSPF’s metric is cost, calculated from cumulative interface bandwidth along the path — lower cost is preferred, just as covered in the route selection lesson.
- Administrative distance: 110.

How OSPF Divides A Network Into Areas And Elects A Designated Router
EIGRP: Cisco’s Hybrid Routing Protocol
EIGRP (Enhanced Interior Gateway Routing Protocol) was originally a Cisco-proprietary protocol, later opened up in limited form, and it’s still primarily seen in Cisco-heavy environments. It’s classified as a hybrid or advanced distance-vector protocol because it borrows ideas from both worlds.
EIGRP’s defining features:
- Composite metric. By default, EIGRP calculates its metric using a formula that factors in bandwidth and delay (and can optionally include load and reliability), producing a much more nuanced path calculation than a simple hop count.
- DUAL algorithm. The Diffusing Update Algorithm lets EIGRP routers keep a backup route (a “feasible successor”) ready in advance, so when the primary path fails, EIGRP can often switch to the backup almost instantly instead of recalculating from scratch.
- Two administrative distances. Routes learned from within the same EIGRP autonomous system use AD 90. Routes redistributed into EIGRP from an external source use AD 170 — a distinction worth remembering, since it’s the same “internal vs. external” pattern that shows up again with BGP.
Because EIGRP pre-computes backup paths before they’re needed, it typically converges faster than OSPF in many topologies, which is one of its main selling points in Cisco-centric designs.
BGP: Routing Between Autonomous Systems
BGP (Border Gateway Protocol) is in a category of its own. Where OSPF and EIGRP manage routing inside one organization’s network, BGP manages routing between organizations — it’s the protocol that connects internet service providers, large enterprises, and content networks to each other across the public internet.
Key BGP characteristics:
- Runs over TCP port 179. Unlike OSPF and EIGRP, which operate directly over IP, BGP rides on top of TCP, benefiting from TCP’s built-in reliability for exchanging routing information between routers that may be many hops apart and don’t inherently trust each other.
- AS numbers. Every organization participating in BGP is identified by an autonomous system number (ASN), distinguishing its network from every other network on the internet.
- eBGP vs. iBGP. External BGP (eBGP) runs between routers in different autonomous systems — this is the classic “connect to your ISP” scenario. Internal BGP (iBGP) runs between routers within the same autonomous system, typically used when an organization has multiple internet-facing routers that need consistent routing information.
- Administrative distance. eBGP routes default to AD 20 — more trusted than any IGP. iBGP routes default to AD 200 — less trusted than any IGP, reflecting that internally-learned BGP information is treated more cautiously than a route your own IGP already worked out.

How External BGP And Internal BGP Peering Differ Within And Between Autonomous Systems
BGP’s path-vector approach means it doesn’t just track a metric — it tracks the actual list of autonomous systems a route has traversed (the AS path), which lets a router immediately reject any route that loops back through its own AS, and gives administrators a rich set of attributes to base routing policy decisions on, well beyond a simple “shortest path” calculation.
Comparing the Three Protocols
| OSPF | EIGRP | BGP | |
|---|---|---|---|
| Scope | IGP | IGP | EGP |
| Algorithm type | Link-state | Hybrid / advanced distance-vector | Path-vector |
| Metric | Cost (bandwidth-based) | Composite (bandwidth + delay) | Path attributes / AS path |
| Transport | Directly over IP | Directly over IP | TCP port 179 |
| Administrative distance | 110 | 90 (internal) / 170 (external) | 20 (eBGP) / 200 (iBGP) |
| Typical use case | Enterprise interior routing, vendor-neutral | Cisco-centric enterprise interior routing | Internet backbone, ISP and large-enterprise edge routing |
Notice how this table connects directly back to the route selection lesson: if a router somehow learned the same prefix from both OSPF and EIGRP, the lower AD (EIGRP’s 90) would win — but remember, that comparison only ever happens after longest prefix match has already been checked.
Where This Fits Into the Bigger Picture
Static routing, covered in the previous lesson, and these three dynamic protocols aren’t really competitors — they’re tools an organization mixes based on need. A branch office might run a simple static default route, an enterprise campus might run OSPF or EIGRP internally, and that same enterprise’s edge router might run BGP to peer with its internet service provider — sometimes all in the same network, at different points.
The next lesson moves into NAT and PAT, which is where these routing concepts start interacting directly with address translation at the edge of a network — often the exact same edge router running BGP toward the internet.
Recognition-Level Verification Concepts
A few patterns are worth recognizing on sight:
- A routing protocol operating strictly within one organization’s network is an IGP (OSPF, EIGRP); one connecting separate organizations’ networks is an EGP (BGP).
- A router with a complete topology map, calculating shortest paths independently, points to a link-state protocol like OSPF.
- Traffic or configuration referencing “Area 0” is unmistakably OSPF.
- A session established over TCP port 179 is BGP — the only major routing protocol that rides on TCP.
- An AS path attribute listing a sequence of autonomous system numbers is a BGP-specific concept, not something OSPF or EIGRP track.
Common Exam Traps
- IGP vs. EGP is a scope distinction, not a quality distinction. OSPF and EIGRP aren’t “worse” than BGP — they’re built for a completely different job (inside one network vs. between networks).
- EIGRP is not a pure distance-vector protocol. Calling it “just like RIP” is a common mistake — its DUAL algorithm and composite metric put it in its own hybrid category.
- OSPF and EIGRP have different default administrative distances, and EIGRP has two of its own (90 internal, 170 external). Don’t assume every IGP shares one AD.
- BGP’s two administrative distances (20 for eBGP, 200 for iBGP) are easy to mix up — eBGP is more trusted than any IGP, while iBGP is less trusted than any IGP. That asymmetry is intentional and frequently tested.
- BGP runs over TCP port 179; OSPF and EIGRP do not use TCP or UDP ports at all — they operate directly over IP. This contrast is a favorite exhibit-question setup.
Lesson 2.1.2 Practice Quiz — Dynamic Routing Protocols (OSPF, EIGRP & BGP)
17 questions covering IGP vs EGP, link-state/distance-vector/path-vector classification, and the specific characteristics of OSPF, EIGRP, and BGP.
N10-009 · Domain 2.1Summary
Dynamic routing protocols automatically discover and update routes; IGPs (OSPF, EIGRP) operate within one autonomous system, while the EGP BGP operates between autonomous systems.
OSPF is a link-state protocol using areas, a DR/BDR election on multi-access segments, and a bandwidth-based cost metric; its administrative distance is 110.
EIGRP is a hybrid/advanced distance-vector protocol using a composite bandwidth-and-delay metric and the DUAL algorithm for fast convergence; its administrative distances are 90 (internal) and 170 (external).
BGP is a path-vector protocol running over TCP port 179, using autonomous system numbers and an AS path attribute; eBGP (AD 20) connects different autonomous systems, while iBGP (AD 200) connects routers within the same one.
These protocols aren't competitors — real networks commonly combine static routes, an IGP, and BGP, each handling a different part of the routing picture.



