DHCP in Mobile computing
Mobile Computing
( DHCP )
What is DHCP ?
• Stand for Dynamic Host Configuration Protocol.
• DHCP is a protocol that automatically assigns a unique IP address to each device that connects to a network.
• There is no need to manually assign IP address to new devices.
• It can be implemented on local networks as well as large enterprise networks.
If a new node ( system/device) is connected to the N/W, DHCP provides it with :-
• DNS Server • Subnet Mask • Domain Name • IP Address
❖ DHCP client and server work together to handle the roaming status and to assign the IP address on a new N/W efficiently.
❖ DHCP server allocates an IP address from pool of IP address to client.
❖ Dynamically allots these address to nodes for a defined time, then they need to renew it.

Importance of DHCP
DHCP provides temporary IP addresses whenever a host moves from one N/W to another N/W.
• Automatic → assigns a permanent to particular client.
• Dynamic → Assigns for specified period of time.
• Manual → Assigned by N/W admin.
The DHCP lease process works as follows:
DHCP works at the application layer to dynamically assign the IP address to the client and this happens through the exchange of a series of messages called DHCP transactions or DHCP conversation.
•DHCP Discovery: The DHCP client broadcast messages to discover the DHCP servers.
•DHCP Offer: When the DHCP server receives the DHCP Discover message then it suggests or offers an IP address(form IP address pool) to the client by sending a DHCP offer message to the client.
•DHCP Request: In most cases, the client can receive multiple DHCP offer because in a network there are many DHCP servers.
DHCP Acknowledgment: The server then sends Acknowledgment to the client confirming the DHCP lease to the client.
Components of DHCP
• DHCP Server: It is a networked device implementing the DHCP services and influencing IP addresses and related configuration information.
• DHCP client: DHCP client is the endpoint that receives configuration information from a DHCP server.
• DHCP relay: A host or router that listens for client messages being broadcast on that network and then forwards them to a configured server.
• IP address pool: IP address pool is the range of addresses that are available to DHCP clients.
• Subnet: It tells the host that in which network it is currently present.
• Lease: It is the amount of time for which the IP address is available to the client.When a lease expires, the client has to renew it.
Benefits of DHCP
• DHCP is easy to implement and does automatic assignment of IP addresses to requesting clients.
• The implementation does not require any additional costs.
• It has great benefit to mobile users as valid configuration parameters are automatically obtained from the new network.
• Duplicate or invalid assignment of IP addresses are
prevented. Hence there is no chance of conflicts in IP
addresses.
Comments
Post a Comment