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
Which DHCP feature always gives a specific device the same IP address, based on its MAC address?
- Exclusion
- Reservation
- Relay
- 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.
Which statements about SLAAC are correct?
- The host learns the prefix from a router advertisement
- The host builds its own interface identifier
- A DHCP server must track every SLAAC lease
- It is used with IPv4 networks
- 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: 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.
