Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-01-2009, 02:01 PM   #1
Daemon Poster
 
Join Date: Oct 2006
Posts: 684
Default router vs. switch vs. hub

Does a switch offer better performance than a switch or hub
__________________

__________________
AMD 64 x2 5600+|Asus m3a|4GB RAM|Nvidia Geforce 9500 gt|320 GB Seagate Hard Drive
ringtemek is offline   Reply With Quote
Old 09-01-2009, 03:01 PM   #2
Fully Optimized
 
jmacavali's Avatar
 
Join Date: Jun 2009
Posts: 4,867
Default Re: router vs. switch vs. hub

?

Performace is:

Router>Switch>Hub.

A router is capable of assigning IP address using DHCP and incorporates a built-in switch.

A Switch receives packets and learns which port to send them to.

A Hub receives packets and broadcasts them out over all ports (creating slowness and collisions much more often than a switch).
__________________

__________________
****************************************
Don't take life too seriously -- no one gets out alive. Plus, who wants to arrive to the hereafter in pristine condition wearing a suit and tie?
I want to slide in sideways, worn out, used up, hair a mess, clothes tattered, & screaming, "Whooo! What a ride!"
****************************************
jmacavali is offline   Reply With Quote
Old 09-01-2009, 03:11 PM   #3
In Runtime
 
TitanMATRIX's Avatar
 
Join Date: Jul 2009
Posts: 202
Send a message via MSN to TitanMATRIX
Default Re: router vs. switch vs. hub

haha I had the same questions when I was learning so here it goes...

Router- Routers connect networks together and is by far the "smartest" of the three. Routers can assign local IPs and forward information to specific addresses. Routers can also analyze where a packet needs to go and the best way to get there. So if one route is backed up and busy, a router can route the packet a different and more effecient way.

Switch- The next one down is a switch. A switch can forward packets of info to a specific port but can't do as much as a router can. Plus switches aren't used to connect networks but rather nodes on a subnetwork. Where you see them most is where a collection of computers are (say on a small office floor). The switch connects these series of computers together (then a router connects the switches together and at times servers as well).

Hub- The hub is the next step down and they aren't really used anymore except in older networks. Hubs simply take in packets and broadcast them to every node on the network. This can be really ineffecient because more times than not, all nodes on the network don't need to see the info. This also poses a security risk of confidentiality. Like I said hubs aren't really used anymore because of its ineffeciency, they're getting replaced by the more effecient switch.

I hope this helps... if I need to clarify something just let me know. Its kinda hard to explain stuff through text instead of person to person.

gah be me to it jmacavali

Plus you put yours in a more concise way
__________________
***Network Warrior***
TitanMATRIX is offline   Reply With Quote
Old 09-01-2009, 07:48 PM   #4
Fully Optimized
 
jmacavali's Avatar
 
Join Date: Jun 2009
Posts: 4,867
Default Re: router vs. switch vs. hub

LOL...I thought someone had just recently asked this question. Looks like you've got if figured out though. Good job.
__________________
****************************************
Don't take life too seriously -- no one gets out alive. Plus, who wants to arrive to the hereafter in pristine condition wearing a suit and tie?
I want to slide in sideways, worn out, used up, hair a mess, clothes tattered, & screaming, "Whooo! What a ride!"
****************************************
jmacavali is offline   Reply With Quote
Old 09-01-2009, 08:56 PM   #5
Fully Optimized
 
wol-va-rine's Avatar
 
Join Date: Feb 2007
Posts: 2,104
Default Re: router vs. switch vs. hub

Quote:
Originally Posted by TitanMATRIX View Post
haha I had the same questions when I was learning so here it goes...

Router- Routers connect networks together and is by far the "smartest" of the three. Routers can assign local IPs and forward information to specific addresses. Routers can also analyze where a packet needs to go and the best way to get there. So if one route is backed up and busy, a router can route the packet a different and more effecient way.

Switch- The next one down is a switch. A switch can forward packets of info to a specific port but can't do as much as a router can. Plus switches aren't used to connect networks but rather nodes on a subnetwork. Where you see them most is where a collection of computers are (say on a small office floor). The switch connects these series of computers together (then a router connects the switches together and at times servers as well).

Hub- The hub is the next step down and they aren't really used anymore except in older networks. Hubs simply take in packets and broadcast them to every node on the network. This can be really ineffecient because more times than not, all nodes on the network don't need to see the info. This also poses a security risk of confidentiality. Like I said hubs aren't really used anymore because of its ineffeciency, they're getting replaced by the more effecient switch.

I hope this helps... if I need to clarify something just let me know. Its kinda hard to explain stuff through text instead of person to person.

gah be me to it jmacavali

Plus you put yours in a more concise way
the most inefficient part of a hub is that it shares the connection speed with the users, if 10 users are connected to a hub running at 100Mbps they split the speed because they share the connection, so each user is connected at 10Mbps, while 10 users connected to a switch are each connected at the full 100Mbps, in other words hubs are old and are teh suck...

at least that's how I always understood it, please correct me if I'm wrong, it definitely wouldn't be the first time...
__________________
MY INTARDNET BEAST ■ Antec 300 ■ Q6600 B3, 2.8GHz @ 1.325v ■ MSI X48C Platinum ■ Kingwin XT-1264 ■ Visiontek HD 4870 512MB ■ 4x1GB Transcend aXeRam DDR3-1800 @ 1400MHz ■ WD Raptor (160GB) ■ Western Digital (250GB) ■ Samsung (640GB) ■ Seagate (500GB) ■ WD Caviar Green (1TB) ■ OCZ ProXStream 1kw ■ Sound Blaster X-Fi Platinum ■ JVC HA RX900 ■

ME ■ I am bald and my head is lumpy...fear me ■
wol-va-rine is offline   Reply With Quote
Old 09-02-2009, 12:45 AM   #6
In Runtime
 
TitanMATRIX's Avatar
 
Join Date: Jul 2009
Posts: 202
Send a message via MSN to TitanMATRIX
Default Re: router vs. switch vs. hub

Quote:
Originally Posted by jmacavali View Post
LOL...I thought someone had just recently asked this question. Looks like you've got if figured out though. Good job.
haha yeap yeap that was me asking the questions and I did finally iron out the kinks Its a great feeling when it finally clicks... I now frequently find myself in "geek moments" where I'm mapping networks at my university and following IP addresses of gateways, clients, servers, etc... (and I just switched my major from business management human resources to the waaaaaaaaay more interesting and waaaaay better information systems )

wolvarine... I'm thinking so considering how old the technology is, I'm assuming bandwidth problems are a concern with these clunkers.
__________________
***Network Warrior***
TitanMATRIX is offline   Reply With Quote
Old 09-02-2009, 07:09 AM   #7
Fully Optimized
 
jmacavali's Avatar
 
Join Date: Jun 2009
Posts: 4,867
Default Re: router vs. switch vs. hub

Quote:
Originally Posted by wol-va-rine View Post
the most inefficient part of a hub is that it shares the connection speed with the users, if 10 users are connected to a hub running at 100Mbps they split the speed because they share the connection, so each user is connected at 10Mbps, while 10 users connected to a switch are each connected at the full 100Mbps, in other words hubs are old and are teh suck...

at least that's how I always understood it, please correct me if I'm wrong, it definitely wouldn't be the first time...

I don't know for sure if it's quite as easy as taking the connection speed and dividing it by the number of users BUT they definately share the bandwidth as opposed to a switch where each connection gets the rated amount of speed.
__________________
****************************************
Don't take life too seriously -- no one gets out alive. Plus, who wants to arrive to the hereafter in pristine condition wearing a suit and tie?
I want to slide in sideways, worn out, used up, hair a mess, clothes tattered, & screaming, "Whooo! What a ride!"
****************************************
jmacavali is offline   Reply With Quote
Old 09-02-2009, 10:10 AM   #8
Fully Optimized
 
wol-va-rine's Avatar
 
Join Date: Feb 2007
Posts: 2,104
Default Re: router vs. switch vs. hub

Quote:
Originally Posted by jmacavali View Post
I don't know for sure if it's quite as easy as taking the connection speed and dividing it by the number of users BUT they definately share the bandwidth as opposed to a switch where each connection gets the rated amount of speed.
I will definitely defer to your expertise on this one, it's just something I heard once when bring up the choice of buying either one...
__________________
MY INTARDNET BEAST ■ Antec 300 ■ Q6600 B3, 2.8GHz @ 1.325v ■ MSI X48C Platinum ■ Kingwin XT-1264 ■ Visiontek HD 4870 512MB ■ 4x1GB Transcend aXeRam DDR3-1800 @ 1400MHz ■ WD Raptor (160GB) ■ Western Digital (250GB) ■ Samsung (640GB) ■ Seagate (500GB) ■ WD Caviar Green (1TB) ■ OCZ ProXStream 1kw ■ Sound Blaster X-Fi Platinum ■ JVC HA RX900 ■

ME ■ I am bald and my head is lumpy...fear me ■
wol-va-rine is offline   Reply With Quote
Old 09-02-2009, 12:22 PM   #9
Fully Optimized
 
jmacavali's Avatar
 
Join Date: Jun 2009
Posts: 4,867
Default Re: router vs. switch vs. hub

I wouldn't call it 'expertise' as I not 100% either way...
__________________
****************************************
Don't take life too seriously -- no one gets out alive. Plus, who wants to arrive to the hereafter in pristine condition wearing a suit and tie?
I want to slide in sideways, worn out, used up, hair a mess, clothes tattered, & screaming, "Whooo! What a ride!"
****************************************
jmacavali is offline   Reply With Quote
Old 09-02-2009, 12:42 PM   #10
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,004
Default Re: router vs. switch vs. hub

hmmm.. even with a switch you can still share bandwith depending on how it's set up.

if you use a lan cable to connect two switches together then all the clients on switch A will have to share the same 100mb cable to resources on switch b and visa versa,


carrying on with my pedantic streak switches can also serve DHCP, depending on what switch you get. (not all switches are created equal!).
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0