Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Dynamic Host Configuration Protocol

DHCP

DHCP 1
DHCP
protocol that automatically provides an IP address
DHCP Server − A DHCP server can be a router or a
server role as a host
DHCP client is the endpoint that receives
configuration data from a DHCP server
In DHCP, port number 67 is used for the server and 68
is used for the client.
2
Overview of DHCP

3
Way to Assign IP Address

Static IP Dynamic IP
Assignment Assignment
Assign IP address
Assign IP address
for each client
Temporary from a
manually and
centralized server
permanently
4
Problem of Static IP Assignment
IP entered manually->Time Consuming

IP may Entered Incorrectly ->Human Error

Communication and Network Issue->IP Duplication

Difficult to Document in DB

Difficult to update
5
DHCP
Automatically Assign IP
Correct Configuration is ensured
Client Configuration is updated automatically
Common Network Problem is solved
Avoid IP Duplication
Have a database for each client PC
6
Disadvantages of DHCP

When DHCP
server is Advanced Skill
unavailable, Needed to
client is unable Configure and
to access Administrate
enterprises DHCP
network

7
How DHCP Works
DHCP Server port 67 is open

How Client know the DHCP Offer comes back

Port 68 open machine receive the IP

Client send back Acknowledgement to server

Server update its database and tell the client when the IP Will expire
the server marks the address as leased. to reopen it.
8
DHCP Parameter
IP Address range 192.168.1.1-192.168.1.100
IP Address exclude 192.168.1.1-192.168.1.5

Reserve IP 192.168.1.3 MAC of a machine

Router IP ->for the intenet

You might also like