What is a DHCP server?
We take a closer look at how DHCP can make network administration easier
The way we work has been transformed by the pandemic, which has accelerated schemes like remote working and also increased the use of personal devices for work. IT teams have been at the centre of this shift, maintaining network stability and also keeping systems secure from cyber criminals.
With a dispersed workforce, all of whom will use multiple devices, IT administrators face an uphill battle to establish a reliable connection between a company's employees and its network, while also managing the security of these terminals and ensuring business-critical services are available and online at all times.
While it's possible to configure all connected devices to a corporate network by manually setting IP addresses, that isn't the most efficient use of time and could be seen as a waste of company resources. Thankfully, there's an alternative, in the form of Dynamic Host Configuration Protocol (DHCP).
What is DHCP?
A DHCP is a tool that businesses can deploy to link their Transmission Control Protocol (TCP) and their Internet Protocol (IP) - both of which are needed to connect devices to one another over a wider network.
It automates the management and configuration of IP address across various parts of a network, as they connect so that they don't need manual assignment from IT admins. This protocol is also a fundamental part of configuring the Domain Name Server (DNS) and subnet masks, as well as default gateways.
The DHCP server is the server where the DHCP is based, and from where it assigns IP addresses to new devices connecting to the network. The DHCP server also configures other pieces of network information without needing an IT administrator to step in.
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.
Consumer choice and the payment experience
A software provider's guide to getting, growing, and keeping customersDownload now
Prevent fraud and phishing attacks with DMARC
How to use domain-based message authentication, reporting, and conformance for email securityDownload now
Business in the new economy landscape
How we coped with 2020 and looking ahead to a brighter 2021Download now
How to increase cyber resilience within your organisation
Cyber resilience for dummiesDownload now