A hub acts as a multi port repeater. However, as more and more devices connect to it, it would not be able to efficiently manage the volume of traffic that passes through it.
A hub is used in past times where storage space is high and the wires management can be done at a single point of contact.
Switch is portable and effective in terms of speed and efficiency . It provides better way to manage connections in the network.

Hub is used in legacy time when we have connection with messed up wires and low data transfer rate.
Hub makes things at single point of contact if it goes down everything breaks up.

Switch works as sharing the single internet connection to multiple points but with least messed up wires
and also provide better efficiency to transfer rate .
Switch does not make single point of contact so you can not have break down even one thing goes down.

So while using Hub you go to the Bridge way of data flow which is the legacy one .
And while using Switch you go with the Router one which is the new one .
|
Hub |
Switch |
Layer |
Physical layer. Hubs are classified as Layer 1 devices per the OSI model. |
Data Link Layer. Network switches operate at Layer 2 of the OSI model. |
Function |
To connect a network of personal computers together, they can be joined through a central hub. |
Allow to connect multiple device and port can be manage, Vlan can create security also can apply |
Data Transmission form |
Electrical signal or bits |
Frame (L2 Switch) Frame & Packet (L3 switch) |
Transmission Type |
Hubs always perform frame flooding; may be unicast, multicast or broadcast |
First broadcast; then unicast & multicast as needed. |
Ports |
4/12 ports |
Switch is multi port Bridge. 24/48 ports |
Device Type |
Passive Device (Without Software) |
Active Device (With Software) & Networking device |
Used in (LAN, MAN, WAN) |
LAN |
LAN |
Table |
A network hub cannot learn or store MAC address. |
Switches use content accessible memory CAM table which is typically accessed by ASIC (Application Specific integrated chips). |
Transmission Mode |
Half duplex |
Half/Full duplex |
Broadcast Domain |
Hub has one Broadcast Domain. |
Switch has one broadcast domain [unless VLAN implemented] |
Definition |
An electronic device that connects many network device together so that devices can exchange data |
A network switch is a computer networking device that is used to connect many devices together on a computer network. A switch is considered more advanced than a hub because a switch will on send msg to device that needs or request it |
Spanning-Tree |
No Spanning-Tree |
Many Spanning-tree Possible |
Collisions |
Collisions occur commonly in setups using hubs. |
No collisions occur in a full-duplex switch. |
Manufacturers |
Sun Systems, Oracle and Cisco |
Cisco and D-link Juniper |
0 Comment(s)