DHCP configuration statements are organized hierarchically.
Statements at the top of the hierarchy apply to the DHCP server and
network, branches contain statements that apply to address pools in
a subnetwork, and leaves contain statements that apply to static bindings
for individual clients. See Table 29.
The pool and static-binding statements
appear at the [edit system services dhcp] hierarchy level. You can include the remaining statements
at the following hierarchy levels:
Configure a pool of IP addresses for DHCP clients on a subnet.
When a client joins the network, the DHCP server dynamically allocates
an IP address from this pool.
Set static bindings for DHCP clients. A static binding is a
mapping between a fixed IP address and the client’s MAC address.
To minimize configuration changes, include common
configuration statements shown in Table 30 (for example, the domain-name statement) at the highest
applicable level of the hierarchy (network or subnetwork). Configuration
statements at lower levels of the hierarchy override statements inherited
from a higher level. For example, if a statement appears at both the [edit system services dhcp] and [edit system services dhcp pool] hierarchy levels, the value
assigned to the statement at the [edit system services dhcp pool] level takes priority.
Configure the name of the domain in which clients will search
for a DHCP server host. This is the default domain name that is appended
to hostnames that are not fully qualified.