Configuring DHCP Server on Cisco Packet Tracer

CyberSec Indonesia
4 min readJul 22, 2021

Hello everyone, this time, I will make a discussion about DHCP Server. This is where the previous discussion we discussed VLAN and InterVLAN.
Ok, let’s get straight into the topic of discussion… 🏃‍♀️🏃‍♀️🏃‍♀️🏃‍♀️

DHCP Server???

DHCP stands for Dynamic Host Configuration Protocol, which is a service that automatically assigns IP addresses to computers that request them. The DHCP Server is the party that provides the IP Address number, while the requester is called the DHCP Client. With this service, a network administrator no longer needs to manually assign an IP address to every computer on the network during TCP/IP configuration but only references DHCP.

Example DHCP Server

Here I have a question and a topology that must be created and configured.

Topology

Configure DHCP Server on SERVER and Router R1 with the following conditions:
* IP Address Table Conditions:
R1 — Gig0/0 = 192.7.0.1 /24
R1 — Gig0/1 = 192.7.10.1 /24
R2 — Gig0/0 = 192.7.10.2 /24
R2 — Gig0/1 = 192.7.20.1 /24
Server = 192.7.0.5 /24
* DHCP IP Terms:
N — Server: 192.7.0.10–192.7.0.20
N — 1: 192.7.10.10–192.7.10.30
N — 2: 192.7.20.100–192.7.20.140
* For N — Server get DHCP IP from SERVER
* For N — 1 and N — 2, get DHCP IP from Router R1
* Between networks can communicate with each other

Basic Configuration of Router Devices

The first step is to do the basic configuration of each router device (Router 1 and Router 2).
* Router 1

Router 1
  • Router 2
Router 2

Router And Server Interface IP Address Configuration

Next, configure the IP address on each interface of the router by the existing provisions and configure the IP address on the server statically.
* Router 1

Router 1

* Router 2

Router 2

* Server

Server

DHCP Server Configuration

The next step is to configure the DHCP server on SERVER and Router 1 according to the DHCP IP provisions above and configure Router 2 so that N — 2 can receive DHCP IPs from Router 1.
* Server

Server

NOTE:
The maximum number of users is configured as 11 because the desired pool range is 192.7.0.10–192.7.0.20. So the distance between the networks is 11.

* Router 1
Router 1 will configure IP DHCP for N — 1 and N — 2 and configure Routing using RIPv2 so that routers can communicate with each other.

Router 1

NOTE:
- IP DHCP Exclude Address is an IP address that the DHCP server will not assign to the Client. So that the IP obtained from the client is an IP that is outside the IP exclude.
- For further RIPv2 configuration, please read the following article.

* Router 2
Because the N — 2 network will receive an IP address from Router 1, a DHCP server, Router 2 only configures Routing along with the IP interface address from R1, leading to router R2.

Router 2

DHCP Configuration on PC

Next, configure DHCP on each PC device to get a DHCP IP from the DHCP server.
* PC0

PC0

* PC1

PC1

* PC2

PC2

* PC3

PC3

* PC4

PC4

* PC5

PC5

PING Test Between N — Server, N — 1 and N — 2

  • PC1 > PC2
PC1 > PC2
  • PC3 > PC4
PC3 > PC4
  • PC5 > PC1
PC5 > PC1

FINISH!!
Maybe that’s all I can share with friends. If you have input and suggestions, please comment.
Thank you, hopefully, useful, and don’t forget to share with other friends. ^_^
#Admin #DHCPServer #cisco #cybersecurity #information-technology #indonesia

--

--

CyberSec Indonesia

👨‍💻 All About IT Security and Networking 👨‍💻