Jump to content

DHCPD: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Vickyrisk (talk | contribs)
Undid revision 834430686 by Vickyrisk (talk)
Changed present tense to past tense, because the software is no longer maintained
(29 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{Short description|DHCP server program that operates as a daemon}}
{{Infobox software
{{Infobox software
| name = DHCPD
| name = DHCPD
Line 5: Line 6:
| developer = [[Internet Systems Consortium]]
| developer = [[Internet Systems Consortium]]
| released = {{Start date and age|1999}}
| released = {{Start date and age|1999}}
| latest release version = 4.4.1
| latest release version = 4.4.3-P1
| latest release date = Feb 29, 2018
| latest release date = October, 2022<ref>{{cite web|url=https://www.isc.org/download/#DHCP |title=Downloads }}</ref>
| repo = https://gitlab.isc.org/isc-projects/dhcp<ref>{{cite web|url=https://lists.isc.org/pipermail/dhcp-announce/2019-April/000420.html |title=Isc Dhcp News |publisher=Lists.isc.org |date= 9 April 2019|accessdate=2022-08-06}}</ref>
| repo = https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=summary
| programming language = C
| programming language = C
| operating system = [[Berkeley Software Distribution | BSD]], [[Linux]], [[Solaris (operating system) | Solaris]]
| operating system = [[Berkeley Software Distribution|BSD]], [[Linux]], [[Solaris (operating system)|Solaris]]
| genre = [[Dynamic Host Configuration Protocol|DHCP]] server
| genre = [[Dynamic Host Configuration Protocol|DHCP]] server
| license = [[ISC License]], [[MPL2.0]]
| license = [[ISC License]], [[MPL2.0]]
| website = {{URL|https://www.isc.org}}
| website = {{URL|https://www.isc.org/dhcp/}}
| AsOf = 4 2018
| AsOf = 5 2023
}}
}}


'''dhcpd''' (an abbreviation for "DHCP daemon") is the name of this DHCP server program that operates as a [[daemon (computer software)|daemon]] on a [[Server (computing)|server]] to provide [[Dynamic Host Configuration Protocol]] (DHCP) service to a [[computer network|network]].<ref name="dhcpd.8">{{cite web
'''dhcpd''' (an abbreviation for "DHCP daemon") was a DHCP server program that operates as a [[daemon (computer software)|daemon]] on a [[Server (computing)|server]] to provide [[Dynamic Host Configuration Protocol]] (DHCP) service to a [[computer network|network]].<ref name="dhcpd.8">{{cite web
| last = Lemon
| last = Lemon
| first = Ted
| first = Ted
| authorlink =
| coauthors =
| title = dhcpd – Dynamic Host Configuration Protocol Server
| title = dhcpd – Dynamic Host Configuration Protocol Server
| work =
| publisher = Internet Systems Consortium
| publisher = Internet Systems Consortium
| date = 2012
| date = 2012
| url = https://www.isc.org/dhcp-manual-pages/
| url = https://www.isc.org/dhcp-manual-pages/
| format =
| doi =
| doi =
| accessdate = April 5, 2018}}</ref>
| accessdate = January 22, 2020}}</ref>
This implementation, also known as ISC DHCP, is one of the first and best known, but there are now a number of other DHCP server software implementations available. See [[Comparison_of_DHCP_server_software|comparison of DHCP server software on Wikipedia]].
This implementation, also known as ISC DHCP, is one of the first and best known, but there are now a number of [[Comparison of DHCP server software|other DHCP server software implementations]] available.


[[Client (computing)|Clients]] may solicit an [[IP address]] from a DHCP server when they need one. The DHCP server then offers the "lease" of an IP address to the client, which the client is free to request or ignore. If the client requests it and the server acknowledges it, then the client is permitted to use that IP address for the "lease time" specified by the server. At some point before the lease expires, the client must re-request the same IP address if it wishes to continue to use it.<ref name="DHCPv4">
[[Client (computing)|Clients]] may solicit an [[IP address]] from a DHCP server when they need one. The DHCP server then offers the "lease" of an IP address to the client, which the client is free to request or ignore. If the client requests it and the server acknowledges it, then the client is permitted to use that IP address for the "lease time" specified by the server. At some point before the lease expires, the client must re-request the same IP address if it wishes to continue to use it.<ref name="DHCPv4">
{{cite web
{{cite journal
| url=http://tools.ietf.org/html/rfc2131#section-1
| url=http://tools.ietf.org/html/rfc2131#section-1
| title=RFC 2131 – Dynamic Host Configuration Protocol
| title=RFC 2131 – Dynamic Host Configuration Protocol
Line 38: Line 35:
| last=Droms
| last=Droms
| date=March 1997
| date=March 1997
| work=Network Working Group
| journal=Network Working Group
| publisher = [[Internet Engineering Task Force]] }}</ref>
| publisher = [[Internet Engineering Task Force]] | doi=10.17487/RFC2131
}}</ref>


Issued IP addresses are tracked by dhcpd through a record in the dhcpd.leases file.<ref name="dhcpd.leases">{{cite web
Issued IP addresses are tracked by dhcpd through a record in the dhcpd.leases file.<ref name="dhcpd.leases">{{cite web
| last = Lemon
| last = Lemon
| first = Ted
| first = Ted
| authorlink =
| coauthors =
| title = dhcpd.leases – DHCP Client Lease File
| title = dhcpd.leases – DHCP Client Lease File
| work =
| publisher = Internet Systems Consortium
| publisher = Internet Systems Consortium
| date = 2018
| date = 2018
| url = https://www.isc.org/wp-content/uploads/2018/02/dhcp44leases.html
| url = https://www.isc.org/wp-content/uploads/2018/02/dhcp44leases.html
| format =
| doi =
| accessdate = April 5, 2018
| doi =
| archive-url = https://web.archive.org/web/20180406041301/https://www.isc.org/wp-content/uploads/2018/02/dhcp44leases.html
| accessdate = April 5, 2018}}</ref>
| archive-date = April 6, 2018
This allows the server to maintain state over restarts of the dhcp service, which could otherwise lead to duplicate IP addresses being issued when server issued the same IP address again while another client still has the right to use it.<ref name="dhcpd.8"></ref>
| url-status = dead
}}</ref>
This allows the server to maintain state over restarts of the dhcp service, which could otherwise lead to duplicate IP addresses being issued when server issued the same IP address again while another client still has the right to use it.<ref name="dhcpd.8" />


This [[reference implementation]] of [[DHCP]] is developed by the [[Internet Systems Consortium]]<ref name="iscdhcp">{{cite web
This [[reference implementation]] of [[DHCP]] is developed by the [[Internet Systems Consortium]]<ref name="iscdhcp">{{cite web
| last =
| last =
| first =
| first =
| authorlink =
| coauthors =
| title = DHCP – Internet Systems Consortium
| title = DHCP – Internet Systems Consortium
| work =
| publisher = Internet Systems Consortium
| publisher = Internet Systems Consortium
| date = 2018
| date = 2018
| url = http://www.isc.org/software/dhcp
| url = http://www.isc.org/software/dhcp
| format =
| doi =
| doi =
| accessdate = April 5, 2018}}</ref> and is supported on [[Linux]], [[Mac OS X]], [[FreeBSD]], [[Solaris (operating system)|and Solaris]].<ref name="iscreadme">{{cite web |last= |first= |authorlink= |coauthors= |title=README |work= |publisher=Internet Systems Consortium |date=2012 |url=http://www.isc.org/files/4.2.3%20README.pdf |format= |doi= |accessdate=14 June 2012 |deadurl=yes |archiveurl=https://web.archive.org/web/20120704045632/http://www.isc.org/files/4.2.3%20README.pdf |archivedate=4 July 2012 |df=}}</ref>
| accessdate = April 5, 2018}}</ref> and is supported on [[Linux]], [[Mac OS X]], [[FreeBSD]], [[Solaris (operating system)|and Solaris]].<ref name="iscreadme">{{cite web |title=README |publisher=Internet Systems Consortium |date=2012 |url=http://www.isc.org/files/4.2.3%20README.pdf |accessdate=14 June 2012 |url-status=dead |archiveurl=https://web.archive.org/web/20120704045632/http://www.isc.org/files/4.2.3%20README.pdf |archivedate=4 July 2012 }}</ref>


Remote access to a running instance of dhcpd is provided by the ''Object Management Application Programming Interface'' ([[OMAPI]]).<ref>{{cite web |title=ISC DHCP API Interface |url=http://ipamworldwide.com/dhcp-api.html |publisher=IPAM |accessdate=25 January 2013}}</ref><ref>{{cite book |last=Ralph Droms and Ted Lemon |title=The DHCP handbook |year=2003 |publisher=Sams |isbn=9780672323270 |pages=239, 316 |url=https://books.google.com/books?ei=Oa8FUfO3DbHVigLlvoGwAw&id=FV9rlGsIXZkC&dq=isbn%3A9780672323270&q=omapi#search_anchor}}</ref> On the server side, this interface allows editing of registration information for managed [[Host (network)|nodes]]. Uses on the client include fetching configuration information, releasing and renewing leases, and changing which interfaces are managed by the DHCP client.
Remote access to a running instance of dhcpd is provided by the ''Object Management Application Programming Interface'' (OMAPI).<ref>{{cite web|url=http://www.ipamworldwide.com/ipam/isc-dhcp-api.html|title=ISC DHCP API Interface|publisher=IPAM|accessdate=25 January 2013}}</ref><ref>{{cite book |last=Ralph Droms and Ted Lemon |title=The DHCP handbook |year=2003 |publisher=Sams |isbn=9780672323270 |pages=239, 316 |url=https://books.google.com/books?id=FV9rlGsIXZkC&q=omapi}}</ref> This API allows manipulation of the internal state of a running instance of the dhcpd server or client. On the server side, this interface allows editing of registration information for managed [[Host (network)|nodes]]. Uses on the client include fetching configuration information, releasing and renewing leases, and changing which interfaces are managed by the DHCP client.


ISC DHCP is in wide distribution; however, it is very mature software. ISC is developing a new DHCP software system, which is intended to eventually replace it.<ref>{{cite news |title=MOSS supports four more open source projects in Q3 2016 with $300k |url=https://blog.mozilla.org/blog/2016/10/03/moss-supports-four-more-open-source-projects-with-300k/ |accessdate=3 November 2016 |publisher=Mozilla Foundation |date=October 3, 2016}}</ref> This software, [[Kea (software)|Kea]], includes a DHCP server only (so, no client or relay yet) and is supported on the same platforms as ISC DHCP. It is distributed under the Mozilla Public License (MPL2.0).<ref>{{cite web |title=Kea wiki page |url=https://kea.isc.org |website=Kea.isc.org |publisher=Internet Systems Consortium |accessdate=3 November 2016}}</ref>
ISC DHCP was declared End-of-Life in October, 2022.<ref>{{Cite web |last=Consortium |first=Internet Systems |date=2022-10-04 |title=ISC DHCP Server has reached EOL |url=https://www.isc.org/blogs/isc-dhcp-eol/ |access-date=2023-04-06 |website=www.isc.org |language=en-us}}</ref> ISC is developing a new DHCP software system, which is intended to eventually replace it.<ref>{{cite news |title=MOSS supports four more open source projects in Q3 2016 with $300k |url=https://blog.mozilla.org/blog/2016/10/03/moss-supports-four-more-open-source-projects-with-300k/ |accessdate=3 November 2016 |publisher=Mozilla Foundation |date=October 3, 2016}}</ref> This software, [[Kea (software)|Kea]], includes a DHCP server only (so, no client or relay yet) and is supported on the same platforms as ISC DHCP. It is distributed under the Mozilla Public License (MPL2.0).<ref>{{cite web |title=Kea wiki page |url=https://kea.isc.org |website=Kea.isc.org |publisher=Internet Systems Consortium |accessdate=3 November 2016}}</ref>

ISC DHCP adopted the Mozilla Public License (MPL2.0) with the release of 4.4.1.<ref>{{cite web |title=DHCP 4.4.0 annoncement |url=https://www.isc.org/blogs/isc-dhcp-the-last-branch/ |website=isc.org |publisher=Internet Systems Consortium |accessdate=5 April 2018}}</ref>


ISC DHCP adopted the Mozilla Public License (MPL2.0) with the release of 4.4.1.<ref>{{cite web |title=DHCP 4.4.0 announcement |url=https://www.isc.org/blogs/isc-dhcp-the-last-branch/ |website=isc.org |date=9 January 2018 |publisher=Internet Systems Consortium |accessdate=5 April 2018}}</ref>


== See also ==
== See also ==
Line 85: Line 78:
== External links ==
== External links ==
* [http://oob.freeshell.org/nzwireless/dhcpd.html Configuring dhcpd on a wireless access point]
* [http://oob.freeshell.org/nzwireless/dhcpd.html Configuring dhcpd on a wireless access point]
* [http://www.isc.org/software/dhcp dhcpd section in the ISC website]
* [https://www.isc.org/dhcp/ dhcpd section in the ISC website]
* [ftp://ftp.isc.org/isc/dhcp/ Official FTP repository]
* [http://ftp.isc.org/isc/dhcp/ Official FTP repository]
*[https://gitlab.isc.org/isc-projects/dhcp Open Gitlab repository]
*[https://kb.isc.org/docs/aa-00333 Knowledgebase articles on dhcpd]


[[Category:Servers (computing)]]
[[Category:Servers (computing)]]
[[Category:Software using the ISC license]]
[[Category:Software using the ISC license]]
[[Category:Unix network-related software]]
[[Category:Unix network-related software]]
[[Category:Free network-related software]]



{{network-software-stub}}
{{network-software-stub}}

Revision as of 11:57, 1 May 2024

ISC DHCP
Original author(s)Ted Lemon
Developer(s)Internet Systems Consortium
Initial release1999; 25 years ago (1999)
Stable release
4.4.3-P1 / October, 2022[1]
Repositoryhttps://gitlab.isc.org/isc-projects/dhcp[2]
Written inC
Operating systemBSD, Linux, Solaris
TypeDHCP server
LicenseISC License, MPL2.0
Websitewww.isc.org/dhcp/
As of5 2023

dhcpd (an abbreviation for "DHCP daemon") was a DHCP server program that operates as a daemon on a server to provide Dynamic Host Configuration Protocol (DHCP) service to a network.[3] This implementation, also known as ISC DHCP, is one of the first and best known, but there are now a number of other DHCP server software implementations available.

Clients may solicit an IP address from a DHCP server when they need one. The DHCP server then offers the "lease" of an IP address to the client, which the client is free to request or ignore. If the client requests it and the server acknowledges it, then the client is permitted to use that IP address for the "lease time" specified by the server. At some point before the lease expires, the client must re-request the same IP address if it wishes to continue to use it.[4]

Issued IP addresses are tracked by dhcpd through a record in the dhcpd.leases file.[5] This allows the server to maintain state over restarts of the dhcp service, which could otherwise lead to duplicate IP addresses being issued when server issued the same IP address again while another client still has the right to use it.[3]

This reference implementation of DHCP is developed by the Internet Systems Consortium[6] and is supported on Linux, Mac OS X, FreeBSD, and Solaris.[7]

Remote access to a running instance of dhcpd is provided by the Object Management Application Programming Interface (OMAPI).[8][9] This API allows manipulation of the internal state of a running instance of the dhcpd server or client. On the server side, this interface allows editing of registration information for managed nodes. Uses on the client include fetching configuration information, releasing and renewing leases, and changing which interfaces are managed by the DHCP client.

ISC DHCP was declared End-of-Life in October, 2022.[10] ISC is developing a new DHCP software system, which is intended to eventually replace it.[11] This software, Kea, includes a DHCP server only (so, no client or relay yet) and is supported on the same platforms as ISC DHCP. It is distributed under the Mozilla Public License (MPL2.0).[12]

ISC DHCP adopted the Mozilla Public License (MPL2.0) with the release of 4.4.1.[13]

See also

References

  1. ^ "Downloads".
  2. ^ "Isc Dhcp News". Lists.isc.org. 9 April 2019. Retrieved 2022-08-06.
  3. ^ a b Lemon, Ted (2012). "dhcpd – Dynamic Host Configuration Protocol Server". Internet Systems Consortium. Retrieved January 22, 2020.
  4. ^ Droms, Ralph (March 1997). "RFC 2131 – Dynamic Host Configuration Protocol". Network Working Group. Internet Engineering Task Force. doi:10.17487/RFC2131.
  5. ^ Lemon, Ted (2018). "dhcpd.leases – DHCP Client Lease File". Internet Systems Consortium. Archived from the original on April 6, 2018. Retrieved April 5, 2018.
  6. ^ "DHCP – Internet Systems Consortium". Internet Systems Consortium. 2018. Retrieved April 5, 2018.
  7. ^ "README" (PDF). Internet Systems Consortium. 2012. Archived from the original (PDF) on 4 July 2012. Retrieved 14 June 2012.
  8. ^ "ISC DHCP API Interface". IPAM. Retrieved 25 January 2013.
  9. ^ Ralph Droms and Ted Lemon (2003). The DHCP handbook. Sams. pp. 239, 316. ISBN 9780672323270.
  10. ^ Consortium, Internet Systems (2022-10-04). "ISC DHCP Server has reached EOL". www.isc.org. Retrieved 2023-04-06.
  11. ^ "MOSS supports four more open source projects in Q3 2016 with $300k". Mozilla Foundation. October 3, 2016. Retrieved 3 November 2016.
  12. ^ "Kea wiki page". Kea.isc.org. Internet Systems Consortium. Retrieved 3 November 2016.
  13. ^ "DHCP 4.4.0 announcement". isc.org. Internet Systems Consortium. 9 January 2018. Retrieved 5 April 2018.