Discussion Locked

Hub vs. Switch

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Quick question, techies. Basically, what's the difference between a "hub" and a "switch", and how to know when to use which??

11 replies

by karsudha

in hub speed is shared between the number of ports.the effective speed will be hub speed divided by no.of active connections.

in switch the speed is switched so that in a 10mb switch every port gets 10mb speed.

when you want to increase your network band width use swithes.when you have network intensive applications use switch.

now a days there is no big difference between the price of hub and switch.

better use switch

by public

Simple. Let me give you some examples.

With a 10 Meg per second Hub Ethernet (10/100 Meg Hub being "Fast Ethernet") and 10 users, lets say they all use it at the same time. Then your bandwidth is 1 Meg per second, and since they are using the same "line" there are gonna be a LOT of collisions and data loss. Hubs are garbage.

Fine. Switches are neater. They create a dedicated virtual connection between 2 computers. 10 Hub swith at 10 Megs per second, lets say with 10 users. All users will recieve a DEDICATED connection between the computer they are contacting with NO COLLISIONS occuring.

Nifgy hmmm?
Now.... anyone can tell me the difference between a managed switch and unmanaged?

get yourself a cheap switch. stay away from
hubs.

-ginel

by tmaclennan

A Hub: Imagine yourself in a basketball court-sized room with 20 other people. You are all interested in talking to 1 of the people in the room a lot, and some of the other people now and then. Only one person can talk at a time. If two people starttalking at once, everyone waits while those two people act like 2 cars at a 4-way stop at night, trying to work out who will go first. At the speeds networks talk, standards say this works up to a max of 200 people in the room. Probably works best if you keep the number under 50, and then only if you are not doing any more than occasional conversation (no server apps).

A Switch: Put all the people in their own rooms, add a phone system with multiple lines on every phone. Your server can carry on lots of conversations--but only one at a time, cycling through the active conversations very quickly. Switches also allow full duplexing, which means that you can talk and listen at the same time. Switches allow for as many users as your switchhardware can handle, though any one server will be limited more by it's processing power than by its communitcation speed.

I would recommend using hubs when you have small numbers of users (less than 30) or in combination with switches to connect a workgroup or some printers or to set up training rooms. Other than that, a switch will give you better performance.

by shanghai sam

First difference is the PRICE.
Second a "hub" basically takes the signal from from the sending computere and retransmits the signal to all other computer, because it only works on the physical layer of the network model it has no acknowledge of thesetup of your network so the only thing it does is it retransmits the signal to all computers and the computers connected to the hub that receives the signal looks at the data and takes it only if it was addressed to that computer.
A switch on the other hand is a bit smarter and quicklly learens the setup of your network (which means that it knows tha MAC address of each network card connected to the network), because it works also on the data link layer it can learn the MAC address on each network device connected to the nework, therefor a switch will only send a signal to the port where the network device that the data was addressed to is connected and not make the other computers bussy with something thats not addressed to them, this speeds up your network.
There is 1 more difference when a network device that runs only on 10 MBPS is talking to a device that runs on 100 MBPS the faster 1 has to reduce the speed to 10 MBPS if its connected to a hub, but if the 2 computers are connected to a switch the switch will take care that speed difference should not be a problem so the faster network device can still oprate on the faster speed.

by shmaltz

First difference is the PRICE.
Second a "hub" basically takes the signal from from the sending computere and retransmits the signal to all other computer, because it only works on the physical layer of the network model it has no acknowledge of thesetup of your network so the only thing it does is it retransmits the signal to all computers and the computers connected to the hub that receives the signal looks at the data and takes it only if it was addressed to that computer.
A switch on the other hand is a bit smarter and quicklly learens the setup of your network (which means that it knows tha MAC address of each network card connected to the network), because it works also on the data link layer it can learn the MAC address on each network device connected to the nework, therefor a switch will only send a signal to the port where the network device that the data was addressed to is connected and not make the other computers bussy with something thats not addressed to them, this speeds up your network.
There is 1 more difference when a network device that runs only on 10 MBPS is talking to a device that runs on 100 MBPS the faster 1 has to reduce the speed to 10 MBPS if its connected to a hub, but if the 2 computers are connected to a switch the switch will take care that speed difference should not be a problem so the faster network device can still oprate on the faster speed.

by shmaltz

I had some problems posting it so i see it posted twice then I whould like to add somthing else:
when I came to the company i'm currently working for there was only 2 16 port hubs connected to the network (at that time they only had like 20 computers) the hubs where uplinked thru an uplink port, I changed that to 2 24 hubs and when the second 24 port hub started to fill up (around 40 computers) i relized a slow down on the network thats when i installed the switch thru which i uplinked the 2 hubs and also i connected all the servers (File server, Proxy server, PDC, Exchange server) to the switch so at least the servers dont get bothered only with data that concerns them, in other words I segmented the network on layer 2 instead of layer 3(IP).
Now it works much faster.

This discussion is closed to new replies.