| DHCPLEASED.CONF(5) | File Formats Manual | DHCPLEASED.CONF(5) |
dhcpleased.conf —
DHCP client configuration file
The dhcpleased(8) daemon is a dynamic host configuration protocol client daemon.
The dhcpleased.conf config file is divided
into the following main sections:
A macro is defined with a command of the form
name=value. The macro
name can contain letters, digits, and underscores and
cannot be a reserved word (for example, interface).
Within unquoted arguments, the string $name is later
expanded to value.
A list of interfaces to overwrite defaults:
interface
name {option ...}interface options are as follows:
ignore dnsignore routesignore
server-ipprefer
ipv6send
client id client-idsend client id "01:00:53:FF:AA:BB:CC"
Otherwise the string client-id is sent verbatim. The default is to send the interface's MAC address as client identifier.
When client-id is not a hardware
address, it is supposed to be sent as hardware type 0 but the
majority of DHCP clients and servers do not implement this and
neither does dhcpleased.conf. If a server is
encountered that requires this, a 0 byte can be encoded as \0. The
client identifier “foobar” with hardware type 0 would
be configured as:
send client id "\0foobar"
send
host name host-namesend
no host namesend
vendor class id vendor-class-id| July 8, 2025 | Debian |