IPv6 Global Unicast Address & Host Link-Local Address

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which command is used to manually configure an IPv6 global unicast address (GUA) on a router?

  • `interface ipv6 address ipv6-address/prefix-length`
  • `ipv6 address ipv6-address/prefix-length` (correct)
  • `ip address ipv6-address subnet-mask`
  • `ipv6 unicast-routing`

What is a key disadvantage of manually configuring IPv6 GUAs on Windows hosts?

  • It requires a connection to a DHCPv6 server.
  • It is not supported by modern operating systems.
  • It prevents the host from obtaining a link-local address.
  • It is time-consuming and error-prone. (correct)

What is the purpose of the zone ID or scope ID, indicated by the "%" symbol and a number at the end of an IPv6 link-local address?

  • To identify the network prefix of the IPv6 address
  • To associate the LLA with a specific interface. (correct)
  • To indicate the preferred DNS server for the connection
  • To specify the subnet mask for the IPv6 address

Which ICMPv6 message type is used by IPv6-enabled routers to periodically announce their presence and IPv6 network configuration parameters?

<p>Router Advertisement (RA) (A)</p>
Signup and view all the answers

Which of the following is a characteristic of SLAAC?

<p>It is a stateless service where devices create their own IPv6 global unicast address. (B)</p>
Signup and view all the answers

What is the default interval at which SLAAC sends ICMPv6 RA messages?

<p>Every 200 seconds (C)</p>
Signup and view all the answers

What type of message can a host send to immediately request a Router Advertisement?

<p>Router Solicitation (RS) (D)</p>
Signup and view all the answers

After enabling IPv6 routing, what additional configuration is needed on a router to allow it to send RA messages?

<p>The router must be configured to join the IPv6 all-nodes multicast group. (D)</p>
Signup and view all the answers

Which IPv6 multicast address do hosts send Router Solicitation messages to?

<p>ff02::2 (A)</p>
Signup and view all the answers

Which of the following describes the purpose of Duplicate Address Detection (DAD) in SLAAC?

<p>To verify that an IPv6 address generated by a host is unique on the network (A)</p>
Signup and view all the answers

According to the content, what is the primary reason some operating systems default to randomly generated Interface IDs instead of using EUI-64?

<p>Due to privacy concerns associated with using the Ethernet MAC address. (D)</p>
Signup and view all the answers

If a SLAAC host receives a Neighbor Advertisement (NA) message in response to its Neighbor Solicitation (NS) message during the Duplicate Address Detection (DAD) process, what action does the host take?

<p>It generates a new interface ID to use in creating a new IPv6 address. (D)</p>
Signup and view all the answers

Which of the following is true regarding DHCPv6?

<p>Stateless DHCPv6 requires SLAAC, while stateful DHCPv6 does not. (D)</p>
Signup and view all the answers

What UDP destination port is used for DHCPv6 messages sent from a client to a server?

<p>546 (A)</p>
Signup and view all the answers

When a host receives a Router Advertisement indicating the use of stateful DHCPv6, what type of message does the host send to obtain IPv6 addressing and configuration information?

<p>DHCPv6 SOLICIT (D)</p>
Signup and view all the answers

In stateless DHCPv6, what information does the DHCPv6 server provide to clients?

<p>Only configuration parameters, such as DNS server addresses. (C)</p>
Signup and view all the answers

Which of the following RA flag combinations indicates that hosts should use SLAAC to create an IPv6 GUA and contact a stateless DHCPv6 server for additional information?

<p>A=1, O=1, M=0 (A)</p>
Signup and view all the answers

Which command enables stateless DHCPv6 on a router interface?

<p><code>ipv6 nd other-config-flag</code> (A)</p>
Signup and view all the answers

In stateful DHCPv6, what does the DHCPv6 server maintain?

<p>A list of IPv6 address bindings. (B)</p>
Signup and view all the answers

Which command parameter is required with the ipv6 dhcp pool command when configuring stateful DHCPv6?

<p><code>address prefix</code> (D)</p>
Signup and view all the answers

Which command is used to verify the parameters of a DHCPv6 pool and identify the number of active clients?

<p><code>show ipv6 dhcp pool</code> (A)</p>
Signup and view all the answers

Which show command is used to view the IPv6 link-local address of DHCPv6 clients and their assigned global unicast addresses?

<p><code>show ipv6 dhcp binding</code> (D)</p>
Signup and view all the answers

Which DHCPv6 server type stores client IPv6 address to link-local mappings?

<p>Stateful DHCPv6 server (C)</p>
Signup and view all the answers

When is it necessary to specify the egress interface when configuring a DHCPv6 relay agent?

<p>When the next-hop address to reach the server is a link-local address. (A)</p>
Signup and view all the answers

Which command is used to configure a router as a DHCPv6 relay agent?

<p><code>ipv6 dhcp relay destination</code> (A)</p>
Signup and view all the answers

To verify that a router is operating as a DHCPv6 relay agent, which command should you use?

<p><code>show ipv6 dhcp interface</code> (A)</p>
Signup and view all the answers

What does a host do in SLAAC Only method?

<p>Use the IPv6 GUA prefix in the RA and dynamically create its own Interface ID. (C)</p>
Signup and view all the answers

What is the function of the ipv6 unicast-routing command?

<p>It enables IPv6 forwarding on the router. (B)</p>
Signup and view all the answers

To configure a stateful DHCPv6 server the A flag needs to be...

<p>Manually changed from 1 to 0 (B)</p>
Signup and view all the answers

What command is used to configure a client router to use SLAAC?

<p><code>ipv6 address autoconfig</code> (B)</p>
Signup and view all the answers

Flashcards

What is SLAAC?

A method enabling hosts to create unique IPv6 global unicast addresses without a DHCPv6 server.

What makes SLAAC stateless?

No server maintains network address information, meaning no tracking of which IPv6 addresses are in use or available.

How does SLAAC provide info?

ICMPv6 Router Advertisement (RA) messages sent periodically (every 200 seconds) with addressing and configuration information.

How to manually configure IPv6 GUA on a router?

Use the ipv6 address ipv6-address/prefix-length interface configuration command.

Signup and view all the flashcards

What is an ICMPv6 Router Advertisement (RA)?

An Internet Control Message Protocol version 6 message used by hosts to autoconfigure an IPv6 address.

Signup and view all the flashcards

When IPv6 Link-Local address is created?

The host automatically creates it when it boots and the Ethernet interface is active.

Signup and view all the flashcards

What is the A flag in RA message?

Informs to use Stateless Address Autoconfiguration (SLAAC) to create an IPv6 GUA.

Signup and view all the flashcards

What is the O flag in RA messages?

Specifies that additional information is available from a stateless DHCPv6 server.

Signup and view all the flashcards

What is the M flag in RA message?

Specifies to use a stateful DHCPv6 server to obtain an IPv6 GUA.

Signup and view all the flashcards

What is a Router Solicitation (RS) message?

Sent by hosts to the IPv6 all-routers multicast address (ff02::2) to request a Router Advertisement.

Signup and view all the flashcards

What is Duplicate Address Detection (DAD)?

Process where a host checks if its self-assigned IPv6 GUA is unique before using it.

Signup and view all the flashcards

What is EUI-64?

The host creates an interface ID using its 48-bit MAC address and inserts the hex value of fffe in the middle of the address

Signup and view all the flashcards

What is DHCPv6?

IPv6 addressing using a DHCPv6 server, may or may not use SLAAC.

Signup and view all the flashcards

What is the DHCPv6 operation steps?

The host sends an RS, router responds with RA, host sends a DHCPv6 SOLICIT, DHCPv6 server responds with ADVERTISE, host responds to the DHCPv6 server, DHCPv6 server sends a REPLY

Signup and view all the flashcards

What is Stateless DHCPv6 server?

The DHCPv6 server only provides configuration parameters and does not maintain a list of IPv6 address bindings.

Signup and view all the flashcards

What is Stateful DHCPv6 server?

The DHCPv6 server is stateful and maintains a list of IPv6 address bindings.

Signup and view all the flashcards

What is DHCPv6 Relay Agent?

A router provides DHCPv6 forwarding services when the client and the server are located on different networks.

Signup and view all the flashcards

How is Stateless DHCPv6 enabled?

Verify stateless DHCPv6 is enabled with the ipv6 nd other-config-flag interface configuration command.

Signup and view all the flashcards

How is Stateful DHCPv6 enabled?

Verify stateful DHCPv6 is enabled with the ipv6 nd managed-config-flag interface configuration command.

Signup and view all the flashcards

First step to configure DHCPv6 server?

Enable IPv6 routing using the ipv6 unicast-routing command.

Signup and view all the flashcards

Verify your DHCPv6 pool command?

The show ipv6 dhcp pool command verifies the name of the DHCPv6 pool and its parameters and identifies the number of active clients

Signup and view all the flashcards

What info does show ipv6 dhcp binding provide?

The show ipv6 dhcp binding command output displays the IPv6 link-local address of the client and the global unicast address assigned by the server.

Signup and view all the flashcards

How to verify DHCPv6 relay command?

Verify correct operation using the show ipv6 dhcp interface and show ipv6 dhcp binding commands.

Signup and view all the flashcards

Study Notes

IPv6 Global Unicast Address (GUA) Assignment

  • IPv6 GUA is manually configured on a router using the ipv6 address ipv6-address/prefix-length interface configuration command.
  • Windows hosts can be manually configured or dynamically acquire IPv6 GUA configurations.
  • Manual configuration can be time-consuming and error-prone.
  • Most Windows hosts dynamically acquire IPv6 GUA configurations.
  • Automatic IPv6 addressing uses Internet Control Message Protocol version 6 (ICMPv6) Router Advertisement (RA) messages to autoconfigure.
  • IPv6 link-local addresses are automatically created when the host boots and the Ethernet interface is active.
  • The "%" and number at the end of the link-local address is also known as a Zone ID or Scope ID, used by the OS to associate the LLA with a specific interface.
  • DHCPv6 is defined in RFC 3315.

IPv6 GUA dynamic assignment

  • IPv6-enabled routers periodically send ICMPv6 RAs to simplify dynamic IPv6 configuration.
  • Hosts can dynamically be assigned a GUA using stateless and stateful services.
  • All stateless and stateful methods use ICMPv6 RA messages to suggest how hosts create or acquire their IPv6 configuration.
  • The actual decision is ultimately up to the host, despite following the router's RA suggestion.

RA Message Flags

  • How a client obtains an IPv6 GUA depends on settings in the RA message.
  • The ICMPv6 RA message includes three flags:
    • A flag (Address Autoconfiguration): Use Stateless Address Autoconfiguration (SLAAC) to create an IPv6 GUA.
    • O flag (Other Configuration): Additional information is available from a stateless DHCPv6 server.
    • M flag (Managed Address Configuration): Use a stateful DHCPv6 server to obtain an IPv6 GUA.

SLAAC (Stateless Address Autoconfiguration) Overview

  • SLAAC allows hosts to create unique IPv6 global unicast addresses without a DHCPv6 server.
  • SLAAC is a stateless service without a server maintaining network address information.
  • SLAAC sends periodic ICMPv6 RA messages (every 200 seconds).
  • RA provides addressing and configuration information.
  • A host can send a Router Solicitation (RS) message requesting an RA.
  • SLAAC can be deployed as SLAAC only, or SLAAC with DHCPv6.

SLAAC Enabling

  • Configured Router (R1) G0/0/1 IPv6 addresses include:
    • Link-local IPv6 address fe80::1
    • GUA/subnet 2001:db8:acad:1::1, 2001:db8:acad:1::/64
    • IPv6 all-nodes group ff02::1
  • R1 joins the all IPv6 multicast group and sends RA messages with address configuration to hosts using SLAAC.
  • The IPv6 all-routers group responds to the IPv6 multicast address ff02::2.
  • The show ipv6 interface command verifies R1 has joined the IPv6 all-routers group (ff02::2).
  • R1 sends RA messages every 200 seconds to IPv6 all-nodes multicast address ff02::1.

SLAAC Only Method Flags

  • RA messages have the following flags set:
  • A=1: Informs the client to use the IPv6 GUA prefix in the RA and dynamically create its own Interface ID.
  • O=0 and M=0: Informs the client to use the additional information in the RA message (DNS server, MTU, and default gateway information).
  • A Windows command ipconfig confirms that PC1 (client) has generated an IPv6 GUA using the R1 RA.
  • The default gateway address is the LLA of the R1 G0/0/1 interface.

ICMPv6 RS (Router Solicitation) Messages

  • A router sends RA messages every 200 seconds or when it receives an RS message from a host.
  • IPv6-enabled hosts send an RS message to the IPv6 all-routers multicast address of ff02::2.
  • A host initiates as such:
    • PC1 has booted andsends an RS message to the IPv6 all-routers multicast address of ff02::2 requesting an RA.
    • R1 generates an RA and sends it to the IPv6 all-nodes multicast address of ff02::1; PC1 uses this information to create a unique IPv6 GUA.

Host Process to Generate Interface ID

  • Using SLAAC, an end host acquires the 64-bit IPv6 subnet information from the router RA and must generate the remainder 64-bit interface identifier, using either:
    • Randomly generated: The 64-bit interface ID is randomly generated by the end host operating system; used by Windows 10.
    • EUI-64: The host creates an interface ID using its 48-bit MAC address and inserts the hex value of fffe in the middle of the address. Privacy concerns can lead to the Interface ID being randomly generated instead.
  • User configurable on Windows, Linux, and macOS.

Duplicate Address Detection (DAD)

  • A SLAAC host will use Duplicate Address Detection (DAD) to ensure the IPv6 GUA is unique.
    • The host sents an ICMPv6 Neighbor Solicitation message with a specifically constructed solicited-node multicast address that contains the last 24 bits of the of the host IPv6 Address.
    • If no other devices respond with a Neighbor Advertisement message, then the address is virtually guaranteed to be unique and used by the host.
    • If an NA is received by the host, then the address is not unique, and the host must generate a new interface ID to use.
  • IETF recommends that DAD can be used, due to a 64-bit interface ID providing 18 quintillion possibilities.
  • Most operating systems perform DAD on all IPv6 unicast addresses, regardless of how the address is configured.

DHCPv6 Operation Steps

  • Stateful DHCPv6 does not require SLAAC, while stateless DHCPv6 still does.
  • Whether using SLAAC or Stateful DHCPv6, when a Router Advertisement indicates to with DHCPv6:
    • Host sends an RS message to the Router to ask for any IPv6 settings.
    • Router responds with an RA message containing any IPv6 settings.
    • Host sends a DHCPv6 SOLICIT message to the DHCPv6 server to initiate the conversation.
    • DHCPv6 server responds with an ADVERTISE message to indicate the type settings that it is able to provide the host.
    • The host responds to the DHCPv6 server after analyzing the ADVERTISE.
    • DHCPv6 server sends a REPLY message back to the host with the settings.
  • Server to client DHCPv6 messages use UDP destination port 546.
  • Client to server DHCPv6 messages use UDP destination port 547.

Stateless DHCPv6 operation

  • If an RA indicates the stateless DHCPv6 method, the host uses the information with in the RA message for addressing and then contacts a DHCPv6 server for additional information.
  • DHCPv6 only provides configuration parameters for clients and does not maintain a list of IPv6 address bindings.
  • For example, PC1 receives a stateless RA message containing:
    • The IPv6 GUA network prefix and prefix length.
    • A flag set to 1 informing the hosts to use SLAAC.
    • O flag set to 1 informing the host to look for additional configuration information from a DHCPv6 server.
    • M flag set to the default value of 0.
  • PC1 then sends a DHCPv6 SOLICIT message seeking additional information from a stateless DHCPv6 server.

Enable stateless DHCPv6 on an interface

  • Stateless DHCPv6 is enabled using the ipv6 nd other-config-flag interface configuration command setting the O flag to 1.
  • The highlighted output confirms the RA will tell receiving hosts to use stateless autoconfigure (A flag = 1) and contact a DHCPv6 server to obtain other configuration information (O flag = 1).
  • To reset SLAAC only, use the command no ipv6 nd other-config- flag, this will reset the interface to the default SLAAC only option (O flag = 0).

Stateful DHCPv6 Operation

  • If an RA indicates a stateful DHCP method, the host contacts a DHCPv6 server for all configuration information.
  • The DHCPv6 server is stateful and must maintain a list of IPv6 address bindings.
  • For example, PC1 receives a stateful RA message containing:
    • An IPv6 GUA network prefix and prefix length.
    • A flag set to 0 informing the host to contact a DHCPv6 server.
    • O flag set to 0 informing the host to contact a DHCPv6 server.
    • M flag set to the value 1.
  • PC1 sends a DHCPv6 SOLICIT message seeking additional configuration information from a stateful DHCPv6 server.

Enable stateful DHCPv6 on an interface

  • Stateful DHCPv6 is enabled using the ipv6 nd managed-config-flag interface configuration command, setting the M flag to 1.
  • The router will tell the host to obtain all IPv6 configuration information from a DHCPv6 server (M flag = 1).

DHCPv6 Router Roles

  • A Cisco IOS router can provide DHCPv6 server services.
  • It can be configured to be one of the following roles:
    • DHCPv6 Server - Provides stateless OR stateful DHCPv6 services.
    • DHCPv6 Client - Router interface acquires an IPv6 IP config from a DHCPv6 server it relies on.
    • DHCPv6 Relay Agent - Provides DHCPv6 fowarding services when the client and the server are located on different networks.

Configure a Stateless DHCPv6 Server

  • The stateless DHCPv6 server option requires that the router advertise the IPv6 network addressing information in RA messages.
  • Five steps to configure and verify a router as a stateless DHCPv6 server:
    • Enable IPv6 routing using ipv6 unicast-routing.
    • Define a DHCPv6 pool name using ipv6 dhcp pool POOL-NAME global config command.
    • Configure DHCPv6 pool with options, which may include dns-server X:X:X:X:X:X:X:X and domain-name name.
    • Bind the interface to the pool using ipv6 dhcp server POOL-NAME interface config command. Setting the O flag by using ipv6 nd other-config-flag interface command.
    • RA messages indicate additional info is available from a stateless DHCPv6 server, telling clients to use SLAAC to create their own GUA.
    • Verify that the hosts have received IPv6 addressing info, using ipconfig /all.

Configure a stateless DHCPv6 client

  • A Router can also be a DHCPv6 client and obtain an IPv6 configuration from a DHCPv6 server.
  • First, enable IPv6 routing using the ipv6 unicast-routing command.
  • Next, configure the client router to create a LLA (link-local address). Cisco IOS uses EUI-64 to create the Interface ID.
  • Configure the client router to use SLAAC with the command ipv6 address autoconfig.
  • Verify that the client router is assigned a GUA (global unicast address) using the command show ipv6 interface brief.
  • Finally, verify that the client router received the necessary DHCPv6 information with the command show ipv6 dhcp interface g0/0/1, and look look for for DHCP option information such as DNS server and domain name.

Configure a Stateful DHCPv6 Server

  • The stateful DHCP server relies on the RA telling the host to contact a DHCPv6 server to obtain necessary IPv6 network addressing information.
  • This is configured in 5 steps:
    • Enable IPv6 routing using ipv6 unicast-routing.
    • Next, define a DHCPv6 pool name using ipv6 dhcp pool POOL-NAME.
    • Now configure the DHCPv6 pool with options such as address prefix, domain name, DHS server IP address etc.
    • Then you bind the interface to the pool using ipv6 dhcp server POOL-NAME interface command.
      • Manually change M flag from 0 to 1 using ipv6 nd managed-config-flag.
      • Manually change A flag from 1 to 0 using ipv6 nd prefix default no-autoconfig this will inform the client not to use SLAAC.
      • Now verify that that the hosts have received the correct settings using ipconfig /all.

Configure stateful DHCPv6 client

  • A router needs to enable the configurations below to begin acting as a DHCP client.
  • First, enable ipv6 unicast-routing.
  • After that, you must create an LLA (link-local address). Cisco IOS uses EUI-64 to create an Interface ID.
  • Now configure the client router to use DHCPv6 by using the command ipv6 address dhcp.
  • Then, verify that the client router is assigned a GUA by using the command show ipv6 interface brief.
  • To complete the process, verify that client router receives all necessary DHCPv6 information by using show ipv6 dhcp interface g0/0/1.

DHCPv6 Server Verification Commands

  • Verify the DHCPv6 pool with the command show ipv6 dhcp pool, this command not only names the pool, but also identifies active clients.
  • Use the command show ipv6 dhcp to output the IPv6 link-local address of the client, but also display the GUA assigned from the DHCPv6 server.
    • Note: this information is not maintained by the stateless DHCPv6 server.

Configure DHCPv6 relay agent

  • If a DHCP server is situated on a different network than the client, the IPv6 router needs to be configured as a DHCPv6 agent.
  • The agent will allow the DHCP to become similar to a DHCPv4 relay.
  • This process is configured on the interface facing the DHCP and specifies the DHCPv6 server address and egress interfaceto the server.
  • This will only require to configure the hop, when the next-hop can use LLA.
  • Verify the DCHPv6 agent by verifying its functionality via commands show ipv6 and show ipv6 dhcp binding.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

IPv6 Addressing
90 questions

IPv6 Addressing

ProdigiousQuantum avatar
ProdigiousQuantum
Understanding IPv6 Addressing
39 questions

Understanding IPv6 Addressing

PermissibleAltoSaxophone avatar
PermissibleAltoSaxophone
IPv6 Protocol and Addressing
5 questions

IPv6 Protocol and Addressing

ProtectiveHafnium6835 avatar
ProtectiveHafnium6835
Use Quizgecko on...
Browser
Browser