DHCP Configuration Lab

Configuring a Cisco Router as a DHCP Server

Objective

Configure a Cisco router to assign IP addresses dynamically to clients on a LAN.

Lab Topology

R1 (Gi0/0) connected to Switch connected to PC1

Network: 192.168.1.0/24

Task 1 – Configure Interface IP

R1(config)# interface gigabitEthernet 0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown

Task 2 – Configure DHCP Pool

Define the pool, network, default gateway, and DNS server.

R1(config)# ip dhcp excluded-address 192.168.1.1 192.168.1.10 ! Reserve first 10 IPs
R1(config)# ip dhcp pool LAN_POOL
R1(dhcp-config)# network 192.168.1.0 255.255.255.0
R1(dhcp-config)# default-router 192.168.1.1
R1(dhcp-config)# dns-server 8.8.8.8

Task 3 – Verification

Check the DHCP bindings to see assigned addresses.

R1# show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address      Client-ID/              Lease expiration        Type
                Hardware address/
                User name
192.168.1.11    0100.5079.6668.00       Feb 16 2026 10:00 PM    Automatic