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…