Module 3 DHCP - absentee-neptune/NET-330 GitHub Wiki

DHCP in Packet Tracer

  • Important NOTE: The MGMT VLAN is Vlan 1 - the default VLAN on the switch.
    • The VLAN 1 interface is disabled (shutdown) by default.
    • From the VLAN 1 interface config in the Router CLI, issue the following command after entering the IP address and mask: no shutdown

Configuring DHCP Service Pools

  • serverPool is the Default Pool for the DHCP service
    • This pool is for VLAN 1 Management
  • Creating a Pool for each VLAN
    • Default gateway is the router address for that VLAN
    • Leave DNS at 0.0.0.0 (unless you have a DNS Server, then add the IP of that server)
    • Start IP address - the first IP that you want to assign
    • Subnet Mask for that VLAN
    • Maximum Users - set this close to the requirements in the Subnet Table
    • TFTP leave at 0.0.0.0

Configuring DHCP Relay

  • DHCP requests are broadcasts and cannot cross a router without help.
    • On the router CLI, go into the interface configuration for the specific VLAN:
      • config t
      • interface vlan x
    • Then set the DHCP server address
      • ip helper-address DHCP-IP address
  • Repeat steps for each VLAN
  • Configure Clients to use DHCP