Professional Documents
Culture Documents
CCN Lab6
CCN Lab6
Lab # 6
Marks Obtained
Date Performed
Instructors
Signature
Document History
Rev. Date Comment Author
1.0 28/10/2022 HZG, MW
Fall 2022 Computer Communication Networks Lab Version 1.0
1. Objective
The purpose of this lab is to familiarize students with router and its manual configuration for
static routing.
1. Learning Outcomes
This lab satisfies the following learning outcomes of this lab course:
CLO 1: Follow instructions to implement local networks and analyze their performance on
simulator
CLO 2: Present and analyze network with effective and timely submitted reports
CLO 3: Produce & design networks to demonstrate various networking protocols & applications
2. Environment Required
Cisco Packet Tracer – Networking Simulation Tool
3. Instructions
This is an individual lab. You will perform the tasks individually and submit the required files
before the given deadline.
Plagiarism or any hint thereof will be dealt with strictly. Any incident where plagiarism is caught,
both (or all) students involved will be given zero marks, regardless of who copied whom.
Multiple such incidents will result in disciplinary action being taken.
Deadline: 9 November 2022
Page 2 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
4. Introduction
Till now, we have studied switches and hubs. Both are network devices and are used to transfer data
packet between different end devices in the same network. Now we will study any other device called
router, which is used to forward data packets between different networks. It uses IP address to
forward data while switch uses MAC address.
“Routers are sometimes confused with network hubs, modems, or network switches. However,
routers can combine the functions of these components, and connect with these devices, to improve
internet access [1]”. It can connect two or more than two LANs where it perform two important tasks;
one to pass data and other, to allow multiple end devices to use same internet connection. Usually, a
LAN requires single router.
Switch has routing table and use it for sending and receiving data. There are two types of routing,
static routing and dynamic routing. Static routing occurs as a result of manually configured routing
entry while dynamic routing information comes from dynamic routing traffic. Static routing is
followed when there is single route or best route for data traffic to reach a destination.
Page 3 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
5. Task-1
Follow the following instructions and build the network
Page 4 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Page 5 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
After this go to “Router –> Config -> and enable the port status of all “GigabitEthernet” interfaces
Page 6 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Q1: Once the links turn to green, send a PDU from PC0 to PC2. Is the PDU sent successfully or not? If
No, why not?
Ans: PDU was not sent because router did not have IP address. Also network codes of PC0
and PC2 are different in their IP addresses.
5
Figure 8: IP Configuration for GigabitEthernet0/0/1
Page 7 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Enter the following static routing information and then press the “Add” button
Page 8 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Solution Screenshot:
Q2: Once all setting are done. Sent PDU from network 1 to network 2, is the PDU sent successfully?
State the reason why PDU was successful this time.
Ans: This time, we gave router ip addresses of source and destination. So router knew the
source and destination and PDU was sent successfully.
6. Task-2
Using the above network, configure separate VLAN’s in each switch and then send a PDU to confirm your
network is working. Attach screenshot
1. Adding VLAN in Switch
2. Ports assigned in switch to different VLAN
3. Success PDU sent.
Hint:
You can Add VLAN in switch from VLAN DATABASE option
You can change port assigned to VLAN using the following option
Page 9 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Solution Screenshot:
Task 3:
Build the same network as given in Task 1 but use different class of IP in your network.
Attach screenshot
1. Your network screenshot
Page 10 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
2. PC IP configuration
PC0 IP:
PC1 IP:
PC2 IP:
Page 11 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
PC3 IP:
3. Router IP Configurations
Page 12 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Page 13 of 15
Fall 2022 Computer Communication Networks Lab Version 1.0
Q2: How many classes of IP addressing are there and how many network host does each have?
Ans: There are 2 classes of IP addresses and there are four hosts in this network. Each class
has two hosts.
Ans: We wanted to communicate between two different networks which needs a router
because they do not recognize each other. We can communicate between PC0 and PC1
without router.
Ans: Static routing defines paths of routing especially when there is single route.
Conclusion:
In this lab, we communicated two different networks. We learnt manual configuration
of a router. Switch has routing table and use it for sending and receiving data. There are
two types of routing, static routing and dynamic routing. Static routing occurs as a result of
manually configured routing entry while dynamic routing information comes from dynamic
routing traffic.
Page 14 of 15
Version 1.0