DHCP - AN INTRODUCTION
The Dynamic Host
Configuration Protocol (DHCP) is a network protocol that is used to configure
network devices so that they can communicate on an IP network. A DHCP client
uses the DHCP protocol to acquire configuration information, such as an IP
address, a default route and one or more DNS server addresses from a DHCP
server. The DHCP client then uses this information to configure its host. Once
the configuration process is complete, the host is able to communicate on that
internet. The DHCP server maintains a database of available IP addresses and
configuration information. When it receives a request from a client, the DHCP
server determines the network to which the DHCP client is connected, and then
allocates an IP address or prefix that is appropriate for the client, and sends
configuration information appropriate for that client.
Because the DHCP
protocol must work correctly even before DHCP clients have been configured, the
DHCP server and DHCP client must be connected to the same network link. In
larger networks, this is not practical. On such networks, each network link
contains one or more DHCP relay agents. These DHCP relay agents receive
messages from DHCP clients and forward them to DHCP servers. DHCP servers send
responses back to the relay agent, and the relay agent then sends these
responses to the DHCP client on the local network link.
DHCP servers typically
grant IP addresses to clients only for a limited interval. DHCP clients are
responsible for renewing their IP address before that interval has expired, and
must stop using the address once the interval has expired, if they have not
been able to renew it. DHCP is used for IPv4 and IPv6. While both versions
serve much the same purpose, the details of the protocol for IPv4 and IPv6 are
sufficiently different that they may be considered separate protocols.
Hosts that do not use DHCP for address configuration may still use it to obtain other configuration information. Alternatively, IPv6 hosts may use stateless address auto configuration. IPv4 hosts may use link-local addressing to achieve limited local connectivity.
No comments:
Post a Comment
If you have any doubts, please let me know