Net Exp5
Net Exp5
Experiment No.: 5
Introduction:
DHCP service is a key component of your network infrastructure by allowing centralized IP address
management on a single pool of servers.
Packet Tracer 6.2 implements two methods for setting up a DHCP server in your network :
• Configuration of DHCP pools on Cisco routers or multilayer switches.
• Configuration of a standalone DHCP server appliance on the network.
It has a messaging system for the communication between DHCP server and DHCP client. These
messaging system's messages and their types are mentioned below:
Experiment procedure:
Step 1: click on Router1 > Config > FastEthernet0/0, then set a default gateway IP statically and turn the
interface on.
Step 2: click on Server0 > Desktop > IP Configuration, then set an IP statically with the default gateway
12.0.0.1.
Step 3: on the same server window, go to Services > DHCP, enable the DHCP service.
Step 4: create the DHCP pool that defines the network of IP addresses that will be given out to the clients. -
Note that 'serverPool' is the name of the DHCP IP Pool we are creating. We now define the DHCP
parameters that will be given to each client. These include the default gateway (default-router), DNS server,
Start IP Address (the first IP that the DHCP will start setting IPs for clients from).
12.0.0.1 and 12.0.0.2 were excluded from IPs' range because they are reserved for default gateway and
DHCP server.(the range here will approximately be from 12.0.0.3 to 12.0.1.254)
Step 6: go to all PCs in this LAN and give them an IP by checking the DHCP box, and they will take an IP,
subnet mask, default gateway and DNS server automatically.
Step 2: enter the router and exclude the IP addresses we don't want our DHCP server giving out. go to
'global configuration mode' and enter the following:
Step 3: create the DHCP pool that defines the network of IP addresses that will be given out to the clients.
Note that 'ppp' is the name of the DHCP IP Pool we are creating.
Step 4: issue IP addresses for the network 12.0.0.0, which translates to the range 12.0.0.1 – 12.255.255.254.
Step 5: define the DHCP parameters that will be given to each client. These include the default gateway
(default-router) and dns server.
Conclusion:
We can set IP addresses statically or dynamically, if we have a large number of hosts in our LAN,
DHCP can gives out an IPs with a specific range, it will be easier. If a PC failed to find a DHCP server, it
will set an IP address for itself automatically (Link-Local IP).