0% found this document useful (0 votes)
97 views11 pages

T1-Configuring Basic DHCPv4 Mannai Karim

The document describes configuring basic DHCPv4 services on a router topology. It involves: 1) Building the network topology and configuring basic settings on routers R1 and R2. 2) Configuring DHCPv4 server on R2 to assign addresses to hosts. R1 is configured as a DHCP relay agent so hosts can obtain addresses. 3) Verifying the DHCP configuration by checking address leases on R2 and relay configuration on R1. This confirms hosts PC-0 and PC-1 obtain the expected IP addresses from the DHCP pool on R2.

Uploaded by

Karim zgoN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views11 pages

T1-Configuring Basic DHCPv4 Mannai Karim

The document describes configuring basic DHCPv4 services on a router topology. It involves: 1) Building the network topology and configuring basic settings on routers R1 and R2. 2) Configuring DHCPv4 server on R2 to assign addresses to hosts. R1 is configured as a DHCP relay agent so hosts can obtain addresses. 3) Verifying the DHCP configuration by checking address leases on R2 and relay configuration on R1. This confirms hosts PC-0 and PC-1 obtain the expected IP addresses from the DHCP pool on R2.

Uploaded by

Karim zgoN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 11

Lab - Configuring Basic DHCPv4 on a Router

Topology

Figure 1: topology

Part 1: Build the Network and Configure Basic Device Settings


Step 1: Cable the network as shown in the topology. (Figure1)
Step 2: Initialize and reload the routers and switches.(Figure1)
Step 3: Configure basic settings for each router.
a. Console into the router and enter global configuration mode.
b. Copy the following basic configuration and paste it to the running-configuration on the
router.
c. Configure the host name as shown in the topology.

1
d. Configure the IPv4 addresses on the router as shown in the topology.
R1 :

2
R2 :

ISP :

e. Set the DCE serial interfaces with a clock rate of 128000.

3
R2 :

Step 4: Configure dynamic, default, and static routing on the routers.


a. Configure RIPv2 for R1.

b. Configure RIPv2 and a default route to the ISP on R2.

c. Configure a summary static route on ISP to reach the networks on the R1 and R2 routers.

4
Step 5: Verify network connectivity between the routers.
R1 :

5
R2 :

6
ISP :

Step 6: Verify the host PCs are configured for DHCP.


PC0 :

7
PC1 :

Part 2: Configure a DHCPv4 Server and a DHCP Relay Agent


Step 1: Configure DHCPv4 server settings on router R2.

On PC-A or PC-B, open a command prompt and enter the ipconfig /all command. Did either
of the host PCs receive an IP address from the DHCP server? Why?
The host computers will not receive ip adresses from DHCP server at R2 until R1is
configured as a DHCP relay agent.
Step 2: Configure R1 as a DHCP relay agent.

Step 3: Record IP settings for PC-A and PC-B.

8
Based on the DHCP pool that was configured on R2, what are the first available IP addresses
that PC-0 and PC-1 can lease?
PC-0 : 192.168.1.10 / PC-1 : 192.168.0.10

9
Step 4: Verify DHCP services and address leases on R2.
a. On R2, enter the show ip dhcp binding command to view DHCP address leases.

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.

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.

10
In the output of the show ip dhcp pool command, what does the current index refer to?
The next available address for leasing.
d. On R2, enter the show run | section dhcp command to view the DHCP configuration
in the running configuration.

e. On R1, enter the show run interface command for interfaces G0/0 and G0/1 to view
the DHCP relay configuration in the running configuration.
R1# show run

11

You might also like