I’m Out Of The Tournament! GRINDHOUSE: Planet Terror & Death Proof Trailer

Your Network Is Stupid - Hubs vs. Switches

Written by AngryNetworker on March 30, 2007 Add comments

An Introduction

Let me begin by introducing myself: You can call me the Angry Networker, and I’m a cynical network specialist who has spent too much time dealing with ridiculous network issues and wanting to punch way too many idiots for telling me that IT means sitting in a cubical answering phone calls ~ making 30 grand a year.

Gather Around Kids

I’ll begin with a story about some people who prefer hubs instead of switches.

OH MY GOD. Did I fall into a time warp back to the mid 90’s were 8-port hubs were gods gift to SOHO networks??? Because I think I did. A few years ago I worked at Staples for all of two weeks (and became the fastest mover of those crappy warranty plans in the Tri-State area!) and I kid you not, I was prepared to slap anyone who would come in looking for a hub. Later, out of college and into my first ‘real job’, I landed in a place where we managed hundreds of computers. One day while Ghosting computers, I was told the reason Ghosting 50 computers at once failed, is because I used a switch to connect them instead of a hub… I mean this was an actual fight, it was bad…

I know switches are new, shiny, strange and scary devices. What do you mean they don’t forward data to EVERY port, my God, what’s a packet?!?! :neutral:

What’s The Difference?!

Alright, I’m going to get into why hubs are stupid. In all seriousness, hubs ACTUALLY are stupid. A hub is known as a multi-port repeater. It is designed to work on Layer 1 of the OSI model - the Physical layer, meaning it handles bits via electrical signals.

Regular repeaters work by accepting the incoming signals, cleaning them up (regenerating them, thus removing static/interference that may have built up) and pumping them out of the outgoing port. A hub does the same thing, but pumps the signal back out of every port that’s connected to a host. This causes a slew of problems. In half duplex mode you have the potential for collisions, where two computers send data at the same time - if only it caused some soft of melt down that would be cool to watch and maybe take a few idiots with it… To prevent collisions, half-duplex uses CSMA/CD, carrier sense multiple access/collision detection. When a collision is detected, it’ll send a signal to the hosts calling them fools, and telling them to count to an arbitrary random number and resend the data. Full-Duplex takes care of this; however, hubs with any amount of traffic will bottle neck tremendously.

A switch is different. A switch operates on Layer two of the OSI model, making decisions based on MAC addresses (yea your network card has a PHYSICAL address, a lot like your house, but the difference is, if I knew your house address I’d probably burn it down. Your phone number would be similar to a Logical address (IP)).

Switches work by ‘learning’ the MAC address attached to each port of the switch. It stores these addresses in a MAC table. When you connect a host and send data, the switch will remember which port the source MAC was on, and then check the table for the destination MAC, if it doesn’t find said MAC, if floods the packet to all ports except the original port the data came in on. When it learns these addresses, it allows hosts to talk to other hosts simultaneously via VCs, or virtual circuits.

An Example

So here is an example, 4 people standing together, person 1 is talking out loud to person 2, but persons 3 and 4 can hear. Asides from the obvious security risk, if 3 needs to talk to 4, he can’t because it’ll interrupt 1. That’s a hub. A switch would change the situation greatly: 1 would be whispering to 2 in their ear, and 3 can whisper to 4 at the same time. Get it? I hope so.

Now, with this information, how are you going to argue with me that a hub is better then a switch!? Ok, I asked repeatedly why we use hubs and not switches. Well I got a response once saying that “switches didn’t work”.

Impossible, a switch would never NOT work in the situation where you are using a hub. With some scrounging I found out they were using Managed switches. Great, you see the words managed and unmanaged - obviously managed HAS to be better… um, NO! Not for every situation. You see, with managed switches you have to do something very important with them… Manage them. They need to be configured, fooled around with, and stood up for dinner. If a simple network is your intension, unmanaged is the way to go.

Let’s Review

Hubs

  • Stupid
  • Flood incoming data to all ports/hosts
  • Security risk
  • Severe bottleneck on networks
  • Collision possibilities
  • Not more expensive then switches

Switches

  • Creates virtual circuits between hosts
  • No collisions (creates a collision domain)
  • Fast hardware switching
  • Not going to cause situations where a hub will be better [1]

That’s all I really have for today. I hope that through my incessant loss of hope for all humanity you can extrapolate some knowledge from this article and put it to good use.

Remember Kids: Just say NO to hubs.

[1] Hubs will work better in these situations, making this article null and void:

  • Paper weights
  • Geek Bling
  • Moderately dangerous projectiles
  • Ant farms
  • Dog toys
  • Argument starters

Start Slide Show with PicLens Lite PicLens
This post is filed in: Rants and has been viewed 1,828 views times.

I’m Out Of The Tournament! GRINDHOUSE: Planet Terror & Death Proof Trailer

Megaman Loves These Related Posts:


Megaman
  • Your Network Sucks - Apparently Mine Does Too!
  • Windows Tip: Shutdown Your Computer With The Command Prompt
  • Create a Startup Menu With Different Boot Options
  • Internet Explorer Command-line Switches
  • Crazy Job - Cell Tower Technician


  • RSS feed | Trackback URI

    29 Comments »

    Comment by Saman 2007-03-30 11:16:47

    MyAvatars 0.2

    I really don’t know why anyone would bother using a hub these days. Sadly, The AngryNetworker and I have to deal with this crap all the time!

    Comment by Derek 2007-03-30 13:20:55

    MyAvatars 0.2

    (Him) “Yeah can you go to the store and pick up a hub?”

    (Me) “No, but I’ll get you a switch instead.”

    (Him) “Can’t you just get a hub?”

    (Me) “They don’t really make those anymore, for a slew of reasons…and switches are better…and cheaper.”

    (Him) “Oh, well…ok, I guess.”

    *Palm hits forehead*

    Comment by Bobs 2007-03-30 14:15:47

    MyAvatars 0.2

    I have run into this very thing too.

    Funny thing is I was given the task once of trying to buy a hub so we could demonstrate the ill effects it could have. I couldn’t find one! :wink:

    So at least there is that. The computer stores and such are making it harder for you to be stupid….right?

    Comment by Saman 2007-03-30 15:08:39

    MyAvatars 0.2

    :lol: Nope, the dumber you are, the more the Geek Squad can make.

     
     
     
    Comment by Jez 2007-04-01 03:26:30

    MyAvatars 0.2

    Its a decent article but the hub stuff is several years out of date, as already mentioned hubs are rarely seen for sale these days, even for personal use, I havent seen one used commercially for many years….

    Comment by AngryNetworker 2007-04-01 10:38:15

    MyAvatars 0.2

    Just because they are out of date doesn’t mean they aren’t still being used in poorly designed networks.

    Just got to linksys.com for example, they’re still making *new* hubs

    So no, it’s not several years out of date. It’s still not phased out entirely. You should get out more and see them in action

    Comment by AngryNetworker 2007-04-01 10:39:28

    MyAvatars 0.2

    Did you know there are people still using token ring
    :smile:

     
    Comment by Jez 2007-04-01 16:05:37

    MyAvatars 0.2

    Cisco certainly don’t push hubs on their certification courses, and I havent heard of anyone installing a hub for a long time. Im am sure there are many in use, but I would be very surprised if people are still installing them.

    Comment by Saman 2007-04-02 10:29:11

    MyAvatars 0.2

    Unfortunately, the AngryNetworker and I use them all of the time!!! :sad:

     
     
     
     
     
    Comment by Jason Spence 2007-03-30 11:31:47

    MyAvatars 0.2

    I see where you get the name. :lol: I don’t know if you care, and please don’t take this as spam, but a buddy of mine just launched a new blog dedicated to CCIE. It just started yesterday so don’t expect too much yet. He would probably be interested in getting you to author on his site: http://ccie.brokenblogs.com/ You do have a flare about your writing.

     
    Comment by Gary Lee 2007-03-30 12:07:34

    MyAvatars 0.2

    Welcome to blogging AngryNetworker! . . . . you have totally lived up to your callsign cuz i could feel the anger seething out of my screen . . . i’ve learned something today and will proceed to stomp on any hub I see from this day forward!

    Comment by Saman 2007-03-30 15:11:07

    MyAvatars 0.2

    Or you could make your own Geek Bling!

     
     
    Comment by Bobs 2007-03-30 14:11:06

    MyAvatars 0.2

    I WILL NEVER DEFEND HUBS

    I think there are just people out there that still use them because that is what they had used in the past. Without constantly reading tech news and keeping yourself up-to-date, you go with what you know.

    Hubs are a huge security risk! Hubs allow for middle-man attacks. If somebody can get into your hub, since all data is passed out to all ports, they can monitor that data. I’ve seen this actually accomplished. A middle-man attack is when they not only monitor, but change and then redistribute. A lot of crappy things can happen on them.

    If you are still on a Hub network, its time to A) Do some reading; B) Expand your Budget; & C) Pray nobody else knew you were on a hub network.

    Comment by AngryNetworker 2007-03-30 14:21:10

    MyAvatars 0.2

    D) Step in front of a moving train :idea:

    Thanks for bringing up some specific security risk.

    I vaguely remember hearing something about said company wanted to protect their data and keep things secure as a reason for not using WIFI to collect data from laptops.

    Obviously hubs are a better solution
    :evil:

    Comment by Bobs 2007-03-30 16:29:55

    MyAvatars 0.2

    I definitely like your example of the four people.

    Like you said, one shouts it to the other, yet the other 2 hear what you said. Thats also a perfect example of its insecurity. Its not just that the message went to everybody, but what if it was a private message?

    In a hub network, it is the receiving computer that says - “nope, thats not for me” since it does go through all the ports. There is plenty of “Snort” tools and hacker tools out there that logs every instance of this and give the details about what was in the data that attempted to go to the other computer. It really is scary what you can open yourself up to just by having a hub! If you do have a hub, make sure you don’t have it patched into any kind of public access port!

     
     
     
    Comment by Zach Malmgren 2007-03-30 19:56:25

    MyAvatars 0.2

    Hey AngryNetworker,

    Great article. Very funny stuff… I just have a couple of things to nit-pick, feel free to call me jerk for doing it. :grin:

    You mention full and half duplex in the same paragraph you are explaining the inner workings of a hub. It gives the impression that you have a choice in the matter when it comes to hubs, and you don’t. All hubs are half-duplex (which I think is what you were saying… it was just a little hard to tell) while full-duplex is available in switches (provided it is a newer switch and the host NIC supports it).

    Also, (yes I know my level of “anality” knows no bounds) you mention that CSMA/CD helps avoid collisions, but what I think you meant was that it detects collisions and provides a mechanism to recover from them (which you detailed).

    Ok ok ok… I’m done splitting hairs on the gnat’s ass. There is still one reason that I am aware of to use a hub over a switch (or rather in conjunction with a switch), and that is when you have 2 or more servers using MS-NLB (Microsoft Network Load Balance) in unicast mode. Its some screwed up stuff… check it out: Using NLB

    Again, sorry to be a weenie about the small details. I did think it was a great article. :wink:

     
    Comment by Ed Lau 2007-03-31 00:29:49

    MyAvatars 0.2

    I hate setting up networks…

     
    Comment by HMTKSteve 2007-03-31 13:55:45

    MyAvatars 0.2

    Can you even buy a hub these days?

    The only reason people used hubs in the first place was because they were cheap. Back in the day you could either spend $75 on a four port hub or $1,000 on a switch… Which one would you buy?

    Comment by Saman 2007-03-31 22:01:12

    MyAvatars 0.2

    True, but the prices have been the same now for years!

     
     
    Comment by Ajith 2007-03-31 14:09:29

    MyAvatars 0.2

    The post was as hilarious as it was informative..
    Really great sense of humor you have dot AngryNetworker..
    BTW can yo just tell me your opinion about my funny feed icons …

     
    Comment by Ajith 2007-03-31 14:16:39

    MyAvatars 0.2

    Hmm please tell us if the http in he link fild will be auto matically added else the links would be as funny as the one I have got on the prvious comment i posted

     
    Comment by Ajith 2007-03-31 14:18:39

    MyAvatars 0.2

    And dude how did you put that “OS + Browser” recogniser in the comment section, is that a Wordpress plugin..

    Comment by Saman 2007-03-31 22:04:03

    MyAvatars 0.2

    Yes, it’s one of the smaller features of the Firestats plugin.

     
     
    Comment by AJ bores me 2007-03-31 19:35:52

    MyAvatars 0.2

    So, I don’t understand…..I thought hubs were bad because they required more power so as to shout louder to the other ports. And thats why switches are cheaper….because they whisper and in turn use less power!!

    Anyway, this article still doesn’t say whether or not he ever finished ghosting his computers with the use of a hub….or a switch??!! Or is the truth that it didn’t work on either because the F-up was located somewhere else in the server room…..er uh….did I say that?? I think someone just has an anger management issue with hubs!!

    And, BTW, do you really have the need to memorize the 7 layers of the OSI reference model? It’s a REFERENCE MODEL….you REFER to it….not memorize it.

    HUBS=BEST

    :wink:

    Comment by AngryNetworker 2007-04-01 11:57:05

    MyAvatars 0.2

    You bore me :-)
    haha
    only jeremiah

    Comment by Saman 2007-04-01 12:17:08

    MyAvatars 0.2

    No kidding, I knew that was JP as soon as I read it!

     
     
     
    Comment by Kelly Cho 2007-04-02 16:34:21

    MyAvatars 0.2

    You got a great writing style AngryNetworker! It was funny AND informative… hard to find that combo these days.

     
    Comment by msdanielle 2007-04-02 19:23:02

    MyAvatars 0.2

    great post. i feel informed and tense all at the same time. hope to see you post again soon.

     
    MyAvatars 0.2

    [...] I hope by now, all of you know about Remote Desktop. I mean, you have to be an idiot to not know that you can interact with another desktop from a remote computer, but then again, some people are using hubs… [...]

     

    Leave a Reply

    Name (required)
    E-mail (required - never shown publicly)
    URI
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
    I’m Out Of The Tournament! GRINDHOUSE: Planet Terror & Death Proof Trailer