PROGRAM NO : 3
AIM: Demonstration of Hub and switch using cisco packet tracer.
THEORY:
hub and a switch are networking devices used to connect computers in a LAN (Local
A
Area Network). A hub works at Layer 1 (Physical Layer) of the OSI model. It sends data
to all connected devices without checking the destination. Because of this, it may cause
network traffic and collisions. A hub does not need any IP configuration.
switch works at Layer 2 (Data Link Layer). It is smarter than a hub. It sends data only
A
to the correct device using MAC addresses. This makes the network faster and more
efficient. InCisco Packet Tracer, we can easily seethe difference between hub and
switch by connecting PCs and laptops and checking communication between them.
IMPLEMENTATION:follow the below steps to completethe implementation.
(1) By using Hub
● In the cisco packet tracer, add the two pc and 2 laptops and 1 hub and
connect them with the help of connecting wires.
● N
ow give all the devices their IP configuration except Hub , coz it does not
have any configuration.
Right Click on the pc
● C lick on IP configuration , give the ip : [Link] and then so on like
[Link]
● Click on the subnet mask and then cut it by clicking on the top right cross
option.
● C
onnect both the pc together by the help of message and both the laptops
together
● It is showing successful . it is connected together
(2) By using Switch
● In the cisco packet tracer, add the two pc and 2 laptops and 1switch and connect
them with the help of connecting wires.
● N
ow give all the devices their IP configuration except Hub , coz it does not have
any configuration
.
● Right click on the pc
Click on IP configuration , give the ip : [Link] and then so on like [Link]
●
● Click on the subnet mask and then cut it by clicking on the top right cross option.
● C
onnect both the pc together by the help of message and both the laptops
together
● It is showing successful . it is connected together