0% found this document useful (0 votes)
14 views5 pages

Net Exp5

This document describes how to configure a DHCP server on a standalone server or Cisco router to dynamically assign IP addresses to clients on a network. It provides steps to exclude IP addresses from the DHCP pool, define DHCP parameters like the default gateway and DNS server, and enable DHCP services to allow clients to automatically obtain IP addresses and network settings. Configuring a DHCP server allows for centralized management of IP addresses rather than requiring static configuration on each client.

Uploaded by

maram.sobhy.2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

Net Exp5

This document describes how to configure a DHCP server on a standalone server or Cisco router to dynamically assign IP addresses to clients on a network. It provides steps to exclude IP addresses from the DHCP pool, define DHCP parameters like the default gateway and DNS server, and enable DHCP services to allow clients to automatically obtain IP addresses and network settings. Configuring a DHCP server allows for centralized management of IP addresses rather than requiring static configuration on each client.

Uploaded by

maram.sobhy.2002
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Networks Lab

Experiment Name: DHCP


configuration.

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:

First: Configuration of a standalone DHCP server.

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 5: DHCP servers' work is done now, just click save.

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.

Second: Configuration of DHCP pools on Cisco routers.


Step 1: click on Router1 > Config > FastEthernet0/0, then set a default gateway IP statically and turn the
interface on.

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.

Step 6: give an IP for every PC automatically by DHCP.

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).

You might also like