NTech

Menu
  • Home
  • Technology
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

Sunday, 3 April 2016

Hub vs Switch: Comparison And Difference Between Networking Devices

By ntech21:32 No comments
hub switch difference  


Hub vs Switch – which one is better? Which one should be used for faster communication? Which one is more secure? Well, we answer all the aspects of using a hub and a switch against each other in this article.
Hub was very popular before the arrival of a Switch. So, what was something special inside a Switch which made Switch so popular? We will take a look at all the differences and functional aspects between a Switch and hub.Let’s take a look:

Hub vs switch — Comparison and differences

Hub’s properties:

  • Works at the physical layer of the OSI layer
  • Uses ‘Store and forwarding’ when it receives a data packet
  • A virtual LAN cannot be created using a hub
  • Usually comes with 4 to 12 ports
  • Only transmits electrical signals or the bits (relate it with physical layer)
  • Does not use any software
  • Does not have its own memory for memorizing the devices connected over to the network
  • Cannot learn the MAC addresses and neither can forward them
  • Supports Half-duplex transmission mode
  • A hub has only one broadcast domain
  • Cannot support Spanning tree protocol
  • Packet collisions occur commonly inside a hub

Switch’s properties:

  • Works at the Data link layer or layer two of the OSI model
  • Uses ‘filter and forwarding’ when it receives a data packet
  • A virtual LAN can be created using a Switch and it can also work as a multi-port bridge
  • Usually comes with 24 to 48 ports
  • Transmits Frames (layer 2 packets) and Layer 3 packets of the OSI model
  • Uses its software for admin access and other configurations
  • Has its own memory for memorizing the devices connected over to the network
  • Can learn the MAC addresses and stores those addressed in a CAM (Content Addressable Memories)
  • Supports Half as well as full duplex transmission mode
  • A hub has only one broadcast domain
  • Can support Spanning tree protocol
  • No packet collisions occur commonly inside a hub

Working differences — Hub vs  switch

Before you proceed to further reading, have a look at the basic concepts of the different networking devices and hardware types — hub, switch, router, modem, bridge, repeater.
Let’s say a few computers are connected to a hub in one of the scenarios and in the other scenario, they are connected to a switch.
In the Hub’s case, when all the computers send data packets, those are copied as a signal at the different ports of the hub. That means, the hub simply replicates the signal and the intended recipient gets the packets. Since there is no concept of filtering the packets and forwarding those, there will be a lot of collisions as well.
When the same data packet will arrive at one of the ports of a Switch, the following generic steps will take place:
  • A data packet arrives at one of the ports.
  • The Switch checks of the address inside the data packet (also called as a frame of layer 2 on OSI model)
  • The switch has a CAM table and it will match the address of the frame with one of the addresses of the CAM table.
  • If the address matches, the switch known the particular port at which that address resides. So the Switch will forward that packet to that particular port and this is also called as ‘Filter and forwarding’ in computer networks terms
  • These things are all possible because of a configuration file and memory inside a Switch which is absent in a hub.
  • The network admin can configure the switch according to his preference.
  • Because of the filter and forwarding, there is no collision inside a switch.
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Pages

  • Home

Popular Posts

  • What Is A Motherboard? What Are The Different Components Of A Motherboard?
    What Is A Motherboard? What Are The Different Components Of A Motherboard? Image: Wikipedia Short Bytes: A motherboard acts as a pl...
  • Run Windows 98 And Linux In Your Web Browser, Thanks To JavaScript And NodeJS
    Run Windows 98 And Linux In Your Web Browser, Thanks To JavaScript And NodeJS     Short Bytes: A coder, known as Fabian on GitHub, ...
  • Biggest Rivalries in Computing History
    Pepsi vs. Coke, Edison vs. Tesla, Star Wars vs. Star Trek, history is filled with famous rivalries, but few have matched the intensity and...
  • PHP vs Ruby which programming language is better for web development
    PHP vs Ruby which programming language is better for web development PHP and ruby are trending scripting languages for the web servers...
  • Master Python: Save over 95% on 50+ hours of training
    Master Python: Save over 95% on 50+ hours of training For prog...
  • How to Right Click using the Keyboard
    Looking for the right click keyboard command ? It’s not often you’re left without a mouse, a trackball, or a touch pad, but there are...
  • It’s Official: Android N Is Android Nougat
    It’s Official: Android N Is Android Nougat Short Bytes: After months of speculations and guesses, Google has finally revealed the offi...
  • All over the world use Uptodown to get instant access to a huge catalogue of apps for a number of operating systems.
    https://en.uptodown.com
  • Happy Birthday Steve Jobs: The Genius Life Of Apple’s Founder
    Happy Birthday Steve Jobs: The Genius Life Of Apple’s Founder     Short Bytes: The life of Steve Jobs wasn’t a straight line. He fa...
  • 13 most useful Mac shortcuts that will help you do everything quickly
    13 most useful Mac shortcuts that will help you do everything quickly       The 13 most useful Mac shortcuts that lets y...

Recent Posts

Text Widget

Pages

  • Home

Blog Archive

  • ►  2019 (2)
    • ►  May (1)
    • ►  April (1)
  • ►  2017 (7)
    • ►  July (1)
    • ►  April (3)
    • ►  March (3)
  • ▼  2016 (50)
    • ►  October (1)
    • ►  September (4)
    • ►  July (2)
    • ►  June (6)
    • ▼  April (2)
      • Hub vs Switch: Comparison And Difference Between N...
      • OSI Model And 7 Layers Of OSI Model Explained
    • ►  March (5)
    • ►  February (28)
    • ►  January (2)
  • ►  2015 (9)
    • ►  August (9)
Powered by Blogger.

Text Widget

About Me

ntech
View my complete profile

Copyright © NTech | Powered by Blogger
Design by Flythemes | Blogger Theme by NewBloggerThemes.com