The following section is a summary of the major points you should be aware of in this chapter.
IP version 6 Protocol Overview and Fundamentals
- Version 6 of the Internet Protocol provides additional capabilities over the current version 4
- The additional capabilities included in IPv6 include the following
- The Simplified IPv6 Packet Header
- Larger Address Space
- IPv6 Addressing Hierarchy
- IPv6 Extendibility
- IPv6 Broadcast Elimination
- Stateless Autoconfiguration
- Integrated Mobility
- Integrated Enhanced Security
- There are three ways in which IPv6 addresses can be represented. These three ways are:
- The Preferred or Complete Address Representation or Form
- The Compressed Representation
- The IPv6 Addresses with an Embedded IPv4 Address
- There are two kinds of IPv6 addresses that contain an embedded IPv4 address. These are:
- IPv4-compatible IPv6 addresses
- IPv4-mapped IPv6 addresses
- IPv4-compatible IPv6 addresses have the first 96 bits of the address set to a value of 0
- IPv4-compatible IPv6 addresses complete the address using the 32-bit IPv4 address
- IPv4-mapped IPv6 addresses have the first 80 bits set to 0 and the next 16 set to all 1s
- IPv4-mapped IPv6 addresses complete the address using the 32-bit IPv4 address
- IPv6 addresses can be classified as any one of the following:
- Link-Local Addresses
- Site-Local Addresses
- Aggregate Global Unicast Addresses
- Multicast Addresses
- Anycast Addresses
- Loopback Addresses
- Unspecified Addresses
Understanding and Troubleshooting EIGRPv6
- EIGRP for IPv6, also called EIGRPv6, is very similar to EIGRP for IPv4 or EIGRPv4
- The same core routing protocol operation is applicable to both versions, e.g. DUAL
- The differences between EIGRPv4 and EIGRPv6 are listed in the following table:
| Protocol Characteristic | EIGRP For IPv4 | EIGRP For IPv6 |
|---|---|---|
| Automatic Summarization | Yes | Not Applicable |
| Authentication or Security | MD5 | Built into IPv6 |
| Common Subnet for Peers | Yes | No |
| Advertisement Contents | Subnet/Mask | Prefix/Length |
| Packet Encapsulation | IPv4 | IPv6 |
- By default, when EIGRPv6 is implemented on a device, the protocol is in a shutdown state
- EIGRPv6 requires an IPv4 address as the router ID
- EIGRPv6 uses the link local address of the neighbor router(s) as the next-hop address
Understanding and Troubleshooting RIPng
- RIP next generation (RIPng) is the successor of RIPv2 but is exclusively for the IPv6 protocol
- The similarities and differences between RIPv2 and RIPng are listed in the following table:
| Protocol Characteristic | RIPv2 | RIPng |
|---|---|---|
| Protocol Classification | Distance Vector | Distance Vector |
| Hop Limitation | 15 | 15 |
| Split Horizon | Yes | Yes |
| Poison Reverse | Yes | Yes |
| Transport Layer Protocol | UDP | UDP |
| Multicast Updates | Yes (224.0.0.9) | Yes (FF02::9) |
| Administrative Distance | 120 | 120 |
| Hold-down Timers | Yes | Yes |
| Destination Prefix Length | 32-bit | 128-bit |
| Next Hop Length | 32-bit | 128-bit |
| Next Hop Address | Primary Interface Address | Link-Local Address |
| Transport | IPv4 | IPv6 |
| UDP Port Number | 520 | 521 |
| Authentication | Text and MD5 | Inbuilt into IPv6 (IPsec) |
| Automatic Summarization | Yes (enabled by default) | Not Applicable |
| Can Broadcast Updates | Yes | Not Applicable |
Understanding and Troubleshooting OSPFv3
- While similar in many ways, OSPFv2 and OSPFv3 have many differences which include:
- Unlike OSPFv2, OSPFv3 runs over a link, negating the need to use network commands
- OSPFv3 uses Link-Local addresses to identify the OSPFv3 adjacencies
- OSPFv3 introduces two new OSPF LSA types, which are the Type 8 and Type 9 LSAs
- OSPFv3 encapsulates messages (transport) using IPv6 datagrams
- OSPFv3 uses IPv6 Multicast groups FF02::5 and FF02::6 and not IPv4 Multicast groups
- OSPFv3 leverages the inbuilt capabilities of IPSec for security
- The Options field in Hello Packets and DBD packets has been expanded to 24-bits
- The OSPFv3 Hello packet contains no address information, but includes an Interface ID
Troubleshooting IPv6 Route Redistribution
- For the most part, IPv6 route redistribution follows the same logic as IPv4 redistribution
- However, there are some notable differences between the two, which include:
- With RIPng, instances using the same port and Multicast group will share information
- By default, connected routes are not automatically included in redistribution for IPv6
- Route filtering must reference either IPv6 ACLs or IPv6 prefix lists
- When redistributing IPv6 prefixes into OSPFv3, the subnets keyword is not required
- By default, all local routes, are not included in the route redistribution
- Only global IPv6 addresses are redistributed; Link-Local prefixes are not redistributed
IPv4 and IPv6 Interoperability
- With dual-stack implementations, hosts and network devices run both IPv6 and IPv4
- With tunneling mechanisms, IPv6 packets are tunneled in IPv4 packets
- With protocol translation, IPv6-to-IPv4, and vice-versa, translation is implemented
- Tunneling allows IPv6 packets to be encapsulated and sent over native IPv4 internetworks
- The following tunneling mechanisms are supported in Cisco IOS software:
- Static (Manually Configured) IPv6 Tunneling
- 6to4 Tunneling
- Automatic IPv4-compatible Tunneling
- ISATAP Tunneling
- Generic Routing Encapsulation Tunneling
- Static tunneling requires the static configuration of tunnels on dual-stack devices
- Static tunneling requires tunnel source and destination addresses to be specified
- Static tunneling is enabled using the tunnel mode ipv6ip interface configuration command
- 6to4 tunneling allows tunnels to be dynamically created
- 6to4 tunneling requires no explicit tunnel destination to be configured
- 6to4 tunneling has the following characteristics:
- Automatic or Dynamic Tunneling
- Automatic Prefix Assignment
- There is no IPv6 Route Propagation
- 6to4 tunneling uses the IPv6 2002::/16 prefix which was assigned by IANA for 6to4 sites
- The tunnel mode ipv6ip 6to4 command is used to enable 6to4 tunneling
- Automatic IPv4-compatible tunneling is also a dynamic tunneling mechanism
- Automatic IPv4-compatible tunnels use the IPv6 prefix ::/96
- The tunnel mode ipv6ip auto-tunnel enables automatic IPv4-compatible tunneling
- ISATAP is an automatic overlay tunneling mechanism
- ISATAP uses the underlying IPv4 network as an NBMA Link Layer for IPv6
- ISATAP addressing includes the 0000:5EFE high-order 32-bit value
- The tunnel mode ipv6ip isatap command is used to enable ISATAP tunneling
- GRE is a tunnel encapsulation protocol that is used to tunnel protocols over an internetwork
- GRE is the default encapsulation protocol used on tunnel interfaces
- GRE provides much greater flexibility than the other different tunneling mechanisms
- GRE tunnels use a tunnel mode of gre ip to tunnel IPv6 packets over IPv4
- While GRE and manual tunnels have similar configurations, there are some differences:
- Generic Routing Encapsulation tunnels have a default MTU value of 1476 bytes
- Static IPv6-in-IPv4 tunnels have a default MTU value of 1480 bytes
- For GRE tunnels, the Link-Local address is derived via the EIU-64 method
- For static IPv6-in-IPv4 tunnels, the Link-Local address is derived from the FE80::/96 prefix
- GRE supports multiple protocols
- Static IPv6-in-IPv4 tunnels only support the encapsulation of IPv6 in IPv4 packets
- Before implementing tunneling, the following factors should be taken into consideration:
- Maximum Transmission Unit issues
- ICMPv4 Error Messages
- Protocol Filtering
- Network Address Translation
- The most common reasons for tunneling issues are device misconfigurations
- Additional reasons include Layer 1, 2, and 3 issues
- In rare cases, hardware and software faults or bugs can cause tunneling issues