Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
dhclient — dynamic host configuration protocol clientSYNOPSIS
dhclient | [-f config] [-t] interface |
DESCRIPTION
dhclient dynamically configures the specified network interface (if(4)) and the Domain Name System (DNS) server list via the Dynamic Host Configuration Protocol (DHCP) with settings obtained from the local network's DHCP server.- -f config
- Load the configuration from the config file instead as a shared configuration file instead of searching for it.
- -t
- Test the configuration is valid without configuring the network interface. The interface can optionally be specified to search for its configuration file. Exit 0 if the configuration is valid and non-zero otherwise.
IMPLEMENTATION NOTES
dhclient signals readiness when it has attempted to configure the network interface and continues retrying afterwards. The first attempt fails if the network interface's link doesn't come up within 10 seconds. Packets are transmitted 6 times with an exponential backoff before giving up and the configuration restarts.FILES
- /etc/dhclient.${mac}.conf
- The preferred dhclient.conf(5) file for the interface with the hardware address mac.
- /etc/dhclient.${if}.conf
- The second priority dhclient.conf(5) file for the interface with the device name if.
- /etc/dhclient.conf
- The lowest priority dhclient.conf(5) file shared across all network interfaces.
ASYNCHRONOUS EVENTS
- SIGTERM
- Request daemon termination.