BOOTP and DHCP

BOOTP:
BOOTP     -  Bootstrap protocol
DHCP       -  Dynamic Host Configuration Protocol.


⇒Both of these protocols are used for assigning IP Address to clients who wants to connect to Network.

⇒Four pieces of information needed by computers in  order to communicate.
↳ Ip Adress of Computer.
↳ Subnet Mask of Computer.
↳ Ip address of Router.
↳ Ip address of Name Server.

⇒All four info is not available for manufacturer. ROM cannot store these information

⇒BOOTP is client/server protocol (Application layer program) designed to provide the four pieces of information for a computer that is booted for first time.

⇒The Bootstrap Protocol (BOOTP) is a client/server protocol that configures a diskless computer or a computer that is booted for the first time. BOOTP provides the IP address, net mask, the address of a default router, and the address of a name server

⇒BOOTP is a static configuration protocol.

When client requests for IP address, BOOTP server consults a table that matches existing physical address of client with its IP address.



žDisadvantage :
⇒If client moves to another physical network.

⇒If the host needs a temporary IP address. 



 DHCP:

⇒Supports both static and dynamic allocation.
⇒Static allocation is manual(by admin), Dynamic is automatic Configuration.

⇶  It contains 2 databases.

1-One database statically binds physical address to IP address.
2-Other contains a pool of IP address.


⇒On receiving request from DHCP client, it first checks in Static database and if not present, assigns IP address from the pool with lease period.

⇒žFor temporary IP addresses server consults the secondary database and assigns a temporary address with a lease period(can be renewed or stopped).








Comments

Popular posts from this blog

FC Barcelona vs Real Madrid -El Clasico Rivalry.

Memory Management (Contiguous and Non-Contiguous ).

TCP vs UDP