What is a DHCP server?
We take a closer look at how DHCP can make network administration easier
The world of work is going through a dramatic change as a result of the pandemic, with practices such as remote working and BYOD gaining traction in businesses across the country. IT teams are at the heart of these major changes, and it has fallen upon them to keep networks online and operational, as well as safeguard essential platforms and systems from potential attacks.
Although a workforce may have once been confined to a central workplace, employees are now working in a variety of settings while using multiple devices at once. Although the benefits to employees are clear, IT professionals have been confronted with the challenge of staying on top of security and maintaining the integrity of their company’s sprawling IT estate.
Ensuring these remote terminals adhere to the strongest security standards has been a particular challenge, given not all employees are versed in cyber security best practices.
Although all connected devices might be configured to a network by manually setting the IP address, it wouldn’t be seen as the most time-efficient process. There’s an alternative, however, in the form of Dynamic Host Configuration Protocol (DHCP).
What is DHCP?
Organisations can use DHCP to link their Transmission Control Protocol (TCP) with their Internet Protocol (IP), which are both needed to establish connections between devices over a broader network.
This tool automates the configuration of IP addresses across the width of a corporate network, managing these as devices connect without the need for IT teams to manually assign IP addresses themselves. This is a key part of configuring the Domain Name Server (DNS) and subnet masks, alongside default gateways.
The DHCP resides in a DHCP server, from where it distributes IP addresses to devices that connect with the corporate network. This server also configures other pieces of networking information without requiring manual input.
In a small business or home environment, the DHCP server can simply be the router, while in a larger business it might be a single dedicated computer or server.
By using a client-server model, a DHCP server becomes the host, while the device connected to the network is the client. As soon as the client makes a request to the network for an IP address, the host assigns an IP address taken from a list of available options it holds. This then allows the communication between the device and the network to happen.
Main advantages of DHCP
One of the main benefits of using a DHCP server compared to other networking solutions is that it's a lot faster to set up a TCP/IP network. Additionally, it's much easier to manage such a network because there's no heavy lifting - the server automatically assigns IP addresses so IT staff don't have to.
IT staff can instead be tasked with carrying out more transformative tasks, rather than the mundane, but simple tasks that end up consuming a lot of manpower.
Other benefits of using a DHCP network include that there are less likely to be conflicts between devices. Because the server assigns IP addresses, rather than humans, it ensures no two devices are given the same.
Other benefits include:
IP Address Management: If you decide against using a DHCP server, you'll instead need to make sure you have the resource and time to manually move clients to subnets without the need for human interaction at all. All the network information is passed to the client from the DHCP server, so no manual work is required at all.
Centralised network client configuration: If you need a range of different of configurations for each client, you can create client groups, so each has different set-ups according to your business's requirements. All of this information is saved in the DHCP data store and this is where the configuration can be changed to roll out to all clients, without having to change them manually.
Large network support: DHCP is especially advantageous to networks with millions of DHCP clients, as they can use the server over multithreading to process many client requests simultaneously. The server also supports data stores that are optimised to handle large amounts of data. Data storage access is handled by separate processing modules and thus enables you to add support for any database that you require.
Do I need DHCP?
You are likely to be already using DHCP protocols as a component of your home or business network as it releases you from having to assign fixed IP addresses to every new device which joins the network yourself.
Although much easier in smaller contexts, this task would be especially hard for any larger organisations that should expect hundreds of devices to be connected to a network. Each and every one of these devices would require a distinct IP address - a daunting task made even tougher with organisations without local IT teams.
DHCP automates the process through a dynamic IP assignment - granting new IP addresses as devices join the network and, crucially, delisting them automatically once a device disconnects.
Realistically, there are very few reasons why you shouldn't be using DHCP, yet, in some cases, it could be useful to assign manual addresses. Some devices benefit from having static IP addresses, such as scanners, printers, file transfer servers, and many other devices that should always have a constant connection with a network. In such instances, a dynamic IP address, using DHCP, would require a device to update its connection settings every time it tried to communicate with the printer.
You may encounter similar issues with DHCP if you're using machines that can be accessed remotely by staff. Assigning a dynamic IP address to a remote server may cause problems with any applications or software that rely on a static IP connection. This, in turn, requires details to be updated each time.
Clearly, this is impractical. But even when DHCP is used across a server and network there's the option to manually assign static IP addresses to some devices - so really there's no drawback, regardless of the size of your business.
It's therefore worth taking a considered approach to what devices will benefit from static IP addresses and manually configure them, then using DHCP to take care of assigning the rest of the IP addresses, leaving you and your IT team free to carry out more interesting and innovative work.
Things to be aware of with DHCP
Security Issues: Like almost anything these days, you should be aware that using DHCP automation can be a serious security risk for instance, if a rogue DHCP server is introduced to the network. This can happen if it isn't under control of the network staff, and can offer IP addresses to users connecting to the network. If a user connects to the rogue DHCP, information sent over that connection can be intercepted and looked at by unauthorised people, violating user privacy and network security, a technique known as a man in the middle attack.
Failure: Failure of the network can arise if only a single DHCP server is in place, as it forms a single critical junction where failure can erupt from a single issue to a system-wide problem. If the server fails, any connected computers that don't already have an IP address will try and fail to obtain one. Computers that already have an IP address from before the server's failure will attempt to renew it, which will lead to the computer losing its IP address, meaning complete network access loss until the server is restored.
Modern governance: The how-to guide
Equipping organisations with the right tools for business resilienceFree Download
Cloud operational excellence
Everything you need to know about optimising your cloud operationsWatch now
A buyer’s guide to board management software
Improve your board’s performance
The real world business value of Oracle autonomous data warehouse
Lead with a 417% five-year ROIDownload now