Tuesday, August 25, 2009

Dynamic Host Configuration Protocol

What is DHCP?, dynamic host configuration protocol overview, network tutorials, troubleshooting tips, subnetting, IP addressing. DHCP or Dynamic Host Configuration Protocol is a network protocol, which is configured in such a way that is provides the IP addresses to the network computers automatically. There is no need to assign the IP address to the client computers individually. DHCP assigns the IP addresses from the given range of the numbers also called DHCP scope.
On the other end, client computers are configured in such a way that they get the IP addresses automatically from the DHCP server during the boot up process. Additionally, DNS and WINS servers can also be configured with the DHCP server.
When a computer starts up it gets the IP addresses from the DHCP server from the defined pool of addresses. The assigning of the IP address by the DHCP server can be categorized as follows


1. A user turns on the computer with the DHCP client enabled on it.
2. The client PC sends broadcast request (known as DHCP DISCOVER) and then look for the DHCP server to answer.
3. The DHCP server receives the DISCOVER packet and based on the availability and defined settings, the server choose any available IP address and then give to the client. Then DHCP server sends back to the client with DHCP OFFER with that available address information.
4. Again client sends a request to DHCP server known as DHCP REQUEST, in which it lets the server know that it is using the address offered by the DHCP.
5. The DHCP server then again send a acknowledgement to the client known as DHCP ACK, in which it confirm the client that the specific IP address has been assigned to it for a given period of time.

This process of assigning the IP addresses by the DHCP server also known as DORA (Discover, Offer, Request, and Acknowledgement).

When a computer uses a static IP address there can be the chances of error and conflict when two computers use the same IP address. By using the DHCP server there are no chances of such kind of conflicts and errors.

Along with the IP addresses, the DHCP server also enables the client computers to extract all the settings and configurations from the DHCP server on an IP network. These settings include the Firewall, Router, DNS, NAT, WINS, Gateway and Subnet masks settings.

The overall purpose of the DHCP server is to reduce the workload and error margins, which can occur in assigning the IP addresses manually.

The IP address assigned by the DHCP server is for the limited or leased period of time and if a client needs an to extend that leased period for the IP address then client must send a extension request to the DHCP server before this period expires. If the client do not send an extension request, then this IP address becomes free on expiration and is assigned to another client. If a user wants to change the IP address given by the DHCP server then he/she do it by giving these commands on the command prompt.

IPconfig/release then IPconfig/renew

This command will remove the current IP address and assign a new IP address to the client.
There can also be some reserved addresses based on the MAC address or hostname of the client. These reserved addresses are fixed addresses and can only be assigned to the fixed clients.

No comments:

Blog Widget by LinkWithin
Subscribe to updates Search Engine Optimization
Computers Blogs blog directory DigNow.net free back link
Computers blogs Networking, tips and guide for PC troubleshooting, PC tweaks, windows tweaks, latest gizmo Technology blogs & blog posts Link With Us - Web Directory Webfeed (RSS/ATOM/RDF) submitted to http://www.feeds4all.nl
Free Search Engine Submission Hit 2 Hit Ranking On our way to 1,000,000 rss feeds - millionrss.comî Submit Your Site To The Web's Top 50 Search Engines for Free! Sonic Run: Internet Search Engine Entredropper
Your Ad Here