IPv6 Addressing and Notation
IPv6 uses 128-bit addresses in hexadecimal notation. This provides an almost limitless supply of unique addresses compared to IPv4's 32-bit space.
Address Format and Shorthand
IPv6 addresses are written as eight groups of four hexadecimal digits separated by colons. For example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Two shorthand rules simplify notation:
- Omit leading zeros in each group (2001:db8:85a3:0:0:8a2e:370:7334)
- Replace consecutive zero groups with :: once per address (2001:db8:85a3::8a2e:370:7334)
Network and Host Structure
Each IPv6 address divides into two parts. The prefix (typically 64 bits) identifies the network. The suffix (64 bits) identifies the host on that network. This differs from IPv4's variable-length subnet masking.
Three Core Address Types
IPv6 defines three communication methods:
- Unicast: One-to-one communication between two devices
- Multicast: One-to-many communication to multiple devices
- Anycast: One-to-nearest communication to the closest device
Understanding these types and notation conventions is fundamental for CCNA candidates. You'll need to recognize, interpret, and configure IPv6 addresses in various network scenarios.
IPv6 Address Types and Scopes
IPv6 defines several special address types with specific purposes in network communication. Each type has a unique prefix and use case.
Public and Private Addresses
Global unicast addresses are publicly routable addresses equivalent to public IPv4 addresses. They start with 2000::/3 and can communicate across the internet.
Unique local addresses (ULA) are private addresses equivalent to RFC 1918 IPv4 addresses. They start with fc00::/7 or fd00::/8 and never route on the public internet.
Automatic and Special Addresses
Link-local addresses are automatically configured on all IPv6-enabled interfaces without any manual setup. They begin with fe80::/10 and enable neighbor discovery and local communication.
The loopback address (::1) tests local system functionality, just like 127.0.0.1 in IPv4.
Multicast and Discovery Addresses
Multicast addresses start with ff00::/8 and enable one-to-many communication. Key examples include:
- ff02::1 (all nodes on local link)
- ff02::2 (all routers on local link)
- ff02::1:ff00:0/104 (solicited-node multicast for address resolution)
Solicited-node multicast addresses perform functions similar to ARP in IPv4. Understanding these address types is crucial because different types have different routing scopes. Flashcards are particularly effective for memorizing address prefixes and their associated purposes.
IPv6 Configuration and Implementation
Configuring IPv6 on Cisco routers and switches requires understanding both stateless and stateful address autoconfiguration methods.
Stateless Address Autoconfiguration (SLAAC)
SLAAC allows devices to automatically generate their own IPv6 addresses without manual configuration or DHCP servers. Devices use the interface's MAC address (converted to EUI-64 format) combined with the network prefix advertised by routers.
Routers send Router Advertisement (RA) messages using ICMPv6 to advertise network prefixes. Hosts automatically combine this prefix with their device-specific suffix.
Stateful Configuration with DHCPv6
DHCPv6 provides addresses and other network configuration parameters, similar to DHCP in IPv4 environments. Use this when you need centralized control over IP assignment and network settings.
Cisco Configuration Commands
Enable IPv6 on routers with basic commands:
- ipv6 enable (enables IPv6 generally)
- ipv6 address 2001:db8:1::1/64 (assigns specific address)
- ipv6 nd prefix-advertisement (controls RA behavior)
Understanding both configuration methods is essential because different network environments prefer different approaches. Flashcards help you memorize command syntax and parameter meanings.
IPv6 Transition Mechanisms and Coexistence
IPv6 networks cannot simply replace IPv4 overnight. Several transition mechanisms enable IPv6 and IPv4 to coexist during migration.
Dual-Stack: The Preferred Approach
Dual-stack (native dual-stack) runs both IPv4 and IPv6 protocols simultaneously on the same interfaces and networks. This approach allows gradual migration without disrupting existing IPv4 services and is the most practical solution.
Tunneling Mechanisms
Tunneling encapsulates IPv6 packets within IPv4 packets to transmit them across IPv4-only networks:
- Manual IPv6 tunnels: Require specific configuration on both endpoints
- 6to4 tunnels: Use specific address format (2002:xxxx:xxxx::/48) derived from IPv4 addresses
- Teredo tunneling: Enables IPv6 through NAT devices and firewalls using UDP encapsulation
Translation Mechanisms
NAT64 and DNS64 allow IPv6-only clients to communicate with IPv4-only servers by translating addresses and protocols at network boundaries.
The choice of transition mechanism depends on your network requirements, existing infrastructure, and migration timeline. Understanding these mechanisms is particularly important for the CCNA exam because you'll need to select appropriate strategies for different scenarios. Flashcards help you compare tunneling versus translation versus dual-stack approaches.
IPv6 Routing and Network Discovery
IPv6 routing operates similarly to IPv4 routing but uses updated protocols and automatic discovery mechanisms.
Automatic Network Discovery
Router Advertisement (RA) messages (ICMPv6 type 134) are sent periodically or in response to Router Solicitation (RS) messages from hosts. RA messages enable hosts to learn the network prefix and default gateway without manual configuration.
Neighbor Discovery Protocol (NDP) replaces ARP in IPv6. It uses ICMPv6 messages called Neighbor Advertisement and Neighbor Solicitation to resolve IPv6 addresses to MAC addresses.
Static and Dynamic Routing
Static routing in IPv6 uses this command syntax:
- ipv6 route destination/prefix-length next-hop
Dynamic routing protocols include:
- OSPFv3 (OSPF for IPv6) using ipv6 router ospf process-id
- IS-IS with IPv6 extensions
- BGP with IPv6 address family
These protocols maintain routing tables that determine the best path for IPv6 packets through your network. Understanding routing fundamentals is crucial for CCNA exam success. Flashcards work particularly well for memorizing command syntax, protocol types, and ICMPv6 message types.
