IPv6 Addressing Review - CCNP ENSARI
Configuring SLAAC, DHCPv6 + Addressing
IPv6 Addressing + Host Forwarding Determination
IPv6 addressing is made up of two parts: the first 64 bits usually represent the subnet prefix , the last 64 bits usuallly represent the interface ID. Typically manual configuration of IPv6 addressing is not advised therefore should be auto-generated or based on IEEE EUI-64 standards.
When IPv6 hosts need to communicate with another host it compares its subnet bits with the destination IP address, if subnet bits match the hosts communicate directly, if they differ hosts communicate through the default gateway.
If the subnet ID bits are identical the host creates a frame with is own source MAC address and sends the frame directly to the destination MAC address, otherwise it sends the frame to the destination MAC address of the default gateway.
IP address verification on PC (Windows) issue command: ipconfig
IP address verification on Cisco IOS issue command: show ip interface interface_type interface_number
Assigning IPPv6 Addresses to Hosts
IPv6 Unicast Address Types
Global Unicast = Public
Unique Local Unicast = Private
Link-Local = Local
IPv6 uses NDP (Neighbor Discovery Protocol) for hosts to dynamically learn their IPv6 settings. Options available are Stateful DHCP and Stateless Address Autoconfigurattion (SLAAC). Although Stateful DHCPv6 share the same general principles as DHCPv4 Stateful DHCPv6 does not offer hosts default information, handing this off to NDP for local routers to identify themselves.
SLAAC does not require a stafeful server to lease the IPv6 address and document state information about host addressing. The process utilizes NDP so host can learn the information from any router on the link, gathering prefix, prefix length and defasult router address. SLAAC rules are used to build the rest of the host address generated randomly or using EUI-64, then stateless DHCPv6 is used to provide DNS server information.
EUI-64
The hosts 48 bit MAC address is used to construct the Interface ID of the client, which is split in half and the hex value FFFE is placed in the center. The seventh bit from the left is inversely flipped to a 1 or 0 depending on the original bit. The interface ID equates to 64 bits in total after the conversion is complete.
MAC Address 0800:275D:06D6
Becomes MAC Address 0A00:27FE:FE5D:06D6
Enabling SLAAC on Router Interface
Interface Configuration Mode, issue following commands:
R1(config)# interface gi0/0
R1(config-if)# ipv6 unicast-routing
-- Enables IPv6 routing
R1(config-if)# ipv6 address autoconfig
-- Enables SLAAC manually on an interface
Router Advertisements by default are generated only on interfaces that are enabled for IPv6 routing and are not suppressed on the interface. In addition SLAAC only works if a router is using prefix /64.
DHCPv6 Operation
Process 1. SOLICIT: Clients send a solicit message to locate DHCPv6 server using multicast address FF02::1:2 (All-DHCPv6-Server multicast address)
Process 2. ADVERTISE: Servers respond to SOLICIT messages offering addressing information to the client using unicast ADVERTISE messages.
Process 3. REQUEST: Clients confirm the addresses provided and sends this message to the server.
Process 4. REPLY: Servers finalize the process with this message.
| DHCPv4 | Stateful DHCPv6 | NDP |
|---|---|---|
| Unicast Address | Unicast Address | |
| Subnet Mask | Prefix Length | |
| Default Router | Default Router | |
| DNS Server | DNS Server |
| SLAAC | NDP | Stateless DHCPv6 |
|---|---|---|
| Unicast Address | Prefix | |
| Prefix Length | ||
| Default Router | ||
| DNS Server |
| DHCPv6 Message Types | Description |
|---|---|
| SOLICIT | Clients send this message to locate a DHCPv6 server. |
| ADVERTISE | DHCPv6 server send this message in response to a SOLICIT indicating availability. |
| REQUEST | Request for IP configuration parameters sent from clients. |
| CONFIRM | Clients send this message to a server to determine whether the address it was assigned is still appropriate. |
| RENEW | Clients send this message to the server that assigned the address to extend the assigned address lifetime. |
| REBIND | When there is no response to a RENEW, a client sends a REBIND message to server to extend the assigned address lifetime. |
| REPLY | Servers sends this message to a client containing assigned address configuration settings in response to a SOLIT, REQUEST, RENEW or REBIND message received from client. |
| RELEASE | A client sends this message to a server to inform the server that the assigned address is no longer needed. |
| DECLINE | Clients send this message to a server to inform the server assigned addres is already in use. |
| RECONFIGURE | Servers sends this message to a client when the server has new updated information. |
| INORMATION-REQUEST | Clients send this message to a server when the client only needs additional configuration information excluding IP address assignment. |
| RELAY-FORW | A relay agent uses this message to forward messages to DHCP server. |
| RELAY-REPL | DHCP servers use this message to reply to the relay agent. |
Odom, Wendell (2017.) (Cisco CCNA Routing and Switching, Official Cert Guide.)









