DHCLIENT.CONF(5) | File Formats Manual | DHCLIENT.CONF(5) |
dhclient.conf
—
DHCP client configuration file
dhclient.conf
is the configuration file
for dhclient(8). It is a free-form
ASCII text file made up of declarations, extra tabs and newlines for
formatting purposes and comments. Keywords in the file are case-insensitive.
Comments begin with the ‘#’ character and extend to the end of
the current line.
backoff-cutoff
seconds;initial-interval
seconds;link-timeout
seconds;reboot
seconds;retry
seconds;select-timeout
seconds;select-timeout
seconds the
best lease received will be selected. The default is 0 seconds, i.e.
immediately use the first acceptable lease received.timeout
seconds;append
option option-value;append
for option overrides
any previous append
,
default
, ignore
,
prepend
or supersede
for
option.
If the option's data cannot be appended to, i.e. it has a
fixed size, then append
will be treated as
default
.
default
option option-value;default
for option overrides any previous
append
, default
,
ignore
, prepend
or
supersede
for option.ignore
[option, ...];ignore
statements are cumulative, except that an
empty list will remove all previously specified options. Each
ignore
for option overrides
any previous append
,
default
, prepend
or
supersede
for option.prepend
option option-value;prepend
for option overrides
any previous append
,
default
, ignore
,
prepend
or supersede
for
option.
If the option's data cannot be prepended to, i.e. it has a
fixed size, then prepend
will be treated as
supersede
.
request
[option, ...];request
statements are cumulative, except that an
empty list will remove all previously specified options. The default is to
request the options bootfile-name, broadcast-address,
classless-static-routes, host-name, domain-name, domain-name-servers,
domain-search, routers, subnet-mask, tftp-server-name and
time-offset.require
[option, ...];require
statements are cumulative, except that an
empty list will remove all previously specified options. The default is to
require the option subnet-mask.send
option option-value;send
can be
used multiple times.supersede
option option-value;supersede
for option
overrides any previous append
,
default
, ignore
,
prepend
or supersede
for
option.uselease
[option, ...];uselease
statements
are cumulative. If no option is specified all lease
option values will be used unmodified. uselease
for option overrides any previous
append
, default
,
ignore
, prepend
or
supersede
for option.filename
path;file
field of the DHCP offer when binding a lease.fixed-address
ip-address;yiaddr
field of the DHCP offer when binding a
lease.interface
"name" {
declaration; ...;
}reject
ip-address;reject
is present all leases from any of the
addresses will be discarded.next-server
ip-address;siaddr
field of the DHCP offer when binding a
lease.server-name
host;sname
field of the DHCP offer when binding a
lease.dhclient.leases(5), dhcp-options(5), dhcpd.conf(5), dhclient(8), dhcpd(8)
July 17, 2020 | OpenBSD-current |