Lab PDF
Lab PDF
Prepared by;
Haitham Khaled
Safety Rules
▪ Keep this hand book with care so that it can be consulted in any time
▪ Before powering up the equipment, make sure that the power cords are connected correctly
with the power supply
▪ Use this equipment exclusively for the aims which it has been expressly conceived for, that is
for education purposes; furthermore, its operation much take place under the direct supervision
of a skilled staff
▪ Always, if you are not sure, please consult the lab instructor
Introduction:
Routers are small electronic devices that join multiple computer networks together via either wired or
wireless connections. In technical terms, a router is a Layer 3 network gateway device, meaning that it
connects two or more networks and that the router operates at the network layer of the OSI model.
OBJECTIVES:
NECESSARY EQUIPMENT:
✓ A Desktop Computer
✓ The Packet Tracer Simulation Software
Lab Procedures
Using the information in section 1 in the previous lab 2 instructions, setup a network topology like the
one in the below figure 1. You need to make sure that the PC are connected to the switches and trunk
link are connected to the ports mention in the below table (table 1).
Note;
• Uplink/trunk cable will be connected in the switch in Fast Ethernet 0/1 port and in the
router in Fast Ethernet 0/0.
Use the information in section 2 in the previous lab2 instructions to assign IP addresses to the PCs
according to table 1 and configure VLANs (and assigning ports) on the switch as per the below table
In this section, we will test the configurations. In order to do so, we will examine the connectivity
between computers using the “PING” Command.
To open the command prompt of any PC, one click on the PC > Desktop > Command Prompt
Check the connectivity between the “Administrator laptop“and the following computers (their IP
addresses are shown in figure 1) using the PING command from “administrator laptop” computer side;
➢ PC1
➢ PC2
➢ PC3
Question 1) in your lab report write which one will reply and which one will not reply? And Why?
Making sure that you are pinging the above-mentioned PCs from the “administrator laptop” PC.
Now, in order to allow the computer of the network administrator to reach all computers in the
network, the following configurations need to be done.
• Go to the “global configuration mode” > write int vlan 77 > press enter > write IP
address 192.168.77.2 255.255.255.0 > press enter > press ctrl + c to exit the mode
Now configure the default gateway for the switch as follows;
• Go to the “global configuration mode” > write int fa0/1 > press enter > write
switchport mode trunk > press enter > write switchport trunk allowed vlan
10,20,30,55,77 > press enter > write switchport trunk native vlan 55 > press enter >
press ctrl +c to exit
Now go to configure the router to be the default gateway for all VLANs as follows;
Click on the router > CLI > if you have been asked to use initial configuration choose NO
Go to “global configuration mode” > write int fa0/0 > press enter > write no shutdown > press enter
> write int fa0/0.10 > press enter > write encapsulation dot1q 10 > press enter > write ip
address 192.168.10.1 255.255.255.0 > press enter
> write int fa0/0.20 > press enter > write encapsulation dot1q 20 > press enter > write ip
address 192.168.20.1 255.255.255.0 > press enter
> write int fa0/0.30 > press enter > write encapsulation dot1q 30 > press enter > write ip
address 192.168.30.1 255.255.255.0 > press enter
> write int fa0/0.55 > press enter > write encapsulation dot1q 55 native > press enter > write
ip address 192.168.55.1 255.255.255.0 > press enter
> write int fa0/0.77 > press enter > write encapsulation dot1q 77 > press enter > write ip
address 192.168.30.1 255.255.255.0 > press enter > press ctrl+c to exit
Last step is to configure the default gateway of each computer in the topology as per the below table.
In order to do so, go to each computer > Desktop > IP Configuration > default gateway
Check the connectivity between the “administrator laptop“and the following computers (their IP
addresses are shown in figure 1) using the PING command from “administrator laptop” computer side;
➢ PC1
➢ PC2
➢ PC3
Question 2) in your lab report write which one will reply and which one will not reply? And Why?
Making sure that you are pinging the above-mentioned PCs from the “administrator laptop” PC.
After finishing the above tasks, you should know how to configure switches, routers, trunks, and
VLANs. Now use your gained experience to implement the topology used in Lab 2 and add a router
between the two switches to allow all vlans to communicate with each other. New topology will be like
the below figure
Check the connectivity between the “network administrator “and the following computers (their IP
addresses are shown in figure 1) using the PING command from “ network administrator” computer
side;
➢ PC1
➢ PC3
➢ PC5
➢ PC8
Question 3) in your lab report include screenshots from the reply and write which one will reply and
which one will not reply? And Why? Making sure that you are pinging the above-mentioned PCs from
the “network administrator” PC.