14 February 2019

The Benefits of Using Switches Over Hubs

It's very much possible to create a computer network based only on hubs, but there are many main reasons why this isn't recommended, despite the fact they're less expensive than switches. Switches are fundamentally the same as hubs, but simply a bit smarter. This article discusses the little difference between hubs and switches, as well as the benefits that using switches as an alternative to hubs brings.

Hubs are widely often considered as dumb peices of networking equipment. They do their job of forwarding information across a network, that is all they're able to perform. The way they forward information is very wasteful, regarding adding traffic onto the network. If you have 10 PC's attached to a 10 port hub and the PC associated with port 1 wants to talk with the PC linked to port 5, the hubs' only choice is to broadcast the information down each of the ports, so every PC is distributed the knowledge despite it only being addressed for the PC on port 5. You can see how wasteful this can be.

A switch is slightly different, they are more intelligent; the switch keeps a table, called an ARP table (Address Resolution Protocol) of most PC's connected. The table cross references each port about the switch with the hardware address, also referred to as the MAC address, from the device linked to that port. Using the example above, if your PC on port 1 desires to speak to the PC on port 5, it sends the information on the switch such as the MAC address with the PC on port 5, the switch then looks up the location in the the PC based around the ARP table as well as the MAC address provided; the switch knows to forward the info to port 5 only. This uses up less resources and helps to create less traffic on the network.

Sure you might have a tiny network of 10 PC's running perfectly fine by using a hub, that is missing the point. As a network grows, the harder important it is to control the quantity of traffic about the network. This is a fundamental thought of network design. We should understand because of this that a network design according to hubs is affected with poor scalability. Another benefit of utilizing switches as opposed to hubs is because they virtually eliminate collisions; a collision is the place two computers make an effort to transmit information around the same wire at the same time, both sets of information are lost given that they crash into one another. The bigger the hub based network, the harder likely that collisions will certainly happen, any devices being equal. When information is lost because of collisions, the two computer systems no choice but to resend the lost information, meaning that it's prone to take longer sending some information utilizing a hub instead of a switch.

There we have it, switches take a shorter time for you information than the hub, they will use less resources, create less network traffic, will be more intelligent and far more scalable. So when your manager requires check into networking every one of the PC's as part of your company together, you can explain the many main reasons why it's worth spending somewhat more all night with switches.
Disqus Comments