net323 d: networks protocols - wordpress.com · references 27 cisco packet tracer help lab 3 :...

27
NET323 D: NETWORKS PROTOCOLS Lab # 2 : Hub Vs. Switch Networks and Communication Systems Department TA. Anfal AlHazzaa 1

Upload: vuongtu

Post on 08-May-2018

242 views

Category:

Documents


4 download

TRANSCRIPT

NET323 D:

NETWORKS PROTOCOLS

Lab # 2 : Hub Vs. Switch Networks and Communication

Systems Department

TA. Anfal AlHazzaa

1

Lab Objectives 2

To create two small LANs contain three PCs using

Packet Tracer (one with hub and one with switch)

To differentiate between hub and switch function

To use Packet Tracer to simulate a small LAN

To show the movement of packet in each layer

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Lab Content

The difference between hub and switch.

Using Packet Tracer to create and simulate

Small LAN connected by hub

Small LAN connected by switch

Showing the movement of the packet in each layer

3

Networks and Communication Systems Department - TA. Anfal AlHazzaa

The difference between switch and hub

4

Hub: forwards the packet that arrives on any of its

inputs on all the outputs regardless the destination

of the packet

Switch: forwards incoming packets to one or more

outputs depending on the destination(s) of the

packet

Networks and Communication Systems Department - TA. Anfal AlHazzaa

The difference between switch and hub cont.

5

Switch Hub

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Scenario # 1 6

1. Create a simple LAN contains three PCs named (A, B and C) connected by hub (as shown in the following figure)

2. Perform a ping between PC “A” and PC “B” in realtime mode and simulation mode

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 1(Adding 3 PCs) 7

1. Open The Packet tracer

2. Add three PCs to the workspace ( by select the

Generic PC under End Devices and drag it onto the

workspace)

3. Rename them and set their IPs as the following table:

PC name IP Mask

A 10.10.10.1 255.0.0.0

B 10.10.10.2 255.0.0.0

C 10.10.10.3 255.0.0.0

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 1(Adding 3 PCs) cont. 8

1

2

Rename the Device

Click on the PC config tab Display name

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 1(Adding 3 PCs) cont. 9

1

3

Change IP

Desktop tab IP configuration enter IP address

Repeat the same steps for PC “B” and PC “C”

2

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 2 (Adding Hub and connection) 10

3 4 1

Under Hubs, select hub-PT

and drag it to the workspace

Under Connections, select

Copper Straight-through cable

to connect the hub with the 3

PCs

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 3 (Performing a Ping in Realtime mode)

11

Click on PC”A” “Desktop”

tap Command Prompt

Write the following command Ping 10.10.10.2

Networks and Communication Systems Department - TA. Anfal AlHazzaa

*Repeat the same steps to test connection between PC “A” & PC” C”

Step 4 (Performing a Ping in Simulation mode)

12

Change the mode to simulation Click on Edit Filters button ,

uncheck show All/N

check on ICMP,

1 2

4

3

Networks and Communication Systems Department - TA. Anfal AlHazzaa

ICMP

13

ICMP (Internet Control Message Protocol) is a

message control and error-reporting protocol

between a host server and a gateway to the

Internet

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 4 (Performing a Ping in Simulation mode)

14

Add Simple PDU tool

Click on it

Click on the first PC

Click on the second PC

Click on Auto Capture/play button to run the Simulation

2

3

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Result 15

1 2 3 4

Networks and Communication Systems Department - TA. Anfal AlHazzaa

To show the movement of packet in each layer

16

Click on the packet envelope on the workspace to

bring up the PDU Information window like the one

shown in the screenshot (in the next slide)

This window contains the OSI model tab which

shows how the packet is processed at each layer of

the OSI model by the current device

Networks and Communication Systems Department - TA. Anfal AlHazzaa

To show the movement of packet in each layer

17

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Scenario # 2 18

1. Create a simple LAN contains three PCs named (A, B and C) connected by switch(as shown in the following figure)

2. Perform a ping between PC “A” and PC “B” in realtime mode and simulation mode

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 1(Adding 3 PCs) 19

1. Open The Packet tracer

2. Add three PCs to the workspace ( by select the

Generic PC under End Devices and drag it onto the

workspace)

3. Rename them and set their IPs as the following

PC name IP Mask

A 10.10.10.1 255.0.0.0

B 10.10.10.2 255.0.0.0

C 10.10.10.3 255.0.0.0

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 1(Adding 3 PCs) cont. 20

1

2

Rename the Device

Click on the PC config tab Display name

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 1(Adding 3 PCs) cont. 21

1

3

Change IP

Desktop tab IP configuration enter IP address

Repeat the same steps for PC “B” and PC “C”

2

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 2 (Adding Switch and connection)

22

3 4 1 2

Under Switches, select switch

2950 -24 and drag it to the

workspace

Under Connections, select

Copper Straight-through cable

to connect the switch with the 3

PCs press fast forward time

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 3 (Performing Ping in Realtime mode)

23

Click on PC”A” “Desktop”

tap Command Prompt

Write the following command Ping 10.10.10.2

*Repeat the same steps to test connection between PC “A” & PC” C”

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 4 (Performing Ping in Simulation mode)

24

Change the mode to simulation Click on Edit Filters button ,

check on ICMP

1

2

3

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Step 4 (Performing Ping in

Simulation mode)

13-Sep-15

25

Add Simple PDU tool

Click on it

Click on the first PC

Click on the second PC

Click on Auto Capture/play button to run the Simulation

2

3

Networks and Communication Systems Department - TA. Anfal AlHazzaa

Result 26

1 2 3 4

Networks and Communication Systems Department - TA. Anfal AlHazzaa

References

27

Cisco Packet Tracer Help

Lab 3 : Switched LAN. [Online]. Available at: OPNET IT Guru

Academy.(Accessed: 2015).

Supported Network and Internet Protocols, Available at:

http://www.cisco.com/en/US/docs/net_mgmt/wan_access_performance_manage

ment_system/2.0/client/user/guide/prot-app.html (Accessed: 2015).

Kenneth M. Chipps (8 Jun 2007) How to Use Packet Tracer. [Online]. Available

at: www.chipps.com (Accessed: 2015).

Networks and Communication Systems Department - TA. Anfal AlHazzaa