DHCP is a network protocol used to automate the configuration of devices on IP networks. Learn why DHCP is used and its three main components.
Dynamic Host Configuration Protocol (DHCP) is a network protocol used to automate the configuration of devices on internet protocol (IP) networks. DHCP is working in our homes and connecting our devices, often without us realizing it. It assigns private IP addresses to our computers, smartphones, Wi-Fi devices, and gadgets, which all use a single network, such as a router, that contains the public IP address. On a wider scope, it connects any device to any IP network, whether it is a local area network (LAN) or a wide area network (WAN).
Devices must connect to a public IP address to send information to each device. As devices use private IP addresses, these do not stay the same and are assigned at each time of use. They collectively dip into a pool of IP addresses that a device uses and put them back when you stop using that device. It would take a long time to configure these manually, so DHCP does this effortlessly, most of the time without us giving it any thought.
professional certificate
Prepare for a career as an IT support specialist. Gain the in-demand skills and hands-on experience to get job-ready in as little as 3 months. No prior experience required.
4.8
(2,011 ratings)
46,120 already enrolled
Beginner level
Average time: 3 month(s)
Learn at your own pace
Skills you'll build:
Technical Support, Customer Service, Cloud, Troubleshooting, IT Fundamentals, Software Application Development, Computer Programming, Software Development Process, Database basics, Wireless Networks, Network Troubleshooting, Network Architecture, Cloud Storage, Networking Hardware, Cybersecurity, Cryptography, Cyberattacks, Information Security (INFOSEC), Application Security, Cloud Computing, Hybrid Multicloud, Devops, Iaas PaaS Saas, Cloud Native, Operating Systems, hardware, Information Technology (IT) Support, Ticketing Systems, Service Level Agreements (SLA), Certification Test, CompTIA ITF+, Exam Practice
Domain Name System (DNS) is the service that the internet uses to change domain names like coursera.org into an IP address you can connect to. DHCP, however, is the protocol that automatically gives the devices that connect to a network an IP address.
Read more: Information Technology (IT) Terms: A to Z Glossary
DHCP consists of three components, the DHCP server, DHCP client, and DHCP relay agents. Let’s take a look at each one and what they are responsible for:
The server issues the IP addresses and can tell the clients on its network apart. The DHCP server allows network administrators to assign rules to clients, such as applying a subnet mask and assigning a remote host to store lease information.
Clients are devices that connect to a network, such as phones, computers, printers, and servers. The communication between the client and server follows a process called the DHCP handshake:
Discover: The client who wants to connect to the internet sends a message (packet) to DHCP servers.
Offer: The DHCP server receives the message and offers all the available private IP addresses.
Request: The client selects an address and sends a message to other clients on the network to make sure the IP address is not already in use.
Acknowledge: The DHCP server acknowledges the client’s request and sends all the relevant information needed to connect to the server.
Relay agents transport the requests between the client and the server. On a small network with limited devices, the relay agent is not necessary, but they are effective in larger networks, especially ones using remote servers.
Are you interested in a career in IT support? Understanding protocols like DHCP and other network processes is highly relevant. If you have this knowledge and experience or are just starting, you might consider adding a Professional Certificate to your resume. The Google IT Support Professional Certificate on Coursera can help you learn the fundamentals of IT support and upgrade your current skills. With this Professional Certificate, you can aim to be job-ready in the field of IT support in six months or less.
professional certificate
Get on the fast track to a career in IT. In this certificate program, you’ll learn in-demand skills, and get AI training from Google experts. Learn at your own pace, no degree or experience required.
4.8
(182,834 ratings)
1,746,149 already enrolled
Beginner level
Average time: 6 month(s)
Learn at your own pace
Skills you'll build:
Cybersecurity, Wireless Security, Cryptography, Network Security, Directory Service, Lightweight Directory Access Protocol (LDAP), Backup, Domain Name System (DNS), Ipv4, Network Model, Troubleshooting, Binary Code, Customer Support, Linux, Powershell, Linux File Systems, Command-Line Interface
Editorial Team
Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...
This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.
Build Agile skills to stay organized and complete projects faster.
Save money and learn in-demand skills from top companies and organizations.