Skip to main content

Part 18- Switch (Networking Devices)- Computer Networking- CCNA

Hello friends... next Networking Device is Switch.

Switch

It is the device that connects the multiple devices and network segments, it is also known as Multi-port Network bridge. means in bridge there were only two ports but here there are many ports behaving like bridge. It works on Layer 2 of the OSI Model.

But today you can got the switches which works on Layer 3 or Network Layer , these switches are known as layer 3 switch or Multilayer switch.





Switch receive the data on it's own port in form of frames and transmit it to that device for which this particular data is.
It is not like a HUB because if HUB receive data so it will forward to all ports but switch is very intelligent device , it send data to only right single destination. Today in every Network switch is most important device.

Working of Switch -
Switch creates a Separate collision domain for each switch port. it just like a bridge but bridge can divide network into only two collision domain while here in switch each port works as a Separate collision domain.

(Collision domain is group of network interface cards in which collision may occur )

So suppose in any network 4 computers are there  computer A, B, C  and D . if A wants communicate with B and same as B wants communicate with A so they can at a time same as C wants communicate with D and D wants communicate with C so they can ,, these two communication can be done at a time without interface each other.



Switch maintain a table which also called forwarding table or MAC address table. in this table MAC addresses of all connected devices are stored.  When Computer A send data to B so  first data goes to switch and switch check the destination address of data with the help of this table ,,when switch get that mac address is connected to port 2 means Computer B so ,, data will be sent to B.

Benefit of Switch 

It provides High Speed data transfering.

It provides Full-duplex communication.

Point to Point communication or Dedicated communication.


Types of Switches 

There four types of switches or we can call switching-

  • Store and forward
  • Cut through
  • Fragment free
  • Adaptive switching


Store and forward Switch- In this switch there is buffer which is used to store received frames then it check the error problem if there is a error so it will drop the frames or if not it will forward it.
This switching is little bit slow as comparison to other switching because of error checking but it is too reliable.

Cut Through Switch- this switch check only the hardware address of frame before forwarding it.  and there is no error checking but it very fastest switching.

Fragment Free Switch - It is the combination of both above switches and it checks only first 64 bytes of frame in which address is stored.  Mostly it is found that if error is present so it would be in first 64 bit so Fragment free switch check only first 64 bit for avoiding the errors. and also fast.

Adaptive Switching- This switching uses a automatically method and select the best switching among these three switching. 

But maximum Store and forward switching is used

Comments

Popular posts from this blog

GitHub Repo Collaboration Work on single project

 =============================================== To collaborate effectively with your friend on the same project, you should use Git branches to manage different lines of development. Here's a step-by-step procedure you can follow to streamline collaboration: 1. Create Separate Branches for Each Developer Create a New Branch for Your Friend: On your local repository, create a new branch for your friend. For example if your friend name is kilvish , if you want to create a branch named kilvish , you would run: make sure you would be on main branch already   command->  git checkout -b kilvish git push origin kilvish 2. Set Up Your Friend’s Environment( On your Friend's System )  at kilvish side  run ->  Clone the Repository (if not already done): If your friend hasn’t cloned the repository yet, they should do so: command ->  git clone https://github.com/Vasu-Birla/your-repo.git   // your your main clone line  Fetch All Bran...

Part 15- What is Repeater (Networking Devices)- Computer Networking- CCNA

Repeater  hello friends i am Vasu Birla and today i am starting new segment of CCNA computer networking  its a Networking Devices. we will discuss every important Devices used in networks. Repeater is a first networking devices. What is Repeater  Repeater is a device that receives signals and re-transmits by amplifying or regenerating signals. Repeater has two port one is for receive signals from previous network and second port is for retransmit signals to the next extended network. Two Port Repeater Repeater is a device which is used to Regenerate or replicate signal (Pichhe se aa rahe signal ko regenerate karke ya amplify karke aage strong signals bhej sakte he) Analog and digital both type of signals can be retransmitted by repeater. Here there is difference between regeneration and amplifying.  Amplification means , received signals will be amplified as it is , whether there are impurities in signals  and Regeneration means repeate...

How to deploy NodeJS app on server with Apache2 and acess it with Server IP addresss - Node JS deploy project Live.

     hello friens , This is Vasu Birla , in previous post we have seen the deployement of NodeJS app on AWS instance server instance but AWS server is expensive than other servers . SO today we will use simple Ubuntu server for making Live out Project using Apache2 . At the end you will be abe to access your NodeJS app using server IP address from anywhere  .. 1.  Login to your server using SSH terminal . (in AWS part i already explained how to do this )     -> Open your putty in hostname put your server IP -      login with ssh username ->root and password     (if you dont have root username and pass ask your      provider or reset it from cpanel or hosting panel ) 2. after login - on terminal you can Put your project anywhere.     There are two ways to put your project folder on server location     (i) - > using Github - (very popular and easy to track your everyday code changes t...