What is a DHCP server?
We take a closer look at how DHCP can make network administration easier
While schemes such as bring your own device (BYOD) have transformed the workplace, and remote working has also altered the nature of work, IT staff have been at the centre of a constant struggle to keep businesses secure. Both business devices and personal devices being used for work serve as a potential access point for cyber criminals and must be kept secure against attempted intrusion.
In light of these recent cultural changes, IT administrators face an uphill battle in establishing a reliable connection between all devices and the company network while managing the security of these terminals. There’s also the added dimension of needing to keep business-critical services online, at all times. While it’s possible to configure all devices connected to a corporate network by manually setting IP addresses, this is hardly efficient and constitutes a huge waste of resources.
Using a Dynamic Host Configuration Protocol (DHCP) simplifies this complex process by automating the assignment of IP addresses without compromising functionality or security.
What is DHCP?
This is a tool deployed by businesses to work in tandem with the Transmission Control Protocol (TCP) and the Internet Protocol (IP), which are both needed to connect devices to one another, and a wider network.
DHCP primarily automates the management and configuration of various IP addresses scattered across a network, as they connect, so these don’t need to be assigned on a manual basis by IT administrators. The protocol is also key to configuring the Domain Name Server (DNS) and subnet masks alongside 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.
How does it work?
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.
How to scale your organisation in the cloud
How to overcome common scaling challenges and choose the right scalable cloud serviceDownload now
The people factor: A critical ingredient for intelligent communications
How to improve communication within your businessDownload now
Future of video conferencing
Optimising video conferencing features to achieve business goalsDownload now
Improving cyber security for remote working
13 recommendations for security from any locationDownload now