Lab 3-3: DHCP Server in Packet Tracer

In this lab, you will configure a DHCP server in Packet Tracer to assign IP's to laptops and workstations.

Configure DHCP server

  • Rename the server to DHCP-01

  • Go to the services tab and enable DHCP

  • Change the Start Address of serverPool to 100 in the last octect

serverPool is the Default Pool and cannot be removed, you will use this pool for VLAN 1 Management

  • Create a Pool for each of your FacStaff, Student, StuLab1, and StuLab2, VLANs

    • Default gateway is the router address for the VLAN

    • Leave DNS at 0.0.0.0

    • Start IP address—the first IP that you want to assign

    • Subnet mask for VLAN

    • Maximum Users: set this close to the requirements in your Subnet Table

    • TFTP leave at 0.0.0.0

Test your DHCP Server

  • Add a workstation directly to East-Core-Switch on VLAN1 (FA0/4)

  • Workstation should be able to get an IP address from the DHCP server!

    • Run ipconfig /renew

Configure DHCP Relay

  • East-Core-Switch is the router for your VLANS (remember that DHCP requests are broadcasts and cannot cross a router without help)

  • To get DHCP broadcasts from your user VLANs (100, 110, 130, 140), you need to tell the router to forward them to your DHCP server.

  • This is done with the ip helper-address vlan interface configuration

  • On East-Core-Swicth go into the interface configuration for FacStaff VLAN 100

    • config t

    • interface vlan 100

    • ip-helper-address 10.26.10.2

  • Repeat for all VLANS (110, 130, 140)

Configure Clients to use DHCP

  • Go into the configuration on all machines and change the gateway from static to DHCP

  • Your devices should get DHCP addresses

  • All your systems should be able to ping each other

Last updated