DHCP Server in Packet Tracer Lab - Zacham17/my-tech-journal GitHub Wiki
Pre Lab
- This Lab uses the packet tracer file from Week 2
- I added a "Generic Server" to the file, which will later become a DHCP server.
- I gave the DHCP server the address, "10.26.10.2" on the Management VLAN and connected it to the FastEthernet 0/3 port on the East-core switch.
- I assigned the ports on East Core switch the address, 10.26.10.1
- NOTE: The MGMT VLAN 1 is disabled by default. On the East-Core Switch use the commands,
interface vlan 1
and no shutdown
to enable the VLAN.
- At this point, I am able to ping from the server to other devices on the network.
Configure DHCP
- On the DHCP server, in the services tab, I enabled DHCP.
- In the same tab, I configured the DHCP address pools according to the needs of each VLAN. The final address pools are shown below:

Testing DHCP
- I added a workstation to the East-Core-Switch on VLAN1 and configured it to use DHCP.
- It was assigned an address from the set address pool, showing me that DHCP is working
Configure DHCP Relay
- In order for DHCP requests and broadcasts to cross the router, I need to set up DHCP relay on the East-Core-Switch.
- The "ip helper-address" command is used to configure DHCP relay. I used the following commands on the East-Core-Switch to set up DHCP relay for each VLAN:
east-csw-01(config)#interface vlan 100
east-csw-01(config-if)#ip helper-address 10.26.10.2
east-csw-01(config-if)#interface vlan 110
east-csw-01(config-if)#ip helper-address 10.26.10.2
east-csw-01(config-if)#interface vlan 130
east-csw-01(config-if)#ip helper-address 10.26.10.2
east-csw-01(config-if)#interface vlan 140
east-csw-01(config-if)#ip helper-address 10.26.10.2
Configure Clients to Use DHCP
- On each client workstation, in the settings, I set the IP Configuration to DHCP. All the systems retrieved addresses and were able to ping each other.
- The packet tracer file looked like the following:
