Professional Documents
Culture Documents
net/publication/322041376
CITATIONS READS
0 2,566
1 author:
Haider Nafaa
Huazhong University of Science and Technology
6 PUBLICATIONS 0 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Haider Nafaa on 24 December 2017.
Switched LANs
Haidarnafia833@gmail.com
Lab# 3
Result After successfully running the simulation for the HubOnly & HubAndSwitch
The buffer space at the switching nodes efficiently while giving each user a fair share of the
network bandwidth under both light traffic and heavy traffic conditions. The switch reduce
delay also has a table for all its nodes attached to it to that it's faster than the Hub. The
result of the delay in the HubOnly is greater than the delay in HubAndSwitch.
The Delay
2) Traffic Received Delay Comparing and Analyzing the Result for HubOnly and
HubAndSwitch :
The switches save bandwidth than the hubs. When a switch is first connected to the network, it doesn't know
anything about the network. Without any knowledge, it has to flood every packet it receives onto every port,
behaving in effectively the same way as a hub would. However, the switch can learn from each packet it sees, and
this means it can make better decisions and due less packet loss. To that we shows that the packets received or
delivered are more when a switched is attached in the topology than when only Hub is used.
Haidarnafia833@gmail.com
Lab# 3
3) Comparing and Analyzing the Result for HubOnly and HubAndSwitch Analysis:
A) Traffic Sent
The traffic sent is same in both cases they're sending the same amount of packets.
Haidarnafia833@gmail.com
Lab# 3
Haidarnafia833@gmail.com
Lab# 3
Question / Answer:
1) Explain why adding a switch makes the network perform better in terms of throughput
and delay.
Hub forwards the packet to all its connection without taking consideration of
addressing for packet transfer. Such it will send a packet to its all link. Apart from
this, there is no traffic inspection and it will just forward the packet. This is very
inefficient way of communication. Hub is also not self configured device. So there is
always a starting delay.
Switch is a smart network device compare to hub. It serves the several dedicated links
independent to each other. This feature improves the throughput of the network.
Switch is self configured device so network downtime is less and received packet will
be sent to its destination only on bases of its address. This characteristic of switch
reduces the delay.
So when we add a switch in our second scenario, traffic generated at any node will be
directed to its destination node. So there is no traffic propagation. Such switch makes the
network performance better in terms of throughput and delay.
Haidarnafia833@gmail.com
Lab# 3
2) We analyzed the collision counts of the hubs. Can you analyze the collision count of
the “Switch”? Explain your answer.
Hubs are "shared media" and switches are not. We cannot analyze the collision count
of the Switch.
Switch will divides the network into multiple segments and maintain simultaneous
connection of multiple pairs of the computer which do not compete with other pairs of
computers for network bandwidth . When switch receives the packet it will forward the
packet to its destination using the information of destination address in a header. So in
Switch each port has its designated bandwidth. Multiple connections can be handle
separately using switch. As Switch does not share the transmission media, network do not
experience collision.
3) Create two new scenarios. The first one is the same as the OnlyHub scenario but
replace the hub with a switch. The second new scenario is the same as the
HubAndSwitch scenario but replace both hubs with two switches, remove the old
switch, and connect the two switches you just added together with a 10BaseT link.
Compare the performance of the four scenarios in terms of delay, throughput, and
collision count. Analyze the results. Note: To replace a hub with a switch, right-click on
the hub and assign ethernet16_switch to its model attribute.
Haidarnafia833@gmail.com
Lab# 3
Haidarnafia833@gmail.com
Lab# 3
C) The Delay
When we compare the delay for all four scenarios, following result came as shown in Figure
11. It can be seen that Switches reduce the delay in network as it as self configured device
and use dedicated bandwidth for each nodes. When there is only hub in a network, delay is
high compare to the network with switches.
Haidarnafia833@gmail.com
Lab# 3
Conclusion:
By performing this laboratory we learned that how different devices used in a network
affects the performance of the network in terms of throughput, delay and collision.
We also learned that Switch is better network device than hub as it improves the
performance of the network. We learned that use of switch in implementation of a
network will reduce the collision and delay, and increase the throughput.
Haidarnafia833@gmail.com
View publication stats