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.
Read More

OSI Model And 7 Layers Of OSI Model Explained

By ntech21:29 No comments
osi model layers 






What is OSI model? Why OSI model is so important and what are layers and protocols in OSI model? Here we’ll answer all the questions and explain all the different layers of the OSI model in brief.
Recently, I have been writing a lot over network topology, computer networks, and network devices. However, with time, I realized that if I continue writing more networking things, I need to write about the basics of computer networking i.e. OSI model. This will help the readers to relate it with the famous OSI model and at different points.Also, When I would feel a need of guiding a reader to read about the networking basics and fundamentals like OSI model, I can simply put up a link there.
So, here I go:

What is OSI model?

The OSI model (Open System Interconnection) model defines a computer networking framework to implement protocols in seven layers. A protocol in the networking terms is a kind of negotiation and rule in between two networking entities.

Layers of OSI model:

Physical layer

The Physical layer is also called as the Layer 1. Here are the basic functionalities of the Physical layer:
  • Responsible for electrical signals, light signal, radio signals etc.
  • Hardware layer of the OSI layer
  • Devices like repeater, hub, cables, ethernet work on this layer
  • Protocols like RS232, ATM, FDDI, Ethernet work on this layer

Data Link layer

The data link layer is also called as the Layer 2 of the OSI model. Here are the basic functionalities of the data link layer:
  • Responsible for encoding and decoding of the electrical signals into bits.
  • Manages data errors from the physical layer
  • Convers electrical signals into frames
  • The data link layer is divided into two sub-layers
    • The Media Access Control (MAC) layer
    • Logical Link Control (LLC) layer.
  • The MAC sublayer controls how a computer on the network gains access to the data and permission to transmit it.
  • The LLC layer controls frame synchronization, flow control and error checking.
  • MAC address is a part of the layer 2.
  • Devices like Switch work at this layer

Network Layer

The Network layer is also called as the layer 3 of the OSI model. Here are the basic functionalities of the network layer:
  • Switching and routing technologies work here
  • Creates logical paths between two hosts across the world wide web called as virtual circuits
  • Routes the data packet to destination
  • Routing and forwarding of the data packets.
  • Internetworking, error handling, congestion control and packet sequencing work at this layer
  • Router works at layer three
  • Different network protocols like TCP/ IP, IPX, AppleTalk work at this layer

Transport layer

The Transport  layer is also called as the layer 4 of the OSI model. Here are the basic functionalities of the Transport layer:
  • Responsible for the transparent transfer of data between end systems
  • Responsible for end-to-end error recovery and flow control
  • Responsible for complete data transfer.
  • Protocols like SPX, TCP, UDP work here

Session layer

The Session  layer is also called as the layer 5 of the OSI model. Here are the basic functionalities of the Session layer:
  • Responsible for establishment, management and termination of connections between applications.
  • The session layer sets up, coordinates, and terminates conversations, exchanges, and dialogues between the applications at each end.
  • It deals with session and connection coordination.
  • Protocols like NFS, NetBios names, RPC, SQL work at this layer.

Presentation layer:

The Presentation layer is also called as the layer 6 of the OSI model. Here are the basic functionalities of the presentation layer:
  • Responsible for data representation on your screen
  • Encryption and decryption of the data
  • Data semantics and syntax
  • Layer 6 Presentation examples include encryption, ASCII, EBCDIC, TIFF, GIF, PICT, JPEG, MPEG, MIDI.

Application Layer:

The Application layer is also called as the layer 7 of the OSI model. Here are the basic functionalities of the Application layer:
  • Application layer supports application, apps, and end-user processes.
  • Quality of service
  • This layer is responsible for application services for file transfers, e-mail, and other network software services.
  • Protocols like Telnet, FTP, HTTP work on this layer.
Read More
Newer Posts Older Posts Home

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