Top Banner
1 RAJESH KATRAGADDA BHARATH NADELLA SHIVANANDAN GOUD KOMMURI SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES
26

1 RAJESH KATRAGADDA BHARATH NADELLA SHIVANANDAN GOUD KOMMURI SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

Dec 23, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

1

RAJESH KATRAGADDA BHARATH NADELLA SHIVANANDAN GOUD KOMMURI SRIDHARA PRUDHVI DUTH POTLURI

COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES

Page 2: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

2

INTRODUCTION

Page 3: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

3

A switch is a multi-input, multi-output device which transfers packets from an input to one or more outputs.

Switch is basically a star topology having features like

a.Large networks can be built by interconnecting a number of switches

b.Adding new host to network by connecting it to a switch does not necessarily reduce the performance of the network for other hosts already connected.

SWITCHES:

Page 4: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

4

Switch makes use of header of the packet for an identifier to trace the destination.

Basically three approaches used area.Datagram or connectionless (data transfer

only)b.Virtual circuit or connection-oriented

(connection setup and data transfer)c. Source routing

APPROACH:

Page 5: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

5

A hub joins multiple computers (or other network devices) together to form a single network segment. On this network segment, all computers can communicate directly with each other.

Hubs do not read any of the data passing through them and are not aware of their source or destination. It just broadcasts the packets out to all devices on the network - including the one that originally sent the packet.

HUBS:

Page 6: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

6

Three different types of hubs exista.Passive : do not amplify the electrical signal

of incoming packets before broadcasting them out to the network.

b.Active : amplify the electrical signal of incoming packets before broadcasting them out to the network.

c. Intelligent : add extra features to an active hub that are of particular importance to businesses.

TYPES OF HUBS:

Page 7: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

LAB EXPERIMENT:

7

AIM:

This lab demonstrates the implementation of switched local area networks.

The simulation in this lab will help us to examine the performance of different implementations of local area networks connected by switches and hubs.

Page 8: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

8

Only HUB Scenario:

Page 9: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

9

Choosing Results:

Page 10: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

10

Hub and Switch Scenario:

Page 11: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

11

Manage Scenarios:

Page 12: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

12

Compare Results:

Page 13: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

13

Graph for TRAFFIC SENT:

Page 14: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

14

Graphs for PACKETS RECEIVED:

Page 15: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

15

Graph for DELAY:

Page 16: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

16

Graph for COLLISION COUNT:

Page 17: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

17

DEMO

Page 18: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

18

Explain why adding a switch makes the network perform better in terms of throughput and delay

ANS: Unlike hubs, Switches Buffer the frames reaching it. So Switches share the bandwidth equally among all the nodes and maintains address tables to forward frames. Hence it leads to better performance in terms of throughput and delay.

POSSIBLE QUESTIONS:

Page 19: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

19

We analyzed the collision counts of the hubs. Can you analyze the collision count of the switch?

ANS: As hubs don’t look at the destination address of the frames reaching it and just forwards them to all other nodes, there is collision count for Hubs. But in case of Switches, it look at the destination address and buffer the frames and send them according to the address table. So Switches have no Collisions, so no Collision Count.

POSSIBLE QUESTIONS:

Page 20: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

20

NETWORK CONTANING ONLY SWITCHES

Page 21: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

21

Only SWITCHES Scenario:

Page 22: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

22

Graph for DELAY:

Page 23: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

23

Graph for TRAFFIC RECEIVED:

Page 24: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

24

Graph for TRAFFIC SENT:

Page 25: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

25

CONCLUSION: From above Graph for DELAY, its clear that

delay for Only Hub Scenario (Blue) is pretty high and for Hub and Switch Scenario (Red) it is significantly low compared with Only Hub Scenario. But the Delay for Hub and Switch Scenario and Only Switches Scenario (Green) is not that significantly different, as in the earlier case.

More over as Switches cost more than hubs, Its better to use a Hub and Switch combination in the network than only Switch or only Hub combination.

Page 26: 1  RAJESH KATRAGADDA  BHARATH NADELLA  SHIVANANDAN GOUD KOMMURI  SRIDHARA PRUDHVI DUTH POTLURI COMPUTER NETWORKS LAB 3: HUBS AND SWITCHES.

26

THANK YOU