DHCP options explained: gateway, DNS, NTP, PXE boot, phones and access points
In short: Besides an IP address and mask, a DHCP server can send dozens of options. The most common are the default gateway (3), DNS servers (6) and domain name (15). Others tell IP phones and access points where their configuration or controller is (43, 66, 150), tell PCs how to boot over the network (66/67), and give relays a way to identify the switch port a request came from (82).
More than an address
A DHCP reply contains the client's IP address and subnet mask, plus a list of options, each identified by a number. Clients request the options they understand, and the server sends what it has configured. This is how thousands of devices get the right settings with no manual work.
The everyday options
- Option 3, router: the default gateway.
- Option 6, DNS servers: in order of preference.
- Option 15, domain name and option 119, domain search list: so users can type short names.
- Option 42, NTP servers: used by many network devices and Linux clients (Windows usually gets time from the domain instead).
- Option 51, lease time: how long the address is valid. Short leases (an hour or two) suit busy guest Wi-Fi; longer leases (eight days) suit stable office PCs.
Options for devices that boot or join a system
- Option 43, vendor-specific information: commonly used to tell lightweight access points the IP address of their wireless LAN controller. The value format depends on the vendor, so follow the AP vendor's guide exactly.
- Option 60, vendor class identifier: sent by clients to say what they are (for example "Cisco AP c9120"), so the server can give device-specific options.
- Options 66 and 67, TFTP server and boot file name: for PXE network booting of PCs (operating system deployment) and for some phones.
- Option 150, TFTP server list: Cisco IP phones use it to find their configuration server.
- Option 114, captive portal: announces the guest Wi-Fi login page.
Option 82: relay agent information
When a switch or router relays DHCP (or performs DHCP snooping), it can insert option 82 with the switch and port the request came from. The server can then hand out addresses based on location, and security tools can log exactly where a device connected. Some DHCP servers reject requests with option 82 from untrusted sources, a common cause of "DHCP stopped working after enabling snooping".
Configuring options
ip dhcp pool VOICE
network 10.10.110.0 255.255.255.0
default-router 10.10.110.1
dns-server 10.10.5.53 10.10.5.54
domain-name example.local
option 150 ip 10.10.5.60
lease 2
ip dhcp pool APS
network 10.10.90.0 255.255.255.0
default-router 10.10.90.1
option 43 hex f104.0a0a.0514
In the option 43 example for Cisco APs, f1 is the type, 04 the length (one controller, 4 bytes) and 0a0a.0514 is 10.10.5.20 in hex. On Windows Server, options are set per server, per scope or per reservation in the DHCP console or with Set-DhcpServerv4OptionValue.
Reservations
A reservation always gives the same address to a specific MAC address (or client ID). It suits printers and other devices that need a stable address while keeping central control, rather than configuring static IPs by hand on each device.
Seeing what a client received
- Windows:
ipconfig /allshows gateway, DNS, lease times and DHCP server. - Linux: the lease file or
nmcli device show. - Wireshark with the filter
dhcp(orbootpin older versions) shows every option in the Offer and Ack.
Real-world example: access points stuck searching
A school added a new building with 30 access points on a new VLAN. None joined the wireless controller. The APs were on a different subnet from the controller and could not find it by broadcast, and the new DHCP scope had no option 43. Adding the option with the controller's address brought every AP online within minutes.
Practice
Which DHCP option gives clients their default gateway?
Which option is often used to tell lightweight access points the address of their wireless controller?
What information does option 82 add?
Key takeaways
- Options configure gateway (3), DNS (6), domain (15), NTP (42) and lease time (51).
- Option 43 helps APs find controllers; 66/67 and 150 support PXE and phones.
- Option 82 records the switch port, useful for location and security.
- Use reservations for devices that need stable addresses.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.