|Front | Info | Lists | Newsfeeds | Study Guide | What is BSD?|
This is the BSDA Study Guide Book written via a wiki collaboration. This is a work in progress. You may contribute to or discuss this specific page at http://bsdwiki.reedmedia.net/wiki/View_and_renew_a_DHCP_lease.html.
View and renew a DHCP lease
An admin should have a basic understanding of DHCP leases and how to configure a client to override the settings received from a DHCP server. In addition, be able to view the current lease, release it and renew a lease. Since the DHCP client used varies, be familiar with using the DCHP client commands on each BSD.
dhclient: Dynamic Host Configuration Protocol (DHCP) client
dhclient.leases: DHCP client lease database
dhclient.conf: DHCP client configuration file
dhcp-options(5): DHCP configuration options
configure a client to override the settings received from a DHCP server: use require or supersede options in dhclient.conf
view the current lease (FreeBSD?):
release the current lease:
renew a lease:
dhclient(8), dhclient.leases(5), dhclient.conf(5), rc.conf(5)