Bitzu

N10-009 ยท Disaster recovery and network services

DHCP and SLAAC

Scopes, reservations, exclusions, lease time, options, relay/IP helper and IPv6 SLAAC.

Key points

  • DHCP (UDP 67 server / 68 client) leases addresses from a scope.
  • Exclusion: addresses removed from the pool. Reservation: fixed MAC-bound address.
  • Lease time: how long a client keeps it. Options: extras such as gateway, DNS.
  • Relay agent (IP helper): forwards broadcasts to a DHCP server on another subnet.
  • SLAAC: prefix from a router advertisement plus own interface identifier, checked by duplicate address detection; no lease server.

Source: https://www.rfc-editor.org/rfc/rfc4862

Practice questions

Single choice

Which DHCP feature always gives a specific device the same IP address, based on its MAC address?

  1. Exclusion
  2. Reservation
  3. Relay
  4. Lease
Show answer

Answer: B. Reservation

A reservation binds an address to a MAC. An exclusion only removes addresses from the pool; it does not assign one to a device.

Select all that apply

Which statements about SLAAC are correct?

  1. The host learns the prefix from a router advertisement
  2. The host builds its own interface identifier
  3. A DHCP server must track every SLAAC lease
  4. It is used with IPv4 networks
  5. The host checks the address with duplicate address detection
Show answer

Answer: A. The host learns the prefix from a router advertisement, B. The host builds its own interface identifier, E. The host checks the address with duplicate address detection

SLAAC uses the router advertisement prefix plus a host-built interface identifier, and checks it with duplicate address detection. It needs no DHCP server for the address and is IPv6-only.

True or false

True or false: a DHCP exclusion range hands out those addresses to specific devices.

Show answer

Answer: False

An exclusion removes addresses from the pool so the server never offers them, typically because they are statically assigned. Handing a fixed address to a device is a reservation.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More N10-009 topics in this module