The Basic Difference between Hub and Switch is that A hub is a multi-port hub, that is, it is a piece of equipment that allows you to connect several devices to a network. On the other hand, a switch is a device that allows the interconnection of several devices, but unlike the hub, it recognizes which ones are connected and sends a signal only to the latter.
What is Hub?
Also known as a hub, it is a device that allows you to connect different devices to each other, for example, computers, mobiles, televisions, among others. The term also applies to those hubs that allow USB connection.
These devices allow sharing data networks or USB ports of a computer. In a nutshell, and for network theory, a Hub is nothing more than a node with a large number of links.
When a Hub receives an input signal or packet, it is transmitted by all its ports, this can cause shocks that affect the flow of data traffic, the hubs can detect when there is an excess of these shocks.
The hubs work according to a TCP / IP model, this means that they work in the physical layer of an open systems interconnection model, known as OSI.
Today they are not as widely used as switches and switches.
It is a team in charge of connecting several computers within a network. Together with the cables, they make up a local area network or LAN. This device interconnects several computers following the Ethernet standard, which is known in technical jargon as IEEE 802.3.
It is an interconnect device only for wired devices. Computers that interconnect devices wirelessly are known as Wireless Access Points.
In the network topology, the star topology is used, with the switch in the middle, for wired local networks.
The switch replaced hubs, which are now considered obsolete. This is because a switch has better performance and greater capacities. You can find a four-port switch for normal use up to models of 100 and more, with very advanced features for higher demands.
According to the OSI model, these devices work at the link level or level 2.
A switch must be connected to a buffer, these allow them to carry out the switching process and, in addition, connect ports that require different speeds.
Difference between Hub and Switch
- Currently, hubs are being replaced by switch or switches, due to their high scalability and excellent performance.
- A switch is a switch.
- A hub is a hub.
- Both allow interconnections between computers to a network.
- In a hub, collisions between the signals can occur, this is because it transmits the same on all its ports. Also, if you connect two devices that handle different speeds, the hub will always adapt to the slower speed.
- A Switch can handle equipment of different speeds without causing collisions or adapting to the slower speed, this is because it recognizes the MAC addresses of the connected equipment, adapting the speed according to its needs.
- According to the OSI model, a hub works in the physical layer of an open systems interconnection model.
- According to the OSI model, a switch works at the link level.
- A switch only transmits a signal to devices connected to its port that are active.