PracticeBlogFlashcardsEspañol

OSPF, EIGRP, and BGP Basics at Network+ Depth

Key Takeaways

  • OSPF is a link-state interior gateway protocol that uses areas, neighbor adjacencies, and cost.
  • EIGRP is an advanced distance-vector interior gateway protocol associated with fast convergence and a composite metric.
  • BGP is a path-vector exterior gateway protocol used between autonomous systems and commonly at internet edges.
  • For Network+, focus on what each protocol is for, how it forms relationships, and what clues indicate neighbor or advertisement problems.
  • Protocol mismatches, passive interfaces, authentication mismatches, area mismatches, and filtering can prevent routes from appearing.
Last updated: April 2026

OSPF, EIGRP, and BGP Basics

Routing protocols automate route exchange. Network+ expects you to recognize their purpose and troubleshoot common symptoms without diving into vendor-only configuration details.

Protocol Comparison

ProtocolTypeScopeMain selection ideaCommon use
OSPFLink-state IGPInside one organizationCost, often based on bandwidthEnterprise LAN and WAN routing
EIGRPAdvanced distance-vector IGPInside one organizationComposite metricEnterprise networks, especially Cisco environments
BGPPath-vector EGPBetween autonomous systemsPath attributes and policyInternet routing and provider edge routing

IGP means interior gateway protocol. It runs within an administrative domain. EGP means exterior gateway protocol. BGP is the major EGP used to exchange routes between autonomous systems.

OSPF Essentials

OSPF routers form neighbor adjacencies, share link-state information, and build a topology database. Each router then calculates best paths.

OSPF conceptMeaning
AreaLogical grouping of routers and links
Area 0Backbone area used in multi-area OSPF designs
Neighbor adjacencyRelationship formed between compatible OSPF routers
Link-state advertisementInformation describing links and networks
CostOSPF metric, commonly derived from bandwidth
DR/BDRDesignated router roles used on some multiaccess networks

Common OSPF failure clues include an area mismatch, subnet mask mismatch, hello/dead timer mismatch, authentication mismatch, passive interface, or an interface not included in the OSPF process.

EIGRP Essentials

EIGRP exchanges routing information with neighbors and can converge quickly when a route fails.

EIGRP conceptMeaning
Autonomous system numberMust match for neighbors to form
Neighbor tableTracks adjacent EIGRP routers
Topology tableTracks learned routes and alternatives
SuccessorBest route to a destination
Feasible successorBackup route that can be used quickly if valid
Composite metricMetric based on factors such as bandwidth and delay

At Network+ depth, know that EIGRP is an IGP and that neighbor relationships require compatible settings. If an expected EIGRP route is missing, check the neighbor relationship, advertised networks, passive interfaces, and filtering.

BGP Essentials

BGP is used for policy-based routing between autonomous systems. It is common at internet edges, between service providers, and in organizations with multiple internet connections.

BGP conceptMeaning
Autonomous systemNetwork under one administrative routing policy
eBGPBGP between different autonomous systems
iBGPBGP within the same autonomous system
AS pathList of autonomous systems a route has traversed
Prefix advertisementA network announced to a BGP peer
Route policyRules controlling which routes are accepted or advertised

BGP is not chosen because it is the fastest-converging LAN protocol. It is chosen because it supports internet-scale routing and policy.

Scenario Clues

SymptomLikely area to check
OSPF neighbors stuck or absentArea, timers, authentication, interface, network type
EIGRP route missing but interface is upAS number, passive interface, network statement, filter
BGP peer downRemote AS, neighbor IP reachability, TCP 179, authentication
Route learned but traffic takes unexpected pathMetric, route policy, prefix length, administrative distance
Route appears on one router but not anotherRedistribution, filtering, summarization, or area design

PBQ Guidance

A routing PBQ may ask you to match protocols to use cases:

RequirementBest match
Dynamic routing inside a multi-router enterprise LANOSPF
Dynamic routing in a Cisco-heavy enterprise with EIGRP already deployedEIGRP
Exchange routes with an ISP using an autonomous system numberBGP
Small branch with one path to headquartersStatic or default route

If the PBQ shows a protocol neighbor table, solve it from compatibility and reachability. Do not start by changing metrics if the neighbor is not even formed.

Common Traps

TrapBetter reasoning
Use BGP for every dynamic routing needBGP is mainly for interdomain and policy-based routing
Treat OSPF cost as hop countOSPF uses cost, commonly bandwidth-based
Ignore passive interfacesA passive interface may advertise a network but not form neighbors
Change VLANs to fix a BGP peer before checking reachabilityBGP peers need IP reachability and TCP 179 availability
Test Your Knowledge

Which routing protocol is most associated with exchanging routes between autonomous systems on the internet?

A
B
C
D
Test Your Knowledge

Two OSPF routers on the same link do not become neighbors. Which issue is a likely cause?

A
B
C
D
Test Your KnowledgeMatching

Match each routing protocol to its usual role.

Match each item on the left with the correct item on the right

1
OSPF
2
EIGRP
3
BGP