Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
87 views7 pages

Computer Networks: Lab No.8 Lab Title: Configuring DHCP On A Multi-Function Device Objective

The document describes configuring DHCP on a Linksys multi-function device to assign IP addresses to 3 connected PCs. It involves setting up the network topology with the PCs and router, observing the default DHCP settings, changing the DHCP range to 192.168.5.26-75, enabling DHCP on the PCs to obtain addresses, and verifying connectivity by pinging between the PCs and router. The goals of DHCP are to dynamically assign IP addresses to hosts joining the network and allow addresses to be reused over time.

Uploaded by

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

Computer Networks: Lab No.8 Lab Title: Configuring DHCP On A Multi-Function Device Objective

The document describes configuring DHCP on a Linksys multi-function device to assign IP addresses to 3 connected PCs. It involves setting up the network topology with the PCs and router, observing the default DHCP settings, changing the DHCP range to 192.168.5.26-75, enabling DHCP on the PCs to obtain addresses, and verifying connectivity by pinging between the PCs and router. The goals of DHCP are to dynamically assign IP addresses to hosts joining the network and allow addresses to be reused over time.

Uploaded by

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

COMPUTER NETWORKS

Computer Networks
Lab No.8
Lab Title:
Configuring DHCP on a Multi-function
Device
Objective:
 Connect three PCs to a Linksys-WRT300N, which is a multi-function device
 Change the DHCP setting to a specific network range
 Configure the clients to obtain an IP address via DHCP

Step 1: Set up the network topology


 Add three PCs to the work area.
 Add a Linksys-WRT300N to the work area.
 Connect each PC to an Ethernet port on the Linksys device using a straight through
cable.

Figure 1 Network Diagram

Step 2: Observe the default DHCP settings


 Click the Linksys-WRT300N Router to open the configuration window.
 Click the Config tab and change the Display Name to DHCP Enabled Device.
 Note: A popup window will appear when changing the Display Name warning that
changing the Display Name may affect scoring. Proceed with changing the Display
Name since it must match exactly for the activity to score correctly.

2012-EE-710 58
COMPUTER NETWORKS

Figure 2 Configuration of Wireless Device

 Select the GUI tab.


 This navigates to the Setup / Basic Setup page within the Linksys GUI.
 Scroll through the Basic Setup page to view default settings, including the default IP address
of the Linksys device.
 Note that DHCP is enabled, the starting address of the DHCP range and the range of
addresses available to clients.

Step 3: Change the default IP address of the Linksys device


 Within the Router IP section, change the IP address of the Linksys device to: 192.168.5.1.
 Scroll to the bottom of the GUI page and click Save Settings.
 Scroll back up to the Router IP section to ensure the change is made.

Step 4: Change the default DHCP range of addresses


 Notice the starting IP address in the DHCP Server Setting is updated to match the same
network as the IP address of the Linksys device: 192.168.5.100.
 Change the Starting IP Address from 192.168.5.100to 192.168.5.26.
 Change the Maximum Number of Users to 75.
 Scroll to the bottom of the GUI page and click Save Settings.
 Scroll back up to the DHCP Setting section to ensure the change is made.
 Notice the range of address available to clients has updated to reflect the change.
 Close the Linksys configuration window.

2012-EE-710 59
COMPUTER NETWORKS

Figure 3 GUI tab Configuration

Step 5: Configure DHCP on the client workstations


 Enable DHCP on PC0.
 Click PC0.
 Click the Config tab. Go to the Interface FastEthernet sub-menu.
 Enable DHCP by selecting the DHCP button in the IP Configuration panel.
 Notice that an IP address and subnet mask is automatically assigned.
 Close the configuration window.

2012-EE-710 60
COMPUTER NETWORKS

Figure 4 PC Configuration

 Observe the IP configuration of a client that does not have DHCP enabled.
 Click PC1.
 Click the Desktop tab > Command Prompt.
 Type ipconfig and press enter.

Figure 5 ipconfig command

 Notice that all settings are set to 0.0.0.0. No IP address is assigned statically, and the
PC has not obtained an address automatically from DHCP.
 To confirm it further, ping pc0.

2012-EE-710 61
COMPUTER NETWORKS

Figure 6 ping command

 Enable DHCP on PC1 and PC2, using the Config tab as outlined in earlier Step.

Figure 7 PC1 Configuration

 Notice that a different IP address from the one assigned to PC0 is automatically
assigned to PC1 and PC2.
 Close the configuration window.

Step 6: Verify connectivity


 Click PC1 and select the Desktop tab > Command Prompt.
 Type ipconfig to view the IP configuration of PC1.

2012-EE-710 62
COMPUTER NETWORKS

Figure 8 ipconfig command

 Type ping 192.168.5.1to ping the Linksys device.

Figure 9 ping command to gateway

 Type ping 192.168.5.26to ping PC0.

Figure 10 ping to other host

 You should receive a reply from both devices.


 Close the configuration window and click Check Results button at the bottom of the
instruction window to check your work.
 Choose the Assessment Items tab to view any configurations that were not done correctly.

2012-EE-710 63
COMPUTER NETWORKS

Analysis:
Q1 What does DHCP stands for?
Answer ICMP  Dynamic host configuration protocol.
Q2 What does DHCP do?
Answer DHCP provides static and dynamic address allocation that can be manual or
automatic.
Q3 What is the other name of DHCP and it is called so?
Answer Plug and Play.
DHCP also called so because we just have to connect a PC in LAN and it
automatically assigned an IP address.
Q4 Draw DHCP Client Server diagrams?
Answer DHCP Allocation Diagram:

Figure 11 DHCP Client Server Scenario

Q5 What are the goals of DHCP?


Answer Allow host to dynamically obtain its IP address from network server when it joins
network
 Can renew its lease on address in use
 Allows reuse of addresses (only hold address while connected/“on”)
 Support for mobile users who want to join network (more shortly).

2012-EE-710 64

You might also like