DHCP scope

On this page 7

A DHCP scope is the administrative grouping of IP addresses that a DHCP server may lease to clients on a single subnet, together with the subnet mask, lease duration, exclusions, reservations and options that apply to those clients. In address configuration within networking, the scope is the unit at which an administrator decides which addresses are handed out, to whom and for how long.

The term comes from server implementations such as Windows Server DHCP, while ISC DHCP and Kea describe the same idea as a subnet declaration with one or more pools. Whatever the name, every scope corresponds to one broadcast domain, and a server must have a matching scope for each subnet it serves, whether clients are local or reached through a DHCP relay.

How a DHCP scope controls address assignment

When a client broadcasts a DHCPDISCOVER message, the server must decide which scope applies before it can offer an address. On a directly attached subnet, the server uses the interface on which the request arrived. When a relay agent forwards the request, the server reads the gateway address field (giaddr) and selects the scope whose subnet contains that address.

Once the scope is selected, the server picks a free address from the pool, skips any excluded addresses, honors reservations for known hardware addresses and returns an offer that carries the scope options. The client then completes the familiar DORA sequence of discover, offer, request and acknowledgment, and the address becomes a lease recorded against that scope.

A scope is built from several components, each with a distinct role. The table below lists them.

ComponentPurposeExample
Address rangeDefines the start and end of leasable addresses192.168.10.50 to 192.168.10.250
Subnet maskIdentifies the network the scope belongs to255.255.255.0 (/24)
Exclusion rangeWithholds addresses used by static devices192.168.10.50 to 192.168.10.59
ReservationBinds one address to one client identifierPrinter MAC bound to .60
Lease durationSets how long a client may keep an address8 hours or 8 days
Scope optionsSupplies gateway, DNS and other parametersOption 3 router, option 6 DNS
Components of a DHCP scope

Scope options and their precedence

DHCP options deliver configuration beyond the address itself, and they can be defined at several levels. A more specific level overrides a more general one, which lets administrators set common values once and adjust only the exceptions. Understanding this hierarchy prevents clients from receiving an unexpected gateway or DNS server.

LevelApplies toTypical use
Server levelAll scopes on the serverOrganization-wide DNS servers and domain name
Scope levelAll clients in one subnetDefault gateway (option 3) for that subnet
Policy or class levelClients matching a vendor or user classBoot file for PXE clients or VoIP phones
Reservation levelOne specific clientCustom DNS for a single appliance
Option levels from general to specific

The most frequently configured options are option 3 (router), option 6 (DNS servers), option 15 (domain name), option 42 (NTP servers) and options 66 and 67 for network boot. Because the router option is subnet-specific, it almost always belongs at scope level, never at server level.

Several neighboring terms describe parts of a scope or groupings of scopes, and they are easily confused. A scope is the container; a pool, an exclusion and a reservation are elements inside it, while a superscope and a split scope combine or divide scopes across subnets or servers.

TermRelationship to a scopeWhen it is used
Address poolLeasable range inside a scopeEvery scope has at least one pool
DHCP reservationFixed mapping within a scopeServers, printers, access points
SuperscopeLogical group of several scopesMultiple IP subnets on one physical segment
Split scopeOne subnet divided between two serversSimple redundancy, often 80/20
DHCP failoverTwo servers sharing one scope’s lease stateHigh availability without address loss
Multicast scopeRange of multicast group addressesMADCAP deployments, now rare
Scope-related terms and how they differ

In IPv6, DHCPv6 also uses scopes or prefixes, but many networks assign addresses through SLAAC and use stateless DHCPv6 only for options such as DNS. Prefix delegation extends the concept further by leasing entire prefixes to downstream routers instead of single addresses.

Planning and sizing a DHCP scope

Good scope design starts with an honest estimate of concurrent clients, not the number of registered devices. Guest Wi-Fi with many short visits behaves very differently from an office floor of desktops, and the lease duration determines how quickly addresses return to the pool. A scope should keep at least 20 percent of addresses free at peak to absorb growth and transient devices.

The following decision table matches common network types with sensible scope settings.

Network typeLease durationScope sizing advice
Guest wireless30 minutes to 2 hoursUse a /22 or larger for high turnover
Corporate office8 hours to 1 daySize for peak occupancy plus headroom
Data center serversLong leases or reservationsPrefer reservations or static addressing
VoIP phone VLAN1 to 8 daysSeparate scope with phone-specific options
Lab or test network1 hourSmall scope, frequent recycling of addresses
Scope settings by network type

Static devices such as routers, switches and servers should live outside the leasable range, either in an exclusion block or in a separate part of the subnet. Integrating scopes with an IP address management system keeps documentation, DNS records and lease data consistent.

Common problems with DHCP scopes

Most scope failures show up as clients with APIPA addresses in 169.254.0.0/16 or with working addresses but no internet access. The causes are usually configuration errors rather than software defects, and they recur across vendors.

  • Scope exhaustion: all addresses are leased, often because leases are too long for a high-turnover network.
  • Missing or wrong router option: clients obtain an address but cannot leave the subnet.
  • Overlapping static addresses: a device configured inside the pool causes an IP address conflict that the server may detect only through ping checks.
  • Relay misconfiguration: an incorrect helper address or giaddr means no scope matches and requests go unanswered.
  • Inactive scope: on Windows Server, a newly created scope serves nobody until it is explicitly activated.

Put simply

Think of a DHCP scope as a numbered set of parking spaces reserved for one building. When a car arrives, the attendant assigns a free space from that set. The attendant writes down how long it may stay. The driver also gets a card with directions to the exit.

In a network, the cars are laptops and phones. The spaces are IP addresses. The card carries settings such as the gateway and DNS server. The essential point is simple. A scope decides which addresses one network segment can give out, which ones are kept aside and what extra information every device receives.

In practice

A mid-sized hotel runs guest Wi-Fi on the subnet 10.20.0.0/22, which provides about 1,020 usable addresses. During a conference weekend, guests began receiving 169.254 addresses and could not connect. The administrator found that the scope had a default eight-day lease, so devices of guests who had already checked out still held addresses.

The administrator shortened the lease duration to two hours, added an exclusion for the 20 addresses used by access points and controllers, and confirmed that the scope-level router option pointed to the correct gateway. Within a few hours, expired leases returned to the pool, peak utilization settled at about 65 percent, and connection complaints stopped for the rest of the event.