Courseiva

CCNA 200-301 study guide · Part 3: IP Routing

Chapter 18: OSPF Path Selection and OSPFv3

How OSPF picks paths with cost, how to read the result, and how the same ideas extend to IPv6 with static IPv6 routes and OSPFv3.

Once neighbours are up, OSPF must decide which paths to use, and this chapter explains how. You learn how the cost of an interface is calculated from its bandwidth, how the reference bandwidth affects that value and how the total cost to a destination decides the best path, including equal-cost load balancing.

The path selection logic lesson shows how those costs interact with route types and with administrative distance, and a troubleshooting scenario examines why OSPF chooses an unexpected path. A comparison of distance vector and link-state routing places OSPF in context.

The second half extends the ideas to IPv6. You see how static routing works for IPv6, then how OSPFv3 differs from OSPFv2 in its use of link-local addresses and per-interface configuration, and you configure single-area OSPFv3 and verify it.

Work out costs by hand on a diagram until you can do it quickly, since the exam often asks which path a router will install. After this chapter you can follow a packet across a routed network, and the next chapter keeps its gateway available.

7 lessons (5 concept, 1 troubleshooting, 1 comparison) · about 2.9 hours · Johnson Ajibi

What you will learn

  • Calculate OSPF cost
  • Predict the chosen OSPF path
  • Configure IPv6 static routes
  • Configure single-area OSPFv3
  • Contrast distance vector and link-state

Sections

Read in order: concepts first, then how to configure and verify, then troubleshooting and exam traps.

  1. 18.1
    OSPF Cost Calculation

    With OSPF neighbors formed, the next question is how routers decide between paths: that decision starts with cost.

    Concept25m
  2. 18.2
    OSPF Path Selection Logic

    Cost decides between paths of the same type; this section puts cost, route types and equal-cost paths together into the complete selection order.

    Concept25m
  3. 18.3
    IPv6 Routing: Static and OSPFv3

    OSPF cost and path selection work the same way for IPv6, so this section applies the routing ideas of the chapter to IPv6: static routes first, then OSPFv3.

    Concept25m
  4. 18.4
    OSPFv3 for IPv6

    The previous section introduced OSPFv3 next to IPv6 static routes; this section looks at the protocol itself.

    Concept25m
  5. 18.5
    OSPFv3 Single-Area Configuration for IPv6

    After meeting OSPFv3 in theory, this section configures it end to end in a single area.

    Concept25m
  6. 18.6
    Troubleshoot: OSPF Choosing Wrong Path

    After configuring OSPFv3, this section turns to a different problem: OSPF works, but traffic takes a path you did not expect.

    Troubleshooting25m
  7. 18.7
    Distance Vector vs Link-State Routing

    Routing protocols are the brain of any network—they determine how routers learn paths and forward traffic.

    Comparison25m

Practice this in the sandbox

Type real IOS commands in your browser on a cabled-up network. Each lab checks what the network actually does.

  • IPv6 addressing, SLAAC and static routingYou will build: Enable IPv6 routing, address two routers (manual, EUI-64 and link-local), let the PCs autoconfigure with SLAAC, and route between the LANs with IPv6 static routes.
Free practice: open the sandbox

Key terms

Practice

Check what you learned in this chapter with free CCNA 200-301 practice questions and full explanations.

CCNA 200-301 practice questions

↑ Up to Part 3: IP Routing · Book contents