dhclient reads the file dhclient.conf for configuration instructions.
It then gets a list of all the network interfaces that are configured in the current system
Usage
Usage
opts:
-r Release the current lease and stop the running DHCP client as previously recorded in the PID file.
-n Do not configure any interfaces.
-v Enable verbose log messages.
-d Force dhclient to run as a foreground process.(implies -v)
lease-file
(-lf <lease-file>)
cat /var/lib/dhcp/dhclient.leases
lease { interface "eth0"; fixed-address 192.168.123.140; option subnet-mask 255.255.255.0; option routers 192.168.123.1; option dhcp-lease-time 43200; option dhcp-message-type 5; option domain-name-servers 192.168.123.1; option dhcp-server-identifier 192.168.123.1; option dhcp-renewal-time 21600; option broadcast-address 192.168.123.255; option dhcp-rebinding-time 37800; option host-name "webpy"; option domain-name "lan"; renew 2 2018/03/06 15:14:25; rebind 2 2018/03/06 20:13:14; expire 2 2018/03/06 21:43:14; }