DHCP stands for Dynamic Host Configuration Protocol.
— It is client/server protocol that automatically assigns IP Addresses to network devices.
— It is also used to configure the proper subnet mask, default gateway, and DNS server information on the device.
— The DHCP operates based on the client-server model.
— The DHCP is controlled by a DHCP server that dynamically distributes network configuration parameters, such as IP addresses, for interfaces and services.
— A DHCP server reducing the need for a network administrator or a user by enabling the computers to request IP addresses and networking parameters automatically.
— Each computer or other devices (e.g printer) in the network requires the manually assigns to an IP Addresses in the absence of DHCP server.
— A DHCP server is used to issue unique IP addresses and automatically configure other network information.
How Does it Work ??
Dynamic Host Configuration Protocol is used to dynamically assign TCP/IP configuration parameters to network devices like(IP address, subnet, default gateway etc).
A computer that gets its configuration information by using Dynamic Host Configuration Protocol (DHCP) is known as a Dynamic Host Configuration Protocol (DHCP) client.
It is based on Bootstrap Protocol.A DHCP client makes a request to a DHCP server that may or may not reside on the same subnet. DHCP then distributes IP address, subnet mask, gateway and other information like name server to its client.
In this DHCP client goes through six stages:-
Initializing: Discover DHCP server.
Selecting: Collect offers and select one.
Requesting: Server offers IP address and other info.
Binding: Request configuration from selected server.
Renewing: Then receives acknowledgment of configuration requested.
Rebinding: Then release IP address.