What is a Switch in Networking - How does a Network Switch Work?

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • In this video I am going to explain what is a switch in networking.
    If you like networking why not subscribe to my channel czcams.com/users/rogerperkin?s...
    Check out the gear I use everyday: www.amazon.co.uk/shop/rogerpe...
    Check out my Courses: www.rogerperkin.co.uk/courses/
    Switches are the heart of all computer networks and are responsible for connecting up to 1000's of computers together.
    If you want to know how does a network switch work then I hope this video explains that to you.
    I will also explain the difference between a hub and a switch.
    #networkswitch
    A network switch looks a lot like a network hub. Unlike hubs, however, network switches are capable of inspecting incoming messages as they are received and directing them to a specific port-this creates an arp table on the switch so it knows where each device is and where to send the traffic destined for that device.
    A switch determines the source and destination addresses of each packet and forwards data only to the specific devices, while hubs send the data to every port except the one that received the traffic.
    A switch is a lot more efficient on bandwidth as data only is sent to where it needs to go.
    Switches are often confused with Routers, but a Router is a completely different device which decides which network to send traffic to.
    The confusion has come from most home broadband routers now including a small 4 port switch so box boxes are combined and most people refer to it as the router.

Komentáře • 85

  • @rcxcole7271
    @rcxcole7271 Před 3 lety +28

    Thank you for explaining how switches work, just earlier I had no clue what they were but after watching this video, I have a grasp on what they do, thanks again

  • @josephwood499
    @josephwood499 Před 4 lety +28

    Thank you for the plain and simple description. Couldn't be easier when you get basic concepts explained in a clear and demystified manner. I really appreciate it.

  • @RBASB10
    @RBASB10 Před rokem +5

    I actually can’t believe I’m 3 years late. I absolutely love your terminology. Thank you kindly for you explanation and your time in making this video so people like me and learn. Much appreciated 🙏🏻. I certainly have to subscribe to your wonderful channel. Thank you once again.

  • @waynezahra9213
    @waynezahra9213 Před rokem

    Hi Mr, I know I’m a couple of years late but…thank you kindly for your direct and clear explanation. You’re a superstar without realising it. Thank you kindly for your time in making this video.

  • @joshualewis5564
    @joshualewis5564 Před 4 lety +9

    good video, well explained for beginniners studying IT/Networking.

  • @xd_hamza_bx5648
    @xd_hamza_bx5648 Před 2 lety +2

    Thank you so much. I was specifically trying to know how the switches know where data should go . Thank you for the amazing explanation

  • @eliuchiha7780
    @eliuchiha7780 Před 10 měsíci

    I really need this for my presentation and you make it’s so simple to understand. Thank you ❤

  • @nisargtrivedi2467
    @nisargtrivedi2467 Před 2 lety +2

    Hi Roger, just saw your video and I must say it was very simple but to the point explanation. Glad I saw your video. Just subscribed your channel and will go through other videos as well. Really appreciate your efforts and time. 👍

  • @AnonZero0
    @AnonZero0 Před 5 měsíci

    *Thank you; Merry Christmas.*

  • @Jessica-ji9eh
    @Jessica-ji9eh Před 9 měsíci

    Thank you for a great explanation. Could not get my head around the difference between a switch and a hub. Simple and easy explanation.

  • @wintersoul37
    @wintersoul37 Před 2 lety +1

    Actually really helped. Thanks❄

  • @tahersadeghi6773
    @tahersadeghi6773 Před 9 dny

    Thank you for a clear video. Good man.

  • @watiu9lei
    @watiu9lei Před 2 lety +3

    awesome explanation. im a newbie in networking, hope to learn more basics before moving on more advanced networking

  • @andresamancio1928
    @andresamancio1928 Před 3 lety +1

    My English is basic but i understand all do you told . Gracias Amigo , Good video

  • @ab-yp2gn
    @ab-yp2gn Před 2 lety

    Thanks, such a great explanation!

  • @rjsaab02
    @rjsaab02 Před 6 měsíci

    Thank you for posting this! Great use of terminology and easy to understand. As an IT student, you are a lifesaver lol.

  • @SB-ew4ve
    @SB-ew4ve Před 2 lety

    thank you for explaining!

  • @chadzulu4328
    @chadzulu4328 Před rokem

    Great explanation, thanks!

  • @shup_row
    @shup_row Před 4 lety

    Thank you!I was not unsertdanding it.Now I get it.

  • @danielc4698
    @danielc4698 Před 11 měsíci

    thanks mate, i dont know why I struggled to make the difference between switch and router. have a nice one.

  • @emrc1
    @emrc1 Před 3 lety

    I did not under the difference between switch and a hub, Thank you for explaining how switches work,

  • @leonardo_magallanes
    @leonardo_magallanes Před 8 měsíci

    Great video and very clear explanation.

  • @fabioconti2379
    @fabioconti2379 Před 6 měsíci

    thanks for the lesson Loki

  • @jmdatul
    @jmdatul Před rokem

    Very simple and good one.

  • @apexpanda3652
    @apexpanda3652 Před 2 lety +1

    thanks very well explained :)

  • @NorthernSweetPea
    @NorthernSweetPea Před 5 měsíci

    Thank you, Roger!!!

  • @pawbard
    @pawbard Před 3 lety

    Very clear thank you!

  • @keithkeber5655
    @keithkeber5655 Před rokem

    So I have been using unmanaged switches since 2005 on my SOHO network. I've always idly wondered the kinds of options that "managed" switches offer. Your video helped me to understand the difference. As curious as I am, I think I'll continue to use unmanaged switches. LOL, sometimes it's better to have fewer choices.

  • @eaemmm333
    @eaemmm333 Před 8 měsíci

    nice explanation

  • @btboss123
    @btboss123 Před 4 lety

    Very good video well explained.

  • @joeybraghieri
    @joeybraghieri Před rokem

    This helped a lot thank you

  • @kswisham8
    @kswisham8 Před 3 měsíci

    Thank you sir !

  • @emirh.9376
    @emirh.9376 Před 5 lety +10

    Sometimes it is good to revisit the core concepts. I recently did some reading about native vlans, tagging and spanning tree just to refresh.
    Thanks Roger!

  • @rogersepeda4378
    @rogersepeda4378 Před 2 lety

    It’s nice to see another Roger. I don’t see many out there .
    This was informative, thank you for clearing that up .

  • @billloveless6869
    @billloveless6869 Před 2 lety

    Excellent video.

  • @elia2192
    @elia2192 Před 2 lety

    well explained

  • @robertwood3618
    @robertwood3618 Před 4 lety

    Can i ask do you need to attach a switch to a wall Ethernet outlet ?.... Has my wall outlets dont work

  • @joemufa4594
    @joemufa4594 Před 2 měsíci

    Great simple video. I am trying to learn Networking but im struggling to find a good starting point that isn't too abstracted
    Any ideas on how to start "from scratch" to get a deeper understanding?

  • @md.romizulislam7416
    @md.romizulislam7416 Před 4 lety

    want more videos on networking as a complete course if possible
    and thank you

  • @ThyTrueNightmare
    @ThyTrueNightmare Před 8 měsíci

    Very good, I am looking to know more about networking. right now its just so that my PC and my girlfriends Pc can send game installs from steam quicker because we are limited by our 50mbs plugs when both ports support gigabite and are both in the same room. this seems like the best option for me.
    Thank you.
    Also those who aren't aware you can transfer games form one PC to another on the same network, you do need to set it up in steam settings!

  • @mf19862
    @mf19862 Před 5 měsíci

    Awesome video, thanks Roger…Go Forrest🌳

  • @navikajhajharia7633
    @navikajhajharia7633 Před 2 lety

    Thanks

  • @hqfootball2771
    @hqfootball2771 Před rokem

    Superb 😍😍😍

  • @mimnesko1
    @mimnesko1 Před 3 lety

    What happens if PC D is swapped for PC C? How does the switch come to know that it should be sending the information to a different port? I am just learning all of this stuff now, and I assume that the switch is dependent on information being sent TCP - are all the computers informing the switch that the information is irrelevant or are they just discarding it?

  • @brandonlee7382
    @brandonlee7382 Před 2 lety

    Thank you

    • @brandonlee7382
      @brandonlee7382 Před rokem

      Haha randomly came across this video and saw my old comment lol, I've had a Switch for over a year and it's been great. I have 35mb download speed and its hardly ever lagged because it gives my main device priority

  • @mason9627
    @mason9627 Před 4 lety

    thank u

  • @Krishna_Singh_2111
    @Krishna_Singh_2111 Před 2 lety

    if it decides that which device is connected to which port, and send data for that device only thru that port, what happens if we interchange the ports connected to devices, how will it then work

  • @alpozen5347
    @alpozen5347 Před 3 lety +1

    you sound exactly like Roy from IT crowd :)

  • @codewithdevhindi9937
    @codewithdevhindi9937 Před rokem

    nice video

  • @FaLkraydz
    @FaLkraydz Před 2 lety +4

    I have a question: I just want to plug one computer with another through my unmanaged switch, however, they can't see each other. Is that because I didn't plug the switch with the router? Do the switch and the router need to be plugged together in order to one computer see the other? Plugging both computers into the switch isn't enough for them to see each other?

    • @RogerPerkin
      @RogerPerkin  Před 2 lety +4

      It depends what the computers are configured as? If the network cards are set to DHCP and need to get an address from somewhere you also need your router in there as well, if you just want them to see each other and that's it then assign PC1 and IP address of 10.0.0.1/24 and PC2 10.0.0.2/24 - just depends what you want to do and what you mean by see each other?

    • @burgundyhome7492
      @burgundyhome7492 Před rokem

      This is exactly what I'm looking for. Thanks for both of you! Cheers!

    • @FaLkraydz
      @FaLkraydz Před rokem

      @@RogerPerkin thank you, I was able to get there figured out last year. The Ethernet cable was wired wrongly. 🤣

  • @MOBHouse
    @MOBHouse Před 3 lety

    Great video! Is it me or is the volume is a little low?

  • @bimallimbu8360
    @bimallimbu8360 Před 3 lety

    thanx sir 🙏 i saw my google switch work profile which i never turn on i think some body very interested on me

  • @erwinjohnsagurit4227
    @erwinjohnsagurit4227 Před 2 lety

    Ip switch and network switch is the same?

  • @joshuajusto3677
    @joshuajusto3677 Před rokem

    what if you plug internet cabble coming from the router does that distribute wifi connection to all of the device that is connected to the switch?

    • @RogerPerkin
      @RogerPerkin  Před rokem +1

      If you connect a cable from your router into a switch and all the ports are in the same vlan and all the devices on your network are on the same subnet as your internet router that will provide internet to all devices, they will typically get a DHCP address from the router

  • @mimicabrera3784
    @mimicabrera3784 Před 3 lety

    Do you know what the difference is between a T3 and T5 switch ?

  • @bicunisa
    @bicunisa Před 9 měsíci

    Why does port #5 look different in there? @0:12 🤔

  • @t.ibcs2yt88
    @t.ibcs2yt88 Před 3 lety +2

    Online class brought me here...
    From 🇵🇭
    😁😁😁

  • @gbelectricks
    @gbelectricks Před rokem

    What happens if the connections get swapped at the switch?

  • @KartheeKNaNi
    @KartheeKNaNi Před 3 lety

    Switch have only Mac address ?

  • @cod06
    @cod06 Před 4 měsíci +1

    Eh I need to buy a couple of switches for testing.

  • @-raiwzo
    @-raiwzo Před 2 lety

    2:20 isn't the title should be "HUB send it to all ports" ?

  • @bendover-69247
    @bendover-69247 Před 3 lety

    Im a idiot, but to my office i have 1 ethernet cable, can i plug that in to a switch and get 2 cabels?

    • @RogerPerkin
      @RogerPerkin  Před 3 lety +1

      You can plug that into a switch and get 24 cables if you want!

    • @bendover-69247
      @bendover-69247 Před 3 lety

      @@RogerPerkin Dam! That was fast reply, thanks man!

  • @Alianger
    @Alianger Před 2 lety +1

    Why do you need this instead of a router?

    • @RogerPerkin
      @RogerPerkin  Před 2 lety +1

      Good question, a switch can also be a router - this is called a Layer 3 switch, it allows you to route traffic between different networks. A router typically has only a few ports where a switch can have a lot more normally 48 or you can stack switches to have up to 400+ ports. So you use a switch when you need more ports and a router when you need to route between networks, like your home broadband router, but the switch if it supports it could also be a router

    • @Alianger
      @Alianger Před 2 lety +2

      @@RogerPerkin Thanks!

  • @user-ix8vg5cc7h
    @user-ix8vg5cc7h Před 3 měsíci

    What are the problems in Switch?

  • @declanlr
    @declanlr Před 3 lety

    being forced to watch this in class rn
    hi ms g's class 4

  • @luukcool1
    @luukcool1 Před 3 lety

    highpass filter

  • @chiimumango3979
    @chiimumango3979 Před 3 lety

    Nitendo

  • @DhanusLov
    @DhanusLov Před 4 měsíci

    Sir I want The Ppt i am college student ❤🎉😊😮

    • @RogerPerkin
      @RogerPerkin  Před 3 měsíci

      Sorry I don't have it anymore, but feel free to copy it

  • @XAMEREN
    @XAMEREN Před rokem +2

    He really did a powerpoint presentation for a video?

  • @haraldholm5517
    @haraldholm5517 Před 3 lety

    Disturbing low end level on voice. Good info wrapped like a crap tv commercial. Silly!!!

  • @mimnesko1
    @mimnesko1 Před 3 lety

    What happens if PC D is swapped for PC C? How does the switch come to know that it should be sending the information to a different port? I am just learning all of this stuff now, and I assume that the switch is dependent on information being sent TCP - are all the computers informing the switch that the information is irrelevant or are they just discarding it?

    • @13aaryan
      @13aaryan Před 2 lety

      All devices have a different ip address. Most of the devices will have a static ip set anyway so even if the port changes, the ip stays the same. If let's say the ip changes, you'll need to reconfigure whatever you were doing/sending so that it stars working again.