IPv6, the successor to IPv4, addresses the limitations of its predecessor by providing a vastly larger address space, simplified autoconfiguration, and improved security features. Understanding IPv6 is crucial for the PCNSE exam, as Palo Alto Networks firewalls extensively support and manage IPv6 networks. You will be expected to configure, troubleshoot, and secure IPv6 deployments.
IPv6 addresses are 128-bit, represented in hexadecimal notation and separated by colons. There are three main types:
IPv6 addresses are 128 bits long and are typically written in hexadecimal notation, grouped into eight 16-bit blocks separated by colons. For example:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
To simplify representation, leading zeros within a block can be omitted, and consecutive blocks of zeros can be replaced with a double colon (::), but this can only be done once in an address. For instance:
2001:db8:85a3::8a2e:370:7334
GUAs are globally routable and equivalent to public IPv4 addresses. They are essential for internet connectivity. The structure includes a Global Routing Prefix, Subnet ID, and Interface Identifier.
Structure of a Global Unicast Address
ULAs are private addresses, not routable on the public internet, similar to IPv4 private addresses (RFC 1918). They use the prefix
fc00::/7
.
LLAs are automatically configured on interfaces and are used for communication within the same link or subnet. They use the prefix
fe80::/10
and are not routable beyond the local link.
EUI-64 is a method for generating the 64-bit Interface Identifier part of an IPv6 address. This is usually derived from the device's 48-bit MAC address. A key step in the process is inverting the 7th bit (U/L bit) of the MAC address. This format is very common but brings some inherent privacy risks from embedding a mac address into the public ipv6 interface address.
EUI-64 Process
SLAAC enables automatic IPv6 address configuration without a DHCPv6 server. Devices solicit routers for network prefixes via Router Solicitation (RS) messages. Routers respond with Router Advertisements (RA) containing prefixes. Devices then combine the prefix with an Interface Identifier (often using EUI-64) to create a unique address.
SLAAC Process
DHCPv6 can be used in stateful (address assignment) or stateless (other configuration parameters) mode. It provides more control than SLAAC, allowing for centralized address management and distribution of additional network information (DNS servers, domain names, etc.).
DHCPv6 Stateful Address Assignment
DHCPv6-PD allows a client router to request an IPv6 prefix from a DHCPv6 server, typically an ISP. The client router then uses this delegated prefix to assign addresses to its downstream devices, enabling automated subnet management.
DHCPv6-PD Example