Network Design and Operations

In IPv6 SLAAC (stateless address autoconfiguration), how does a host create a global unicast address?

  1. AIt queries a DHCPv6 server and leases a 128-bit address managed by the server for a set period
  2. BIt combines the /64 prefix in the router advertisement (RA) sent by a router with an interface ID (the lower 64 bits) it creates itself, and uses the address after checking that no other device has the same address
  3. CIt puts its own IPv4 address as it is into the lower 32 bits and fills the upper bits with a value starting with fe80
Show answer and explanation

Answer: B. It combines the /64 prefix in the router advertisement (RA) sent by a router with an interface ID (the lower 64 bits) it creates itself, and uses the address after checking that no other device has the same address

With SLAAC, a host learns the prefix of its link (normally a /64) from the router advertisements (RAs) that routers send periodically or on request. It combines this with an interface ID, either in the EUI-64 format derived from its MAC address or based on a random value, to form an address. Before using it, the host uses Neighbor Discovery to check that no other device is using the same address (duplicate address detection, DAD). The link-local address of the router that sent the RA becomes the default gateway, and because no server manages the address assignments, it is called "stateless." DNS server addresses are provided by an RA option or by stateless DHCPv6.

  • A. This is address assignment by stateful DHCPv6.
  • B. Correct. It combines the RA prefix with an interface ID it creates itself.
  • C. No such method exists. Addresses starting with fe80 are link-local addresses, not global unicast addresses.
Practice this topic Back to topic

Related calculators

Books on Network Design and Operations Ad

As an Amazon Associate I earn from qualifying purchases.

More Network Design and Operations questions

  1. An interface with MAC address 00-1A-2B-3C-4D-5E creates an address with SLAAC from the prefix 2001:db8:1:1::/64 and an interface ID in the EUI-64 format. Which address results?
  2. Two sites that run only IPv6 are to be connected through a network that runs only IPv4, and the traffic between the sites should remain IPv6 packets. Which method is appropriate?
  3. In traceroute, what value is the TTL in the IP header set to in the packet sent to make the fourth router from the source return an ICMP Time Exceeded message?
  4. Running traceroute from a host to web server 198.51.100.80 showed, on lines 1 to 5, 192.168.1.1, 10.0.0.1, "* * *" (no response), 203.0.113.1 and 198.51.100.80, in that order, and the web server could be used without problems. Which is the most appropriate interpretation of line 3?
  5. In IPv4, a packet with a total length of 4000 bytes (a 20-byte header and 3980 bytes of data) is split up (fragmented) on a link with an MTU of 1500 bytes. The fragments also have 20-byte headers, and fragmentation is allowed. What is the value of the fragment offset field in the last fragment?

Comparisons in this topic