ESET_315_-_Lab_6_-_Review_and_DHCP_Server_Spring23-1_-_Tagged
pdf
keyboard_arrow_up
School
Texas A&M University *
*We aren’t endorsed by this school
Course
315
Subject
Information Systems
Date
Feb 20, 2024
Type
Pages
5
Uploaded by BaronWren4759
ESET 315 Local Area and Metropolitan Networks Labs
Laboratory 6: Review router/switch configurations, Cisco Router as DHCP Server
Objective
This lab reviews all the configurations you have done in our previous lab experiments, including configuration of serial and Ethernet interfaces and VLANs. Then, in Task 3, we will learn how to dynamically assign IP address to hosts, by configuring the router as a Dynamic Host Configuration Protocol (DHCP) server.
GET ALL YOUR WORK VERIFIED BY LAB INSTRUCTOR BEFORE LEAVING
Task 1: Assign IP addresses
You are provided with the subnet numbers or network name shown in Table 1 to be used for the network shown in Figure 1. Note that the laptops in the network have already been assigned an IP address. Also, note that we are using 27 bits for the subnet mask (/27 or 255.255.255.224)
Network Name (Subnet#)
Subnet Mask
60.60.60.0
255.255.255.224
60.60.60.32
255.255.255.224
60.60.60.64
255.255.255.224
60.60.60.96
255.255.255.224
60.60.60.128 255.255.255.224
60.60.60.160
255.255.255.224
Table 1: Available Subnet Addresses
Using fixed subnet number (/27)
, identify the subnets and assign the IP address for all the elements in each subnet. List them in Table 2. Please remember that within one router, each interface should be in a different subnet. Each group must work on setting up their portion of the network. Once both groups are finished setting up the network they must be able to ping each other. Note: You can submit your lab report together, in groups up to 4 students.
1
ESET 315 Local Area and Metropolitan Networks Labs
Figure1: Network to be implemented in Task 1 and 2
Node/interface
IP address
Subnet Number
Subnet Mask
Router#1 – Int E0
Router#1 – Int S0
Router#2 – Int E0
Router#2 – Int E1
Router#3 – Int E0
Router#3 – Int S0
Router#4 – Int G0/0/0
Router#4 – Int G0/0/1
Table 2: Assigning IP addresses Task 2: Configure the network shown Now you can start configuring the network that you designed in Task 1. 1-Configure first the switches. 2 - Make the physical connections.
3 – Configure the router interfaces.
4 – Configure the hosts’ IP address/mask/default gateway.
5 - Check if your network is working or not (ping between PC’s). 6 - Disconnect one of the serial interfaces. Show the TA that it is still pinging.
7 - Reconnect the serial interface, and disconnect the other one. Show the TA that it is still pinging.
Show the Demo to TA. TA Initials:
VLAN __________Router___________Overall__________
2
ESET 315 Local Area and Metropolitan Networks Labs
Question 1
: Add pictures of both the networks showing all IP addresses, subnet masks, and default gateway information. Add screenshots to explain that your network worked well (ping screenshots). Add Table 2 to your report. Task 3: Configuring a Cisco Router to act as a DHCP server
1.
Reset your routers’ configuration. You’re going to build a new network. 2.
Configure the network shown in Figure 4. 3.
On the laptops, change Network Setting (in Network Sharing Center) to “Obtain IP address dynamically” and “Obtain DNS Server address automatically” (as shown in Fig.2 for Windows, and Fig. 3 for MacBook laptops). That means that the laptops will receive an IP address dynamically, and all the remaining configuration (subnet mask, default gateway, DNS servers) from a Dynamic Host Configuration Protocol (DHCP) server. Overview of DHCP: Figure 2 - Configuring DHCP in Windows laptops
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
ESET 315 Local Area and Metropolitan Networks Labs
Figure 3 - Configuring DHCP in MacBook laptops
4.
Now configure the Cisco router to be your DHCP server. Connect terminal port of laptop to “Console” port of Cisco router through rollover cable.
5.
Follow the commands to enable DHCP on the router:
Note that all the routers may not be enabled to support DHCP protocol.
Router> enable
Router# conf t
Router(config)# service dhcp
Router(config)# ip dhcp pool <
name> (e.g. ip dhcp pool TAMU)
Router(dhcp-config)# network 40.0.0.0 255.255.255.0
Router(dhcp-config)# default-router 40.0.0.1
Router(dhcp-config)# dns-server 40.0.0.253 40.0.0.254
Router(dhcp-config)# exit
6.
Make sure the switch in Figure 4 have all ports in the same VLAN.
7.
Go to command prompt and check the IP address assigned to each of the laptops. Command: ipconfig
. If the IP address has not been updated yet, please disconnect the cable from your laptop and then connect it again or if it would not work, try the command
ipconfig /renew in the command prompt to renew the IP address.
8.
Check whether you are able to ping between the laptops.
Figure 4: Network to be setup for Task 3 4
ESET 315 Local Area and Metropolitan Networks Labs
9.
Show the TA that all your laptops obtained the IP address dynamically in the subnet 40.0.0.0/24 and are able to ping each other. (Note: If you get an IP address in the range of 169.254.0.0/16 that means that your DHCP server is nor responding or you cannot connect to it. So, you will need to review your network configuration to get the correct IP address.)
Question 2
: . On Task3, please attach the “ipconfig” screenshots for the laptops showing that it got the IP address from the DHCP server. Then explain your screenshots by describing how DHCP works. Question 3
: Based on the commands below, how do you know the range of IP addresses that the router will assign to the computers in its subnet? Router(config)# ip dhcp pool TAMU
Router(dhcp-config)# network 40.0.0.0 255.255.255.0
Make sure to create your lab groups on Canvas (Lab6 groups – up to 4 students)
Task 4: Clean Up
1.
Turn off the routers. That should return them to their original configuration.
2.
Unplug power to the switches and plug them back so as to reset them
3.
Restore the Windows network configuration settings on the laptops. 4.
Place the cables back into the rack. Make sure both ends of the cable are in the rack. 5.
Please check that you can access the internet on all your laptops before leaving the lab.
6.
Verify with the TA, before being dismissed and get signed out.
5