User:Samir shelar92/Linux Project: BlackSwan

DYNAMIC HOST CONTROL PROTOCOL (DHCP) DHCP IS A NETWORK PROTOCOL THAT IS USED TO ASSIGN VARIOUS NETWORK PARAMETERS TO A DEVICE.

DHCP IS A CLIENT-SERVER PROTOCOL. A DHCP CLIENT IS A DEVICE WHICH IS CONFIGURED TO USE DHCP TO REQUEST NETWORK PARAMETERS FROM A DHCP SERVER.

A DHCP SERVER MAINTAINS A POOL OF AVAILABLE IP ADDRESSES AND ASSIGNS ONE OF THEM TO THE HOST.

DHCP ALSO PROVIDES THE FOLLOWING INFORMATION: - SUBNET MASK - DEFAULT GATEWAY - DOMAIN NAME - DNS SERVER

DHCP PROTOCOL UNDERGOES THE FOLLOWING FOUR INITIAL STEPS: 1. DHCP CLIENT SENDS A BROADCAST PACKET "DHCP DISCOVER" TO DISCOVER THE DHCP SERVERS. 2. DHCP SERVER RECEIVES THE "DHCP DISCOVER" PACKET AND RESPONDS WITH A "DHCP OFFER" PACKET, OFFERING IP ADDRESSING INFORMATION. 3. DHCP CLIENT RECEIVES THE "DHCP OFFER" PACKET, AND IT RESPONDS BY CREATING "DHCP REQUEST" BROADCAST PACKET. THE DHCP CLIENT ASKS FOR NETWORK PARAMETERS IN THIS PACKET. 4. DHCP SERVER APPROVES WITH A "DHCP ACKNOWLEDGEMENT" PACKET. THIS PACKET INCLUDES LEASE DURATION AND OTHER CONFIGURATION INFORMATION.