Experiment: Configure DHCP in Packet Tracer For Internetworking
Experiment: Configure DHCP in Packet Tracer For Internetworking
_______________________________
Learning objectives:
1. To understand distribution of dynamic IP address
Theory:
DHCP is a network management tool that works with both the Transmission
Control Protocol (TCP) and Internet Protocol (IP) - the two primary suites of
internet protocols used to connect devices to each other and to the network
on the internet. They form the TCP/IP protocol.
In short, the process goes like this: A device (the client) requests an IP
address from a router (the host), after which the host assigns an available IP
address to allow the client to communicate on the network. A bit more detail
below. Once a device is turned on and connected to a network that has a
DHCP server, it will send a request to the server, called a DHCP DISCOVER
request.
After the DISCOVER packet reaches the DHCP server, the server attempts to
hold on to an IP address that the device can use, and then offers the client
the address with a DHCPOFFER packet. Once the offer has been made for
the chosen IP address, the device responds to the DHCP server with a
DHCPREQUEST packet to accept it, after which the server sends an ACK
that's used to confirm that the device has that specific IP address and to
define the amount of time that the device can use the address before getting
a new one. If the server decides that the device cannot have the IP address,
it will send a NACK.
Procedure
Steps to create a Local Area Network that will contain n number of PCs, a
switch, and a router is illustrated below:
7. After having done with the connections we go the Command Line and
configure the network for DHCP.
Conclusion: