CCNA Routing with IPv6
Notes
Chapter #1 – Static Routing
IPv6 routing is very similar to IPv4. On a Cisco router, start by enabling ipv6 unicast-routing.
Then, you can use the ipv6 route command to add static routes. ::/0 is the default route.
Use show ipv6 route to show the routing table. Keep in mind that this is a different routing table to IPv4 — they are independent of each other.
If you want, you can configure unnumbered interfaces. These interfaces use link-local addresses only. All you have to do is enable IPv6 on the interface with ipv6 enable, and the router will add a link-local address.
Chapter #2 – OSPFv3
OSPFv2 is IPv4 only. OSPFv3 can handle both IPv4 and IPv6. The basics of OSPFv3 are the same as OSPFv2 — there are just a few differences in configuration.
The older way to configure OSPFv3 is with ipv6 router ospf <process>. This method is IPv6 only. The newer method is router ospfv3 <process>, which can be used with IPv4 or IPv6. Where there is a difference in configuration between the two, address-families are used.
Command Summary
| Command | Mode | Description |
|---|---|---|
| ipv6 route <prefix> <next-hop> | Global Config | Create a static route |
| ipv6 route ::/0 <next-hop> | Global Config | Create a default route |
| ipv6 route <prefix> <next-hop> <metric> | Global Config | Create a floating static route |
| show ipv6 route | Privileged Exec | Show the IPv6 routing table |
| router ospfv3 <process-id> | Global Config | Configure/start the OSPFv3 process |
| ipv6 ospf <process-id> area <area> | Interface Config | Add the interface to an OSPFv3 area |
| address-family ipv6 unicast | OSPFv3 Config | Edit the IPv6 unicast settings |