[OpenBSD]

Manual Page Search Parameters
DHCLIENT.CONF(5) File Formats Manual DHCLIENT.CONF(5)

NAME

dhclient.confDHCP client configuration file

DESCRIPTION

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.

PROTOCOL TIMING DECLARATIONS

 
 
backoff-cutoff seconds;
Sets the maximum number of seconds to wait before retransmitting a packet. The default is 10 seconds.
 
 
initial-interval seconds;
Sets the number of seconds between the first packet transmission and the first retransmission of the packet. The default is 1 second.
 
 
link-timeout seconds;
Sets the number of seconds to wait for interface link before going into the background as a daemon. The default is 10 seconds.
 
 
reboot seconds;
Sets the number of seconds to wait before giving up on reacquiring the previous lease, and how long to attempt unicast renewal requests before falling back to broadcast renewal requests. The default is 1 second.
 
 
retry seconds;
Sets the number of seconds to wait before starting a new attempt to obtain a lease. The default is 1 second.
 
 
select-timeout seconds;
Sets the number of seconds to wait for additional leases after the first lease arrives. After 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;
Sets the number of seconds to wait for a lease. If no lease is received the first valid lease in dhclient.leases(5) will be used. The default is 30 seonds.

DHCP OPTION DECLARATIONS

 
 
append option option-value;
Append option-value to the value of option in the lease. Each append for option overrides any previous append, default, prepend or supersede for option.
 
 
default option option-value;
If no value for option is present in the lease use option-value. Each default for option overrides any previous append, default, prepend or supersede for option.
 
 
ignore [option, ...];
Discard values provided for the listed options. Each ignore overrides any previous one.
 
 
prepend option option-value;
Prepend option-value to the value of option in the lease. Each prepend for option overrides any previous append, default, prepend or supersede for option.
 
 
request [option, ...];
Ask that any lease contain values for the listed options. Each request overrides any previous one. 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 and time-offset.
 
 
send option option-value;
Include option-value in requests for a lease. To include multiple options in requests, send can be used multiple times.
 
 
supersede option option-value;
Use option-value for the given option regardless of the value in the lease. Each supersede for option overrides any previous append, default, prepend or supersede for option.

OTHER DECLARATIONS

 
 
interfacename{ declaration; ...; }
Apply any declaration only to the named interface.
 
 
reject ip-address;
Discard leases from the specified address. If more than one reject is present all leases from any of the addresses will be discarded.
 
 
require [option, ...];
Discard leases that do not contain all the listed options. Each require overrides any previous one.

SEE ALSO

dhclient.leases(5), dhcp-options(5), dhcpd.conf(5), dhclient(8), dhcpd(8)
December 13, 2017 OpenBSD-current