Professional Documents
Culture Documents
Dynamic Host Configuration Protocol: A.Syed Sirajudeen
Dynamic Host Configuration Protocol: A.Syed Sirajudeen
A.Syed Sirajudeen
Confidential
The Need For DHCP
Every computer on a TCP/IP network must have a unique
IP address. The IP address identifies both the host
computer and the subnet to which it is attached. When
you move a computer to a different subnet, the IP
address must be changed. DHCP allows you to
dynamically assign an IP address to a client from a DHCP
server IP address database
Confidential
The Need For DHCP (contd)
¾ Internet Protocol needs to know the IP address of the
computer.
¾ It can be configured manually and locally for each
computer.
¾ But if configured Manually,
• Keeping the parameters up-to-date is not a one-time effort
• A change in a parameter common to all the computers in a
subnet forces changes in each computer on the net
• Some systems may not have a permanent storage device to store
the configuration parameters
• Shortage of IP addresses makes it a waste to give a computer a
permanent address
Confidential
BOOTP
Confidential
BOOTP (contd)
¾ Similarities of DHCP and BOOTP:
- Client/server model
- Nearly identical message structure
(BOOTP/DHCP relay agent usually treat their
messages as the same message type without
differentiating them)
- UDP port numbers(67/68)
(Both BOOTP and DHCP servers use UDP port
67 to listen for and receive client request
messages. And both their clients use 68 for
accepting message replies from either a
BOOTP or DHCP server)
- IP address distribution as an integral part of
configuration service
Confidential
BOOTP (contd)
¾ Two major differences:
1. BOOTP database was static and maintained manually
(DHCP database is dynamic. The size of the database is
dependent upon the number of DHCP clients on the
network. The DHCP database grows and shrinks over
time.)
Confidential
DHCP-Introduction
Confidential
DHCP-Introduction (contd)
¾ DHCP provides configuration parameters to Internet hosts
in a client-server model.
¾ DHCP hosts allocate network addresses and deliver
configuration parameters to other (client) hosts.
¾ Client and server negotiate in a series of messages to get
the needed parameters
¾ This process involves more than one server but only one
server is selected by the client
¾ DHCP consists of 2 components
• One for delivering host-specific configuration parameters from a
server to a host
• One for allocation of network addresses to hosts
Confidential
DHCP-Introduction (contd)
Confidential
DHCP-Processing Model
Confidential
DHCP-Processing Model (contd)
Confidential
DHCP-Processing Model (contd)
Confidential
Allocating a New Network Address
1. The client broadcasts a DHCPDISCOVER message
on its local physical subnet.
Confidential
Allocating a New Network Address (contd)
4. The servers receive the DHCPREQUEST broadcast from
the client. The selected server commits the binding for
the client to persistent storage and responds with a
DHCPACK message containing the configuration
parameters for the requesting client.
Confidential
Clear View
Confidential
Thank You