Everyday Guidebooks
Cover of CCNA Study Guide to IPv6 Address Assignment

Cybersecurity & IT

CCNA Study Guide to IPv6 Address Assignment

An Unofficial Guide to Router Advertisements, SLAAC, and DHCPv6

by Todd Michael

Available now

When an IPv6 host joins a network, which device supplies its address, default gateway, and DNS information? The answer depends on how router advertisements, SLAAC, and DHCPv6 work together—and a few flags can change the outcome.

This focused ccna study guide takes you beyond memorized definitions. Follow text-based packet exchanges, read annotated router configurations, and compare SLAAC with stateless and stateful DHCPv6 in realistic network scenarios. Learn to interpret advertisement flags, distinguish address assignment from other configuration, and troubleshoot clients that receive incomplete or unexpected settings.

Original questions, worked answers, and explanations give you opportunities to test your understanding and identify gaps before exam day. A final set of mixed scenarios brings the methods together without requiring physical lab equipment.

Written for candidates with basic networking knowledge, this independent resource concentrates on one challenging CCNA topic rather than attempting to cover the entire exam. It is not affiliated with or endorsed by Cisco.

Contents
  1. 1. The IPv6 Assignment Decision
  2. 2. Addressing Essentials for Assignment
  3. 3. Neighbor Discovery and the First Packets
  4. 4. Reading Router Advertisements
  5. 5. SLAAC from Prefix to Address
  6. 6. Stateless DHCPv6 in Context
  7. 7. Stateful DHCPv6 in Context
  8. 8. The Flag and Method Comparison
  9. 9. Configuring Router Advertisements
  10. 10. Configuring DHCPv6 Services
  11. 11. Verifying the Host's View
  12. 12. Troubleshooting Assignment Failures
  13. 13. Mixed Scenario Practice
  14. 14. Final Review and Readiness Check
  15. Other Books by Todd Michael

Read a sample: 1. The IPv6 Assignment Decision

A laptop joins an IPv6 network and receives an address. Can it now reach a website?

Not necessarily. The laptop also needs to know how to reach destinations beyond its local link. If the user enters a name rather than a numeric address, it may need a DNS server. Even when all those pieces are present, a routing, filtering, or application problem can still prevent the connection.

For a CCNA candidate, the useful question is not simply, “Did the host get an IPv6 address?” It is:

Which device supplied each piece of configuration, and what evidence shows that the host can use it?

That question separates several mechanisms that are easy to blend together. A router advertisement can identify a default router and advertise information about a prefix. Stateless address autoconfiguration, or SLAAC, lets a host form an address using suitable advertised prefix information. DHCPv6 can supply an address, other configuration, or both, depending on the service and client behavior. These mechanisms can cooperate, but they do not all perform the same job.

This chapter establishes a topology and a set of questions that will follow us through packet traces, configurations, and troubleshooting exercises. The goal is to build a map before examining the individual roads.

Imagine a small office network with a client, a router, and a DHCPv6 server:

text Other IPv6 networks | +--------+ | R1 | | Router | +--------+ | Office LAN: 2001:db8:10:1::/64 | +-------------+-------------+ | | +---------+ +-----------+ | Client A| | DHCPv6-S1 | | Host | | Server | +---------+ +-----------+

The prefix 2001:db8:10:1::/64 is used here for documentation examples. In this scenario, R1 connects the office LAN to other IPv6 networks. Client A wants to communicate both on the LAN and beyond it. DHCPv6-S1 is available if the chosen design calls for DHCPv6.

Each participant has a different responsibility:

- Client A receives network information, makes configuration decisions according to its implementation, configures addresses, and selects routes. - R1 sends router advertisements on the LAN and can serve as a default router. Its advertisements can also carry prefix information and indicate whether DHCPv6 is available for particular purposes. - DHCPv6-S1 responds to DHCPv6 requests with the information its service is configured to provide. Depending on the design, that can include addresses, other settings such as DNS server addresses, or both.

The server is shown on the same LAN to keep the first examples simple. A DHCPv6 server can also be reached through a relay when it is elsewhere in the network. Relay behavior is important, but it does not change the central distinction: DHCPv6 service and router discovery are separate functions.

The topology is deliberately small. A production link might have multiple routers, more than one advertised prefix, redundant DHCPv6 servers, and clients with different operating systems. Starting with one of each participant makes it easier to identify where an individual piece of information comes from.

Consider four questions whenever you examine an IPv6 client configuration:

1. What address or addresses can the host use? 2. Which destinations does it consider on-link? 3. Which router can it use for destinations beyond the link? 4. Where does it obtain other settings, such as DNS server addresses?

These questions form the book’s comparison framework. The answers may come from different mechanisms, and a single answer can sometimes have more than one source.

An address identifies an interface for communication. Client A will normally have a link-local IPv6 address on its active interface. It may also have one or more addresses suitable for broader communication, configured through SLAAC, DHCPv6, manual configuration, or a combination of methods.

On-link information helps the client decide whether a destination can be reached directly on the local link. A prefix in a router advertisement can carry an on-link indication. That decision is distinct from whether the prefix can be used for SLAAC: a prefix can have separate indications for those purposes.

A default router gives the client a next hop for destinations that do not match a more specific route. On a typical dynamically configured IPv6 host, router advertisements are central to discovering that router. The router’s link-local address is commonly used as the next hop in the host’s default route.

Other settings include information that applications and the host may need but that is not itself an interface address or default route. DNS server addresses are a common example. They may be supplied through DHCPv6, through suitable router advertisement options, or by another configuration method. The design and the host’s support determine what actually appears on the client.

The distinction matters because these pieces can succeed independently. Client A might configure an address from an advertised prefix while failing to learn a usable default router. It might learn a default router but receive no DNS server information. It might have an address and DNS information from DHCPv6 but still lack a default route if router discovery has failed.

An address is evidence of one part of configuration. It is not proof that all four questions have satisfactory answers.

A router advertisement, usually abbreviated RA, is an IPv6 Neighbor Discovery message sent by a router on the local link. Routers send advertisements periodically, and a host can send a router solicitation to prompt an advertisement when it joins a link.

An RA can tell the host several different things. Among them are:

- Whether the advertising router is offering itself as…

More Cybersecurity & IT

Cover of The White Hat Bible, Volume 1The White Hat Bible, Volume 1Available nowCover of The White Hat Bible, Volume 2The White Hat Bible, Volume 2Available nowCover of The White Hat Bible, Volume 3The White Hat Bible, Volume 3Available nowCover of The White Hat Bible, Volume 4The White Hat Bible, Volume 4Available nowThe White Hat Bible, Volume 5Available nowCover of The White Hat Pocket GuideThe White Hat Pocket GuideAvailable now

About Todd Michael

Todd Michael is an American author and the founder of ToddMichael.tv. He writes practical, plain-English books on money, health, preparedness, technology, games, humor and more.

About the author Todd Michael · Todd Michael’s author site

Part of the ToddMichael.tv network.