HackGh Community Forum

Log in

I forgot my password



Who Is Online?
Guests : 0
Hidden : 0
Registered : 0
Users Online :
Refresh View the whole list

Latest topics
» Getting a PayPal Account in Ghana
Sat 11 Nov 2017 - 13:34 by saudseidu

» How To Unlock All Alcatel Modems and Phones For Free
Thu 26 Oct 2017 - 23:34 by paah11

» Build your bitcoin wealth with Btccashin matrix revolution 100% legit
Sun 22 Oct 2017 - 7:46 by rootboy24

» What does the "secret code" *#9900# really do to your Android device?
Tue 10 Oct 2017 - 13:28 by chinesta10

» MTN 300GB DATA CHEAT
Tue 26 Sep 2017 - 13:01 by kbasante

» Airtel Sika kokoo promo
Wed 20 Sep 2017 - 16:07 by Dagobert

» Glo Proxy Cheat 2016 Fbt/Cheats By HackGhTeaM
Sat 2 Sep 2017 - 6:31 by chinesta10

» AIRTEL FREE BROWSING
Tue 15 Aug 2017 - 13:20 by akokono

» Instagram Account hacked
Sun 6 Aug 2017 - 19:17 by saudseidu

» AIRTEL DATA TRANSFER
Sat 5 Aug 2017 - 19:22 by kbasante

Top posting users this month



Free counters!
Staff Online
Staff Online
Members2046
Most Online179
Newest Member
BBC alternative

You are not connected. Please login or register

 » Computer Tricks And Technology Tips » Technology News And Tips » 

[TUTORIAL] What is DHCP and How Does it Work ?

View previous topic View next topic Go down  Message [Page 1 of 1]

WhIPL4$h

avatar
Manager
Manager


DHCP assigns an IP address when a system is started or a new device is added to the network, for example:

1. A user turns on a computer which has a DHCP client.

2. The client computer sends a broadcast request ( called a DISCOVER) to every device in the network, looking for a DHCP server to answer.

3. The router directs the broadcast request or DISCOVER packet to the correct DHCP server.

4. The server with DHCP server software receives the DISCOVER packet. Depending on availability and usage policies fixed on the server, the server determines an appropriate address to give to the client. The server then reserves that address for the client temporarily and sends back to the client computer, an OFFER (or DHCPOFFER) packet, containing that address information. The server also configures the client’s WINS servers, DNS servers, NTP servers, and sometimes other services as well.

5. The client then sends a REQUEST (called DHCPREQUEST) packet, conforming the server that it intends to use the address.

6. The server then sends an ACK (or DHCPACK) packet, confirming that the respective client computer has a been given a lease on the address for a specific period of time defined by the server.

If a computer uses a static IP address, that means it was manually configured to use that specific IP address. The main problem of manual assigning of the IP’s is that it is prone to user error which may lead to configuring of two computers with the same IP address. It creates a conflict that results in loss of service. Using DHCP reduces the work as it dynamically assigns IP addresses and also reduces the chances of conflicts.

-CodingSec


------------------------------------------------


View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum