Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
4.6 Configure and verify DHCP client and relay

Packet Tracer activity8.1.3.3ccna27 min

8.1.3.3 Packet Tracer - Configuring DHCPv4 Using Cisco IOS Instructions

Want it marked as you type? Install the lab panel once and Packet Tracer shows your marks and a tutor you can ask.

Topology

Router R2 in the middle carries the 192.168.20.0/24 LAN through switch S2 to a DNS Server, and reaches an Internet cloud over 209.165.200.224/27. Beyond the cloud sit two servers, www.cisco.com and www.publicsite.com. R2 runs a red serial link down to the left to R1, whose LAN is 192.168.10.0/24 through switch S1 to PC1, and a second red serial link down to the right to R3, whose LAN is 192.168.30.0/24 through switch S3 to PC2. The two serial links carry no network address in the figure, and no port numbers are printed anywhere.

Addressing Table

DeviceInterfaceIPv4 AddressSubnet MaskDefault Gateway
R1G0/0192.168.10.1255.255.255.0N/A
S0/0/010.1.1.1255.255.255.252N/A
R2G0/0192.168.20.1255.255.255.0N/A
G0/1DHCP AssignedDHCP AssignedN/A
S0/0/010.1.1.2255.255.255.252N/A
S0/0/110.2.2.2255.255.255.252N/A
R3G0/0192.168.30.1255.255.255.0N/A
S0/0/110.2.2.1255.255.255.0N/A
PC1NICDHCP AssignedDHCP AssignedDHCP Assigned
PC2NICDHCP AssignedDHCP AssignedDHCP Assigned
DNS ServerNIC192.168.20.254255.255.255.0192.168.20.1

Objectives

Part 1: Configure a Router as a DHCP Server

Part 2: Configure DHCP Relay

Part 3: Configure a Router as a DHCP Client

Part 4: Verify DHCP and Connectivity

Scenario

A dedicated DHCP server is scalable and relatively easy to manage, but can be costly to have one at every location in a network. However, a Cisco router can be configured to provide DHCP services without the need for a dedicated server. As the network technician for your company, you are tasked with configuring a Cisco router as a DHCP server to provide dynamic allocation of addresses to clients on the network. You are also required to configure the edge router as a DHCP client so that it receives an IP address from the ISP network.

Step 1: Configure the excluded IPv4 addresses.

Configure R2 to exclude the first 10 addresses from the R1 and R3 LANs. All other addresses should be available in the DHCP address pool.

R2(config)# ip dhcp excluded-address 192.168.10.1 192.168.10.10
R2(config)# ip dhcp excluded-address 192.168.30.1 192.168.30.10

Step 2: Create a DHCP pool on R2 for the R1 LAN.

a. Create a DHCP pool named R1-LAN (case-sensitive).

R2(config)# ip dhcp pool R1-LAN

b. Configure the DHCP pool to include the network address, the default gateway, and the IP address of the DNS server.

R2(dhcp-config)# network 192.168.10.0 255.255.255.0
R2(dhcp-config)# default-router 192.168.10.1
R2(dhcp-config)# dns-server 192.168.20.254

Step 3: Create a DHCP pool on R2 for the R3 LAN.

a. Create a DHCP pool named R3-LAN (case-sensitive).

R2(config)# ip dh pool R3-LAN

b. Configure the DHCP pool to include the network address, the default gateway, and the IP address of the DNS server.

R2(dhcp-config)# network 192.168.30.0 255.255.255.0
R2(dhcp-config)# default-router 192.168.30.1
R2(dhcp-config)# dns-server 192.168.20.254

Step 1: Configure R1 and R3 as a DHCP relay agent.

!R1
R1(config)# interface g0/0
R1(config-if)# ip helper-address 10.1.1.2
!R3
R3(config)# interface g0/0
R3(config-if)# ip helper-address 10.2.2.2

Part 3: Configure R2 as a DHCP Client

a. Configure the Gigabit Ethernet 0/1 interface on R2 to receive IP addressing from DHCP and activate the interface.

R2(config)# interface g0/1
R2(config-if)# ip address dhcp
R2(config-if)# no shutdown

Note: Use Packet Tracer’s Fast Forward Time feature to speed up the process or wait until R2 forms an EIGRP adjacency with the ISP router.

b. Use the show ip interface brief command to verify that R2 received an IP address from DHCP.

Step 1: Verify DHCP bindings.

R2# show ip dhcp binding
IP address       Client-ID/              Lease expiration        Type
Hardware address
192.168.10.11    0002.4AA5.1470           --                     Automatic
192.168.30.11    0004.9A97.2535           --                     Automatic

Step 2: Verify configurations.

Verify that PC1 and PC2 can now ping each other and all other devices.

Check your answersEvery question in this lab, answered. Take your own capture first.→

Source: itexamanswers.net