Joveria Raja (BCS-068 (6B) ) Lab 6

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 20

Lab Manual

Lab Manual

COMPUTER NETWORKS
(LAB)

SUBMITTED TO:
SIR MAJID SHAFIQUE

SUBMITTED BY:
JOVERIA RAJA
2018-22 BCS-068 (6B)

1
Lab Manual

Lab # 06
Network Creation using Router in
Simulation mode

Task 1:
1. Open Packet tracer-> desktop.

2. Select Router option.

3. Select generic Router and drag n drop onto the workspace.


2
Lab Manual

4. Select End Device Option.

5. Select Generic device and drop it on the workspace.

6. Select connection option.

3
Lab Manual

7. Select Copper Cross-Over cable.

8. Drag the cable to the router and perform left click. Select the
FastEthernet0/0 option. Connect the two end stations through the Router.

9. Double left click on the router and select the Config tab.
4
Lab Manual

10.On the FastEthernet0/0 interface, assign IP address of 192.1.1.1 and subnet


mask of 255.255.255.0. Also, check the port status as on. The green dots
show that connection is working fine.

11.On the FastEthernet1/0 interface assign IP address of 192.1.2.1 and subnet


mask of 255.255.255.0. Also check the port status as on.

5
Lab Manual

12.Double left clicks on any end station and select Desktop option.

13.Select IP configuration option.

6
Lab Manual

14.Assign IP address of 192.1.1.2 to the end station connecting with


FastEthernet0/0 interface and Default Gateway of 192.1.1.1

15.Assign IP address of 192.1.2.2 to the other end station connecting with


FastEthernet1/0 interface and Default Gateway of 192.1.2.1.

7
Lab Manual

16.Default Gateway is the IP address assigned to the respective interface on


the Router and must be necessarily specified at the end station in order to
send data out of the network. Verify the connectivity of the two networks
by using ping command at both end stations.

8
Lab Manual

9
Lab Manual

Task 2:

Scenario:
These topologies represent the simplest hub-based and switch-based networks,
ideal for studying the different processes between hubs and switches.

10
Lab Manual

Step 1:
Add a generic hub and three generic PCs and arrange them as shown in the
image.
Add a 2950-24 switch and three generic PCs and arrange them as shown in the
image.

Step 2:
Connect the devices as shown in the image. Use the appropriate connection type
for each link.

11
Lab Manual

Step 3:
Set the IP address and subnet mask for the PCs as follows:

PC IP Address Subnet Mask


PC0 192.168.1.1 255.255.255.0
PC1 192.168.1.2 255.255.255.0
PC2 192.168.1.3 255.255.255.0
PC3 192.168.2.1 255.255.255.0
PC4 192.168.2.2 255.255.255.0
PC5 192.168.2.3 255.255.255.0

12
Lab Manual

13
Lab Manual

14
Lab Manual

Step 4:
If all connections and addressing are correct, the link lights should be green. If
not, troubleshoot the cabling type, connections, and addressing.

15
Lab Manual

Simulation mode:
1) Go to Simulation mode. In the Event List filters, enable only ICMP and ARP.
Using the “Simple PDU”, issue a ping from PC0 to PC1. Play the simulation.
Pay close attention to how the hub processes the ICMP and ARP packets.
After that, once again, use “Add Simple PDU” to issue a ping from PC1 to
PC0. Play the simulation again. How has the behavior of the hub changed
from the first and second ping attempts, if at all?

16
Lab Manual

2) Still in Simulation mode, in the Event List filters, enable only ICMP and ARP.
Using “Add Simple PDU”, issue a ping from PC3 to PC4. Play the simulation.
Pay close attention to how the switch processes the ICMP and ARP packets.
After that, once again, use “Add Simple PDU” to issue a ping from PC4 to
PC3. Play the simulation again. How has the behavior of the switch changed
from the first and second ping attempts, if at all? In what ways did the
switch process the packets similarly or differently from the hub between the
first and second ping attempts?

17
Lab Manual

Task 3:
For the switched based network, set the new IP address and subnet mask for
the PCs as follows:

PC IP Address Subnet Mask


PC0 192.168.1.36 255.255.255.224
PC1 192.168.1.37 255.255.255.224
PC2 192.168.1.38 255.255.255.224
PC3 192.168.1.91 255.255.255.224

If all connections and addressing are correct, the link lights should be green. If
not, troubleshoot the cabling type, connections, and addressing.

18
Lab Manual

19
Lab Manual

20

You might also like