Differences between Switch, Router and Hub: how do they work? Which is better, advantages and disadvantages?

Who I am
Craig Zacker
@craigzacker
Author and references

I devices Hub e Switch are common among technicians who are dedicated to the management of ethernet networks, just as Routers are something common that you have heard of since today all Internet services use it to distribute the service in your home.

These devices compete in the market by offering similar terms of use, but the big question is what is the difference between Switch, Router and Hub?

We know that Hub e Switch are used to configure local networks, while i Router they are able to do it and much more. But calm down! Next, we will show you which one is the best, naming its advantages and disadvantages.



What is a hub?

The function of the Hub is that of interconnect computers within a local network, transmitting the data to the rest of the computers located within the said local network. Allow you to create local networks where computers are kept connected only to that network and not to others.

The Internet connection in the Hub devices it is not allowed as well as sending data to other computers or devices, it just makes a copy of what a computer receives and sends it to the rest of the network.

Benefit

  • Relatively low price.
  • This device does not add no delay in network connections or in internal messages.
  • It is a simple device that allows computers to be easily interconnected.

disadvantages

  • The device allows us to send information to computers that are not interested as there is only one recipient of the information, but this device sends this information to all computers connected at the same time.
  • The traffic generated by this device increases the chance of a collision. A collision is called the process that a computer goes through when it sends information to a computer at the same time that it is performing the same task.
  • When messages collide, a loss occurs e the information they must be resend in the hope that you don't check it out another collision, this is most likely when you are adding many computers to a single local network.

What is a switch?

- Switch are devices that are also used for creating local networks, but the most obvious difference that makes Switch better than Hub is that the data sent from the computer is sent directly to a target computer without being distributed, that is do not send the same information to the rest of the computers which are connected to the same local network, so its most common use is to configure it to share the internet with multiple computers and establish an ethernet network.



Benefit

  • Ability to work in a network with a greater number of connected computers.
  • Smoother experience that reduces errors in local networks.
  • It works through MAC addresses and therefore allows us to identify each computer.

disadvantages

  • You get more users with high latency which becomes annoying if you use real-time services, such as Voice over IP or video conferencing.

What is a router?

This device performs the task of forwarding data packets between multiple networks, which can be local or external with a LAN port and WAN used to connect to a fiber optic or ADSL network and provide the internet there.



Routers perform the functions that we do offer Switch e Hub that allow us to carry out the same activities, but with the difference that it has no limits in local networks and that also allows us to connect to external networks and configure it as a repeater to improve your Wi-Fi.

Benefit

  • Configurable and easy to maintain such a configuration.
  • Effective against the presence of intruders.
  • It is not topologically limited.

disadvantages

  • Installation and configuration take a long time, again depending on the topology of our network and the protocols used.
  • They cost more and are more complex.
  • They are slower in the parcel process than the rest of the devices.
add a comment of Differences between Switch, Router and Hub: how do they work? Which is better, advantages and disadvantages?
Comment sent successfully! We will review it in the next few hours.