How does DHCP configure the IP addresses for each host on a network?

jlister

Our server operating system came with a built in DHCP (dynamic host configuration protocol) server, and we successfully enabled the DHCP function and configured the settings. So we are up and running, but I don't really understand how DHCP client configuration actually works. Does anyone have a concise explanation of what DHCP is actually doing?

Topic: Networking
Answer this Question

Answers

2 total
lsmall
Vote Up (24)

Each time you boot up your host computer, DHCP configures TCP/IP hosts, and the DHCP client software sends out a DHCP Discover message to determine whether there are any DHCP servers out there.  In response the DHCP server sends out a DHCP Offer message that includes an IP address that can be used.  The client receives the offer message and replies with a DHCP Request to accept that IP address, and upon receipt of that request, the server assigns the IP address to the client and broadcasts a DHCP Ack message that provides the necessary information for the client to configure its TCP/IP stack and start using the IP address that was provided by the server.  It is almost like going to a restaurant and asking what the special is.  The waiter tells you which IP sandwich is available today.  It sounds good, so you say, "Thanks, I'll have that," and he brings it out for you.  Bon appetit!

jimlynch
Vote Up (24)

Hi jlister,

You might want to check out these two articles for helpful background about DHCP:

Dynamic Host Configuration Protocol
http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol

Installing and Configuring DHCP
http://www.dummies.com/how-to/content/installing-and-configuring-dhcp.html

Ask a question

Join Now or Sign In to ask a question.
The IEEE is embarking on an ambitious effort to build a overarching architecture for the Internet of Things, spanning a multitude of industries and technologies.
The U.S. Federal Communications Commission needs to create explicit rules that tell broadband providers what traffic management techniques they can and cannot use if the agency has any hope of enforcing its proposed net neutrality rules, some advocates told the agency Friday.
In their first day of trading, shares of Alibaba stock opened at US$92.70 on the New York Stock Exchange on Friday, an increase of more than 35 percent over the $68 initial public offering price.
Legislation introduced in the U.S. Senate on Thursday aims to place limits on access by U.S. law enforcement agencies to emails and other communications stored abroad.
SAP is buying business-travel and expense software vendor Concur for about US$8.3 billion, in a bid to continue growing out its portfolio of cloud-based applications.
TwitPic, the image-hosting company that two weeks ago said it would shut down after a trademark dispute with Twitter, has apparently been acquired, keeping its service alive.
Alibaba, an e-commerce giant in China, wants to make new friends in the U.S. Especially friends with money.
It's the end of an era at Oracle, as CEO Larry Ellison has been appointed executive chairman and CTO of the vendor, with co-presidents Safra Catz and Mark Hurd named co-CEOs.
Facebook users will soon start to see more posts higher in their feeds tied to popular events or topics of conversation, with less relevant posts getting pushed farther down.
Apple outlined its new privacy policy and set up a site to explain what information it collects from users and how it handles it, as the company enters new areas like health tracking and mobile payments that have potential privacy implications.
randomness