The following section is a summary of the major points you should be aware of in this chapter. Integrating IPv4 and IPv6 Network Environments
- The advantages of migrating from IPv4 to 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
- However, it is not always possible or actually feasible to migrate directly from IPv4 to IPv6
- In most cases, IPv4 and IPv6 environment must be integrated so they can co-exist
- IPv4 and IPv6 integration and co-existence strategies are divided into three broad classes:
- Dual-Stack Implementations
- Tunneling
- Protocol Translation
- 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
IPv4 and IPv6 Dual-stack Implementations
- There are two main methods for integrating IPv4 and IPv6 environments using dual-stack
- The first method requires manual configuration by the user
- The second method entails using a naming service, such as DNS
- In Cisco IOS software, dual-stack is implemented by configuring IPv4 and IPv6 addresses
- When dual-stack is implemented, IPv6 is preferred over IPv4
- Applications, tools and protocols that have dual-stack support in IOS software include:
- DNS
- Ping
- Telnet
- SSH
- TFTP
- Traceroute
- HTTP
- Frame Relay
- FHRPs, such as HSRP and GLBP
Tunneling IPv6 datagrams across IPv4 Networks
- 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
Translating Between IPv4 and IPv6 Domains
- NAT-Protocol Translation is used to translate between IPv4 and IPv6 and vice-versa
- NAT-PT has been made obsolete by RFC 4966 and deprecated to historic status
- NAT, in general, has some limitations which should be considered before deploying:
- Breaking the end-to-end IP model
- The need to maintain connection state issues
- The inhabitation of end-to-end security
- Applications that are not NAT-friendly
- Address space collision
- Ratio of internal and reachable IP addresses
- NAT-PT is a Stateful mechanism. In other words, NAT-PT keeps track of connection states
- NAT-PT requires that a predefined /96 prefix must be routed toward the NAT-PT device
- There are several different types of operations defined for NAT-PT. These types include:
- Static NAT-PT
- Dynamic NAT-PT
- NAPT-PT
- NAT-PT DNS ALG
- Static NAT-PT is used to provide a one-to-one mapping between an IPv6 and IPv4 address
- Dynamic NAT-PT provides one-to-one mapping using a pool of addresses
- NAPT-PT provides one-to-many mappings for multiple IPv6 addresses & an IPv4 address
- NAT-PT DLS ALG uses a DNS ALG to translate the DNS transactions
- Specially, NAT-PT has several limitations which should be considered before deploying:
- It introduces a single point of failure
- Inhibition of end-to-end security
- Applications that are not NAT-friendly
- PMTUD
- IPv4 Options
- Multicast
- DNS
Additional IPv4 and IPv6 Integration Mechanisms
- The following additional mechanisms can be used for IPv4 and IPv6 integrations
- These mechanisms, while valid, are not supported in Cisco IOS software
- Application Layer Gateways
- Tunnel Brokers
- Tunnel Servers
- Teredo Tunneling
- Bump in the Stack
- TCP-UDP Relay
- Dual-Stack Transition Mechanism
- SOCK-based IPv6/IPv4 gateway