networking:ipv6
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:ipv6 [2022/11/19 09:20] – [Prefix] oscar | networking:ipv6 [2022/11/19 10:35] (current) – [Default Route] oscar | ||
|---|---|---|---|
| Line 74: | Line 74: | ||
| - DHCPv6 - Dynamic host configuration protocol (assigned by central server) | - DHCPv6 - Dynamic host configuration protocol (assigned by central server) | ||
| - | ===== Network Discovery | + | {{ : |
| + | |||
| + | ==== SLAAC ==== | ||
| + | Stateless Auto Address Configuration (SLAAC) enables hosts to create their own unique IPv6 global unicast address without the services of a DHCPv6 server that maintains network address information to know which IPv6 addresses are being used and which ones are available. | ||
| + | * SLAAC router sends periodic ICMPv6 RA **Router Advertisement** messages (i.e., every 200 seconds) providing addressing and other configuration information for hosts to auto configure their IPv6 address based on the information in the RA. | ||
| + | * SLAAC host configures it address using the **Router Advertisement** (RA) messages send by the router | ||
| + | * A host can also send a **Router Solicitation** (RS) message requesting an RA. | ||
| + | * SLAAC can be deployed as SLAAC only, or SLAAC with DHCPv6 | ||
| + | ==== DHCPv6 ==== | ||
| + | Stateful DHCPv6 does not require SLAAC while stateless DHCPv6 does. Regardless, when an RA indicates to use DHCPv6 or stateful DHCPv6: | ||
| + | - The host sends an RS message. | ||
| + | - The router responds with an RA message. | ||
| + | - The host sends a DHCPv6 SOLICIT message. | ||
| + | - The DHCPv6 server responds with an ADVERTISE message. | ||
| + | - The host responds to the DHCPv6 server. | ||
| + | - The DHCPv6 server sends a REPLY message. | ||
| + | === Stateless DHCPv6 Operation === | ||
| + | If an RA indicates the stateless DHCPv6 method: | ||
| + | * the host uses the information in the RA message for addressing and contacts a DHCPv6 server for additional information. | ||
| + | * Note: The DHCPv6 server only provides configuration parameters for clients and does not maintain a list of IPv6 address bindings (i.e. stateless). | ||
| + | === Statefull DHCPv6 Operation === | ||
| + | If an RA indicates the statefull DHCPv6 method: | ||
| + | * the host contacts a DHCPv6 server for all configuration information. | ||
| + | * Note: The DHCPv6 server is statefull and maintains a list of IPv6 address bindings | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | ==== Show address ==== | ||
| + | ip -6 address show | ||
| + | ==== Default Route ==== | ||
| + | ip -6 route show | grep default | ||
| + | ==== Ping the host ==== | ||
| + | ping6 fe80:: | ||
| + | ==== Network Discovery ==== | ||
| < | < | ||
| ip -6 neigh show | ip -6 neigh show | ||
| Line 96: | Line 128: | ||
| ping6 -c3 -n -I <your network interface fda1 ip> ff02:: | ping6 -c3 -n -I <your network interface fda1 ip> ff02:: | ||
| </ | </ | ||
| + | |||
| + | ===== IPv6 addresses in URIs/URLs ===== | ||
| + | Because IPv6 address notation uses colons to separate hextets, it is necessary to encase the address in square brackets in URIs. For example http:// | ||
networking/ipv6.1668849655.txt.gz · Last modified: by oscar
