PracticeLabs
Week 6Lesson 4Required27 min estimated0% progress

IPv6 Static Routing

Configure IPv6 static and default routes, choose between a global next-hop, an exit interface, and a fully specified link-local next-hop, and verify each in show ipv6 route.

Lesson orientation

What you'll learn (5 objectives)~27 min: video → lesson → check → apply → lab prep

Learning objectives

  • Enable ipv6 unicast-routing and explain why IPv6 forwarding is off until you do
  • Build an IPv6 static route to a remote /64 using a global-unicast next-hop
  • Explain why a link-local next-hop must be fully specified with an exit interface
  • Configure an IPv6 default route with the ::/0 prefix
  • Verify IPv6 static routes with show ipv6 route and show ipv6 route static

Terms you will see

ipv6 unicast-routingipv6 routeGlobal next-hopLink-local next-hopFully specified route::/0NDPRecursive lookup

Time breakdown

  • Read the notes13 min
  • Walk the four route forms8 min
  • Work the three-case practice6 min

Assigned video

Opens on YouTube
Recommended video

Free CCNA | IPv6 Part 3 | Day 33 | CCNA 200-301 Complete Course

By Jeremy's IT Lab · Opens externally on YouTube

Assigned watch
~6 min

The link opens in a new browser tab. Return here when you finish watching.

Watch for these concepts

  • ipv6 route written for a global next-hop versus a link-local next-hop
  • How each form installs and verifies in show ipv6 route

Go beyond the video

The assigned video introduces the idea. CCNA Practice Labs completes the learning path: clarify core concepts, explore how each device behaves, visualize the communication path, check your understanding, and prepare for hands-on lab work.

Watch the concept → understand it → visualize it → practice it → apply it.

The same three shapes as ip route, plus one new idea

Route selection in IPv6 is identical to IPv4 — longest-prefix match first, then administrative distance — and the ipv6 route command is a near-mirror of ip route. The one genuinely new idea is the link-local next-hop, and it is exactly where the exam sets its trap.

IPv6 forwarding is off until you turn it on
An interface can carry a perfectly good IPv6 address while the router still refuses to route IPv6 between interfaces, until you enter ipv6 unicast-routing in global config. The symptom is maddening precisely because nothing looks wrong: addresses are right, interfaces are up, hosts reach their own gateway, and nothing crosses. IPv4 routing is on by default, which is why the habit does not carry over.
The command shape
ipv6 route <destination-prefix>/<length> { <next-hop> | <exit-interface> | <exit-interface> <next-hop> }
The three forms and when each is appropriate
FormExampleNotes
Global next-hopipv6 route 2001:DB8:0:2::/64 2001:DB8:0:12::2Resolved recursively, like IPv4. Clean and the most common form.
Exit interface onlyipv6 route 2001:DB8:0:2::/64 GigabitEthernet0/0Fine on point-to-point. On multi-access Ethernet it has the same weakness as in IPv4 — the router must resolve the final destination on the segment via NDP.
Fully specifiedipv6 route 2001:DB8:0:2::/64 GigabitEthernet0/0 FE80::2Both interface and next-hop. Mandatory when the next-hop is link-local.
Why a link-local next-hop must be fully specified
A link-local address is only meaningful on a single link, and the very same address — FE80::2, say — can legitimately exist on every one of the router's interfaces at once. So a bare FE80::2 next-hop does not tell the router which interface that neighbour is on, and there is no way to resolve the ambiguity by lookup. Pairing it with an exit interface removes the ambiguity. Global next-hops never have this problem, because a global unicast address is unique network-wide and can be resolved recursively.

If link-local next-hops are awkward, why use them? Because they are stable: they do not change when you renumber the global prefix, which is a real event in IPv6. A static route pinned to a neighbour's link-local plus exit interface survives a renumber that would have broken a global-next-hop route — and OSPFv3 uses link-local next-hops for exactly this reason. For CCNA static routing the takeaway is narrower: if you choose link-local, you must add the exit interface.

Configure and verify

Topology: R1 — R2. The transit link is 2001:DB8:0:12::/64 (R1 = ::1, R2 = ::2, and R2's link-local there is FE80::2). R2's LAN is 2001:DB8:0:2::/64. R1 must reach R2's LAN, then hold a default route toward the edge.

Routes on R1
! Precondition — enable IPv6 forwarding (once, globally)
R1(config)# ipv6 unicast-routing

! Form 1 — global next-hop (recursive, most common)
R1(config)# ipv6 route 2001:DB8:0:2::/64 2001:DB8:0:12::2

! Form 3 — fully specified, REQUIRED for a link-local next-hop
! R1(config)# ipv6 route 2001:DB8:0:2::/64 GigabitEthernet0/0 FE80::2

! Default route (gateway of last resort)
R1(config)# ipv6 route ::/0 2001:DB8:0:12::2
show ipv6 route static
R1# show ipv6 route static
IPv6 Routing Table - default - 5 entries
Codes: C - Connected, L - Local, S - Static, ...
S   ::/0 [1/0]
     via 2001:DB8:0:12::2
S   2001:DB8:0:2::/64 [1/0]
     via 2001:DB8:0:12::2
  • S marks a static route; [1/0] is administrative distance 1 and metric 0 — the same defaults as an IPv4 static route.
  • S ::/0 is the default route. ::/0 is to IPv6 exactly what 0.0.0.0/0 is to IPv4.
  • Had you used the link-local form, the entry would read via FE80::2, GigabitEthernet0/0 — the exit interface is displayed because it is genuinely part of the route, and it is what makes the next-hop unambiguous.
  • R2 still needs a route back toward R1's LAN, or a default toward R1. Otherwise the ping leaves cleanly and dies on the return — the same one-way failure you met in IPv4.
Troubleshooting — the route that will not install
Symptom: you enter ipv6 route 2001:DB8:0:2::/64 FE80::2 and either IOS rejects the line outright or the route never appears in show ipv6 route. Diagnosis: a bare link-local next-hop is ambiguous, because that address may exist on every interface. Fix: fully specify it — ipv6 route 2001:DB8:0:2::/64 GigabitEthernet0/0 FE80::2. If instead the route installs cleanly and traffic still fails, stop suspecting the route: check ipv6 unicast-routing is enabled, then check the far router for the return route.

What you should retain

  • Enable ipv6 unicast-routing first — without it the router addresses but does not forward IPv6.
  • ipv6 route <prefix>/<len> takes a next-hop, an exit interface, or both — the same three forms as ip route.
  • A global next-hop resolves recursively and can stand alone; a link-local next-hop must be fully specified with the exit interface.
  • Default route = ipv6 route ::/0 <next-hop>, the direct analog of 0.0.0.0/0.
  • Route selection is identical to IPv4 — longest-prefix match, then AD — and return routes are still required.
  • Verify with show ipv6 route and show ipv6 route static; look for the S code and [AD/metric].
Pause and predictNot scored — nothing is recorded

Before you read on

Same R1—R2 link (2001:DB8:0:12::/64, R2 = ::2, R2's link-local FE80::2). For each command entered on R1, is the route valid, and if not what must you add? (1) ipv6 route 2001:DB8:0:2::/64 2001:DB8:0:12::2 (2) ipv6 route 2001:DB8:0:2::/64 FE80::2 (3) ipv6 route 2001:DB8:0:2::/64 GigabitEthernet0/0 FE80::2

Interactive tool
Optional~6 min

Static IPv6 Route Lab

Open it to read the topology and task list for recursive, fully specified, and default IPv6 routes. Its grader is a prototype placeholder, so use it for the patterns rather than as a graded exercise.

Section quiz

Check this section before moving on

Required8 questions~10 min

IPv6 Addressing & Routing

The quiz opens on its own page so you can focus on it. It is a Week 1 milestone, tracked separately from this lesson's own completion.

Topics covered

  • The two shortening rules and why :: appears once
  • Address types by leading bits
  • SLAAC and modified EUI-64
  • Dual-stack and ipv6 unicast-routing
  • Global versus link-local next-hops
Start the quiz

Study deeper

Topic guides extend this lesson — they do not replace the first-party walkthrough above.

IPv6

For the full ipv6 route syntax reference and the default-route form