| By Herman Verkade | Article Rating: |
|
| November 11, 2003 12:00 AM EST | Reads: |
32,766 |
The Dynamic Host Configuration Protocol (DHCP) is a network protocol that sends network configuration information to computers (and other devices) on a network. It allows a system administrator to manage an IP address range from a central location and to maintain network parameters for all systems from that same central point.
DHCP is an internet standard, published as RFC2131. Implementations exist for many different platforms, covering clients and servers. As a standard protocol there is no need to run the same implementation on clients and servers. A Linux client will happily interact with -for example- a Microsoft DHCP Server, and Windows clients can retrieve their configuration from a Linux system running the DHCP daemon.
We have been running the Microsoft DHCP Server on our internal network for many years without too many issues. Recently I moved it over to a Linux machine, as part of our migration away from Windows. I was pleasantly surprised to find that the Linux implementation has a lot more features than Microsoft's. Here's a short list:
- Duplicate Address Avoidence: The Linux DHCPD will always ping the address it is about to issue, to make sure that it is not already in use, whilst the Microsoft DHCP Server will purely rely on its own leases database, which does sometimes result in duplicate addresses on the network.
- DHCP Failover: DHCPD on Linux supports the draft DHCP Failover protocol, which allows two servers to jointly manage a single DHCP scope. Microsoft DHCP does not implement any type of failover.
- DNS Registration: The DHCP Server on Linux can register hostnames with DNS. In a Microsoft environment, registration is up to the client.
- Expressions: On Linux, it is possible to use expressions to dynamically determine the value for an option to be sent to a client. The Microsoft DHCP Server only allows static values.
- Groups and Classes of clients: In the Linux DHCP server configuration file you can create groups and classes within a DHCP scope, and specify specific options or parameters for a group or class. With the Microsoft version, you can only specify options per scope or per client, whilst parameters (such as lease time) can only be specified on a scope-by-scope basis.
Published November 11, 2003 Reads 32,766
Copyright © 2003 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Herman Verkade
Herman Verkade is a UK-based, independent consultant who specializes in the management of large-scale heterogeneous environments. Over the past 22 years he has worked mostly with financial institutions in the UK, the U.S., and continental Europe.
![]() |
srinivas 06/04/04 02:27:55 PM EDT | |||
well, since the last time I posted message, I was successful in getting dhcp fail over working correctly. Everything described in man dhcpd.conf works perfectly except for the port ( both local and remote peer port have to be the same ). Making both primary and secondary server listen on same port, establishes a successful tcp connection between them ( with out firewall or other network blocks ) and works great !! Best source for dhcp failover is the man page itself |
||||
![]() |
mark 06/04/04 12:51:22 PM EDT | |||
Anyone have a good place to start with finding out how to set up and configure the DHCP failover? And will a RED HAT DHCP server work properly in an AD environment? Thanks |
||||
![]() |
mark 06/04/04 12:49:44 PM EDT | |||
Anyone have a good place to start with finding out how to set up and configure the DHCP failover? |
||||
![]() |
srinivas 05/23/04 11:41:13 PM EDT | |||
Hi, these are very interesting comments about dhcp server, could someone please describe what the split index does. |
||||
![]() |
Armin Nekoosefat 04/10/04 07:56:14 AM EDT | |||
>An unrelated question for you DHCP masters : Does any one >know how to exclude unknown computers from getting a >lease ? ----------------------------------------- The unknown-clients keyword allow unknown-clients; The unknown-clients flag is used to tell dhcpd whether or The use of this option is now deprecated. If you are try- |
||||
![]() |
lionel 04/09/04 12:54:30 PM EDT | |||
I agree with Armin & Daren's comments, Hermanhad a too short knowledge of MS DHCP, which in fact comes very close to ISC DHCP. An unrelated question for you DHCP masters : Does any one know how to exclude unknown computers from getting a lease ? |
||||
![]() |
Darren 03/15/04 04:24:06 PM EST | |||
This article shows a lack of knowledge of the subject matter: Duplicate Address Avoidence: MS DHCP does this, as per the RFC DHCP Failover: erm, 80/20 rule and/or clustering both do this DNS Registration: the server can be set to register addresses on behalf of the client if you wish. considering w2k's reliance on DNS then this is sort of a fundamental feature... Expressions/Groups and Classes of clients: done by scope id settings it looks to me like both products do exactly the same thing, which you would expect if they conform to the publicly documented standard RFCs. This article is a load of FUD |
||||
![]() |
K. 12/08/03 12:27:52 PM EST | |||
"Duplicate Address Avoidence: The Linux DHCPD will always ping the address it is about to issue, to make sure that it is not already in use, whilst the Microsoft DHCP Server will purely rely on its own leases database, which does sometimes result in duplicate addresses on the network. " Interesting difference, however the end justifies the means. If the goal is "duplicate address avoidence", then this still happens on a Microsoft network. Microsoft OS based DHCP clients will ARP to see if the address is in use beforehand and will not take it if it's active. This also generates a duplicate address alert on the original owners desktop (if configured). I haven't seen one of these alerts in ages. |
||||
![]() |
Armin Nekoosefat 12/07/03 04:49:07 AM EST | |||
Yes we need a real comparison. God Bless The ISC Team And Of Course the Linux Community |
||||
![]() |
Bill Gates 12/05/03 02:50:25 PM EST | |||
I'm sorry..... Why is Linux version of DHCP so much better? I think that we need a real comparison here. The reason people use MS DHCP is for the intergation with Active Directory and Dynamic DNS\WINS. The Name of the Article should have been 'DHCP Server - Linux' |
||||
![]() |
Stephen Samuel 12/01/03 06:24:14 AM EST | |||
From reading the dhcpd man page, (v3.0pl1) it says that it |
||||
![]() |
Gary Bowers 11/28/03 11:42:57 AM EST | |||
i might be wrong here, but one feature that i havn't got working on DHCPD from Microsoft is auto-updating of client's reverse DNS entries.. Active Directory uses dhcp to generate a list of reverse entries. If this can be done with Bind/DHCPD then please someone prove me wrong. All in all i have found dhcpd more reliable, especially when dishing out large numbers of ip's at once... say 8am when everyone logs on. |
||||
![]() |
Darryl 11/14/03 08:11:41 PM EST | |||
Yahoo had an news story about this the other day. Not something I would normally think about but it made the news. |
||||
![]() |
Armin Nekoosefat 11/13/03 02:01:02 PM EST | |||
Besides the features you have mentioned, It has one very nice and useful feature. Of course, the features are more than mentioned. It's debugging features are also a great tool for every network administrator. Thanks to the great team of ISC DHCP Server. |
||||
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- Linux Virtualization and Tired Open Source Myths
- IGEL Supports Red Hat Enterprise Virtualization 3.0
- CloudLinux Announces Support for Atomia
- Amazon Kindle Fire Gets Its Own 'Personal Cloud Desktop' with AlwaysOnPC App Launch
- SPIRIT DSP Receives 2011 INTERNET TELEPHONY Product of the Year Award
- Hadoop Quickstart: Use Whirr to automate standup of your distributed cluster on Rackspace
- Jury Gets Novell Antitrust Case Against Microsoft
- The Utility Infrastructure Security Market 2012-2022: Cybersecurity & Smart Grids
- FORTUNE Magazine Names Rackspace Among “100 Best Companies to Work For”
- iFollowOffice Turns to Virtual Bridges and Savvis for On-Demand Virtual Desktop Services
- EnterpriseDB Announces Availability of Postgres Plus Cloud Database
- i-Technology in 2012: Five Industry Predictions
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- Amazon to Rent Out Supercomputers
- Amazon Émigré Starts Network Monitoring Firm
- HP’s Putting a Back Door in the Itanium Alamo
- Linux Virtualization and Tired Open Source Myths
- CloudLinux Announces Preferred Partner Program
- MapR Pushes the Hadoop Envelope
- Rightware Announces Gaming Performance Benchmark for OpenGL ES 3.0/Halti
- IGEL Supports Red Hat Enterprise Virtualization 3.0
- CloudLinux Announces Support for Atomia
- 3Dconnexion Announces its Newest 3D Mouse - the SpaceMouse Pro
- The i-Technology Right Stuff
- Linux.SYS-CON.com Exclusive: Linus Discloses *Real* Fathers of Linux
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- A Closer Look at Damn Small Linux
- Linus' Top Ten SCO Barbs
- SCO CEO Posts Open Letter to the Open Source Community
- Netscape Co-Founder's 12 Reasons for Growth of Open Source
- Where Are RIA Technologies Headed in 2008?
- *POINT - COUNTERPOINT SPECIAL* What's Wrong with the Open Source Community?
- Introducing "Cooperative Linux" - Linux for Windows, No Less
- Linux.SYS-CON.com Exclusive: What Would UserLinux Look Like?
- Why Recovering a Deleted Ext3 File Is Difficult . . .

















