IPv6 lab practice
Enable IPv6 routing, address interfaces with global, link-local and EUI-64 addresses, and add IPv6 static routes.
12 labs · 4 lessons · 3 commands · 3 projects
IPv6 addresses are 128 bits, written as eight groups of hex with zeros compressed. Every IPv6 interface has a link-local address, and usually one or more global unicast addresses configured manually, with EUI-64, or learned by SLAAC.
On a Cisco router IPv6 routing is off until you enable it with ipv6 unicast-routing. After that, static routes and OSPFv3 work much as they do in IPv4, and Neighbor Discovery replaces ARP.
Hands-on labs
- IPv6 Interface Addressing (Pro)
- Enabling IPv6 Routing (Pro)
- Addressing Two IPv6 Interfaces (Pro)
- Dual-Stack on One Interface (Pro)
- IPv6 Address Autoconfiguration (Pro)
- IPv6 SLAAC: Advertising a Prefix (Pro)
- IPv6 Global Static Routes (Pro)
- An IPv6 Static Route (Pro)
- An IPv6 Default Route (Pro)
- Several IPv6 Static Routes (Pro)
- IPv6 Dynamic OSPFv3 (Pro)
- Starting an OSPFv3 Process (Pro)
To practise for free, build the topology in the free Sandbox.
Lessons, in order
- Enable IPv6 routing and address an interface (3. IP Connectivity, 10 min)
- Build an interface ID with EUI-64 (3. IP Connectivity, 12 min)
- Add static IPv6 routes through a next hop (3. IP Connectivity, 12 min)
- Break an IPv6 static routing loop (3. IP Connectivity, 12 min)
Commands
- show ipv6 interface brief — Lists every interface with its status and the IPv6 addresses on it, link-local first.
- show ipv6 route — Shows the IPv6 routing table: connected, local, static and dynamically learned prefixes and their next hops.
- show ipv6 neighbors — Shows the IPv6 neighbor cache, the NDP equivalent of the ARP table, with each neighbor’s state.
Related projects
- IPv4 / IPv6 Dual-Stack Enterprise — Kestrel Broadband's new office must be IPv6-ready for a government contract, but its accounting system is IPv4-only. Run both protocols on every link, routed independently, without turning either off.
- Dual-Stack Collapsed-Core Campus with Per-VLAN Root Placement — An engineering firm is replacing a flat office network before its IPv6 rollout. The new design is a collapsed core: two core switches (CORE-01 and CORE-02, cross-linked) and two access switches, each access switch dual-homed to both cores. Everything is cabled and the hosts are addressed (IPv4 by hand, IPv6 set to autoconfigure); the switches are factory-fresh. This change window covers phase 1: VLANs, trunks, a deterministic spanning tree, and IPv4 and IPv6 gateways on CORE-01. Gateway redundancy across both cores is phase 2 (the HSRP project), so CORE-02 is the backup root but not yet a gateway.
- IPv6-Only Multi-Area OSPFv3 for a Research Campus — A university research network is building its new lab block IPv6-only. Five routers are cabled and addressed: a backbone router (BB-CORE), two area border routers and one router in each research area, each link and lab LAN on its own /64 from 2001:db8:35::/48. Nothing routes yet. Configure OSPFv3 with area 0 in the backbone and areas 1 and 2 behind the two ABRs, with explicit router IDs (there is no IPv4 to borrow one from), advertise every lab LAN, and design the IPsec authentication the security team has asked for.