net412-lab_configuring_troubleshooting_dhcp-router
net412-lab_configuring_troubleshooting_dhcp-router
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
Objectives
Part 1: Build the Network and Configure Basic Device Settings
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 15
Lab - Configuring Basic DHCPv4 on a Router
Background / Scenario
The Dynamic Host Configuration Protocol (DHCP) is a network protocol that lets network administrators manage
and automate the assignment of IP addresses. Without DHCP, the administrator must manually assign and
configure IP addresses, preferred DNS servers, and default gateways. As the network grows in size, this becomes
an administrative problem when devices are moved from one internal network to another.
In this scenario, the company has grown in size, and the network administrators can no longer assign IP
addresses to devices manually. Your job is to configure the R2 router to assign IPv4 addresses on two
different subnets connected to router R1.
Required Resources
3 Routers
2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
2 PCs (Windows 7, Vista, or XP with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
Ethernet and serial cables as shown in the topology
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 15
Lab - Configuring Basic DHCPv4 on a Router
f. Configure the IP addresses for all the router interfaces according to the Addressing Table.
g. Configure the serial DCE interface on R1 and R2 with a clock rate of 128000.
h. Configure EIGRP for R1.
R1(config)# router eigrp 1
R1(config-router)# network 192.168.0.0 0.0.0.255
R1(config-router)# network 192.168.1.0 0.0.0.255
R1(config-router)# network 192.168.2.252 0.0.0.3
R1(config-router)# no auto-summary
i. Configure EIGRP and a default route to the ISP on R2.
R2(config)# router eigrp 1
R2(config-router)# network 192.168.2.252 0.0.0.3
R2(config-router)# redistribute static
R2(config-router)# exit
R2(config)# ip route 0.0.0.0 0.0.0.0 209.165.200.225
j. Configure a summary static route on ISP to reach the networks on the R1 and R2 routers.
ISP(config)# ip route 192.168.0.0 255.255.252.0 209.165.200.226
k. Copy the running configuration to the startup configuration.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 15
Lab - Configuring Basic DHCPv4 on a Router
The host computers will not have received IP addresses from the DHCP server at R2 until R1 is configured as a
DHCP relay agent.
Based on the DHCP pool that was configured on R2, what are the first available IP addresses that PC-A and
PC-B can lease?
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 15
Lab - Configuring Basic DHCPv4 on a Router
User name
192.168.0.10 011c.c1de.91c3.5d Mar 13 2013 02:07 AM Automatic
192.168.1.10 0100.2170.0c05.0c Mar 13 2013 02:09 AM Automatic
Along with the IP addresses that were leased, what other piece of useful client identification information is in the
output?
The client hardware addresses identify the specific computers that have joined the network.
b. On R2, enter the show ip dhcp server statistics command to view the DHCP pool statistics and
message activity.
R2# show ip dhcp server statistics
Memory usage 42175
Address pools 2
Database agents 0
Automatic bindings 2
Manual bindings 0
Expired bindings 0
Malformed messages 0
Secure arp entries 0
Message Received
BOOTREQUEST 0
DHCPDISCOVER 2
DHCPREQUEST 2
DHCPDECLINE 0
DHCPRELEASE 0
DHCPINFORM 2
Message Sent
BOOTREPLY 0
DHCPOFFER 2
DHCPACK 4
DHCPNAK 0
How many types of DHCP messages are listed in the output?
c. On R2, enter the show ip dhcp pool command to view the DHCP pool settings.
R2# show ip dhcp pool
Pool R1G1 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
Leased addresses : 1
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
192.168.1.11 192.168.1.1 - 192.168.1.254 1
Pool R1G0 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 254
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 15
Lab - Configuring Basic DHCPv4 on a Router
Leased addresses : 1
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
192.168.0.11 192.168.0.1 - 192.168.0.254 1
In the output of the show ip dhcp pool command, what does the Current index refer to?
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 15