Understanding Routing Protocol Basics and Classification
Routing protocols are algorithms that routers use to communicate and determine the best paths for data packets. The Network+ exam focuses on two main types: Interior Gateway Protocols (IGPs) and Exterior Gateway Protocols (EGPs).
IGPs vs. EGPs
IGPs operate within a single autonomous system (AS). They include RIPv2, EIGRP, and OSPF. EGPs like BGP operate between autonomous systems on the Internet.
Algorithm Types
Routing protocols divide into two categories based on how they calculate paths:
- Distance-vector protocols use hop count as their metric and send complete routing table updates to neighbors
- Link-state protocols calculate paths based on link costs and use triggered updates for faster convergence
Administrative Distance (AD)
Administrative distance measures the trustworthiness of a routing protocol source. Lower values indicate higher trust. When multiple protocols provide routes to the same destination, the router prefers the protocol with the lowest AD.
Common AD values:
- Directly connected networks: AD 0
- OSPF: AD 110
- RIPv2: AD 120
- EIGRP: AD 90 (internal routes), AD 170 (external routes)
Understanding these foundational concepts provides the framework for comparing how different protocols operate and scale in various network environments.
Distance-Vector Protocols: RIPv2 and EIGRP
Distance-vector protocols measure path quality based on hop count or composite metrics. These protocols send routing information to neighbors, who then make their own decisions about the best paths.
RIPv2 Overview
RIPv2 (Routing Information Protocol version 2) measures path quality using hop count. It has a maximum of 15 hops, which limits it to smaller networks. RIPv2 sends complete routing table updates every 30 seconds by default, and convergence happens slowly. It remains on the Network+ exam and is tested for its administrative distance of 120 and use of the Bellman-Ford algorithm.
EIGRP Advantages
EIGRP (Enhanced Interior Gateway Routing Protocol) is Cisco's advanced protocol. It combines characteristics of both distance-vector and link-state protocols. EIGRP uses a composite metric that incorporates bandwidth, delay, reliability, and load.
Key EIGRP features:
- Administrative distance of 90 for internal routes, 170 for external routes
- Faster convergence than RIP
- Better scaling in enterprise environments
- Uses the Diffusing Update Algorithm (DUAL) for loop-free paths
- Sends partial updates only when topology changes occur
Metric Calculation
EIGRP's default metric formula is: Metric = 256 * (Bandwidth + Delay). You must memorize this for the exam. The protocol favors bandwidth and delay in path selection over OSPF's simpler bandwidth-only approach.
Understanding the differences between RIPv2's simplicity and EIGRP's sophistication is crucial for exam success.
Link-State Protocols: OSPF and Advanced Concepts
Link-state protocols work differently from distance-vector protocols. Routers share detailed topology information instead of just their routing tables. All routers build identical databases and calculate paths independently.
OSPF Fundamentals
OSPF (Open Shortest Path First) is a link-state protocol widely deployed in enterprise networks. It uses Dijkstra's algorithm to calculate the shortest path tree. Unlike RIPv2, OSPF routers send Link State Advertisements (LSAs) describing their directly connected networks and link costs.
Key OSPF characteristics:
- Administrative distance of 110
- Uses cost as metric, derived from link bandwidth
- All routers in an area maintain identical Link State Databases (LSDBs)
- Much faster convergence than distance-vector protocols
- Open standard, works with multivendor networks
OSPF Areas and Scalability
OSPF networks organize into areas to improve scalability. Area 0 (the backbone area) serves as the central routing domain. Area Border Routers (ABRs) connect areas and translate between them. This hierarchical design reduces the size of LSDBs in each area and decreases CPU processing.
OSPF Packet Types
Network+ candidates must understand the five OSPF packet types:
- Hello packets (establish neighbors)
- Database Description packets (exchange LSDB info)
- Link State Request packets (request missing LSAs)
- Link State Update packets (send LSAs)
- Link State Acknowledgment packets (confirm receipt)
OSPF's faster convergence and ability to scale to very large networks make it the protocol of choice for many organizations. Understanding its operation is essential for network professionals.
BGP, Metric Comparison, and Selecting the Right Protocol
BGP (Border Gateway Protocol) is tested at a foundational level on the Network+ exam. Unlike IGPs that optimize paths within your organization, BGP makes routing decisions based on policy and network administrator preferences.
BGP Basics
BGP operates between autonomous systems on the Internet. It uses AS path length as its primary metric, preferring paths through fewer autonomous systems. BGP operates on TCP port 179 and is classified as a path-vector protocol.
Administrative distance for BGP:
- External routes: AD 20
- Internal routes: AD 200
For Network+, understand that BGP is used for Internet routing and policy-based decisions. You don't need deep BGP expertise for this exam level.
Comparing All Routing Protocols
Different protocols serve different purposes:
- RIPv2: Hop count metric, maximum 15 hops, suitable only for small networks
- EIGRP: Composite metric (bandwidth and delay), scales to medium and large enterprise networks
- OSPF: Cost based on bandwidth, scales to very large networks
- BGP: Policy-based decisions, interdomain routing on the Internet
Selecting the Right Protocol
Administrators choose protocols based on several factors:
- Network size and complexity
- Convergence speed requirements
- Processing power availability
- Single-vendor (Cisco only) or multivendor network
For exam preparation, create a comparison matrix including administrative distance, metric type, maximum hop count, and typical use cases. This organized approach consolidates your learning and makes retrieval during the exam easier.
Effective Study Strategies and Flashcard Applications for Routing Protocols
Routing protocols require mastery of specific details that are heavily tested on the Network+ exam. These include administrative distances, metric calculations, convergence times, and operational characteristics. Flashcards are exceptionally effective for this subject because they facilitate spaced repetition of these precise details.
Flashcard Organization Strategies
Create flashcards organized by protocol with one side showing a characteristic and the reverse showing the answer with context. Example: Front: "What is OSPF's administrative distance?" Back: "110 for internal routes."
Organize study into thematic groups:
- One set for administrative distances across all protocols
- Another for metric types and calculations
- Separate sets for each protocol's specific characteristics
- Scenario-based cards that test deeper understanding
Active Recall Techniques
Use active recall by covering answers and forcing yourself to generate responses before checking. This strengthens memory retrieval. Scenario cards deepen understanding beyond memorization. Example: "A router learns a route via both RIPv2 and OSPF. Which route does it prefer and why?"
Spaced Repetition Science
Spaced repetition is scientifically proven to enhance long-term retention. Flashcards optimize this by automatically presenting difficult cards more frequently. Reserve 20 to 30 minutes daily for flashcard study, focusing on difficult cards first, then mixing in review of mastered content.
Regular flashcard practice builds confidence and ensures you can recall answers quickly during the actual exam.
