LOADING ...

Hub, Switch, & Router Explained - What's the difference?

2M+ views   |   24K+ likes   |   444 dislikes   |  
00:00   |   Mar 24, 2017

Thumbs

Hub, Switch, & Router Explained - What's the difference?
Hub, Switch, & Router Explained - What's the difference? thumb Hub, Switch, & Router Explained - What's the difference? thumb Hub, Switch, & Router Explained - What's the difference? thumb

Transcription

  • Hello, everyone in this video. We're going to talk [about] the difference between a hub a switch and a router
  • Now all three of these devices are similar, but there is a difference in the way they handle data
  • So we'll first talk about a hub
  • Now the purpose of a hub is to connect all of your network devices together on an internal network
  • It's a device that has multiple ports that accepts Ethernet connections from Network Devices
  • Now a hub is considered not [to] be
  • intelligent
  • because it does not filter any data or has any intelligence as to where the data is supposed to be sent and that's because
  • The only thing a hub knows is when a device is connected [to] one of its ports
  • So when a data packet arrives at one of the ports it is copied to all of the other ports
  • So all the devices on that hub sees that data packets
  • so again a data packet comes [into] one port then the hub will just
  • Rebroadcast that data to every port that has a device connected to it
  • so even if this computer here only
  • Wanted to communicate with this computer over here these other computers would still receive the data
  • Even though that Data was [not] intended [for] them
  • So when this happens it not only creates security concerns, but it also creates unnecessary
  • traffic on the Network Which Wastes, Bandwidth
  • Now a switch is very similar [to] a hub?
  • It's also a device that has multiple ports that accepts Ethernet connections from Network Devices
  • But unlike a hub a switch is intelligent a switch can actually learn the physical
  • Addresses of the devices that are connected to it and it stores these physical
  • addresses called Mac addresses in its table
  • So when a data packet is sent to a switch. It's only directed to the intended destination port
  • unlike a hub where a hub will just rebroadcast the data to every port
  • So as an example if this computer here wanted to communicate with this computer over [here]
  • the Data Packet arrives at the switch
  • and then the switch will look at its table of Mac addresses and matching ports and
  • Deliver the Data to the correct port and then the data packet would only go to that computer
  • So that's the major difference between a hub and a switch so as a result
  • Switches are far more preferred over hubs because they reduce any
  • unnecessary traffic on the Network
  • so as a review a hub only detects that a device is physically connected to it and
  • Ifs which can detect specific devices
  • That are connected to it because it keeps a record of the Mac addresses of those devices
  • Now hubs and switches are used to exchange Data within a local area network
  • For example [such] [as] in your home network or in a business
  • They are not used to exchange data outside their own network such as out on the internet
  • because to exchange or route data outside their own network to another network such as out on the [internet] [a]
  • Device needs to be able to read Ip
  • Addresses and hubs and switches do not read IP addresses, so that's where the router comes in
  • Now a router does exactly what its name implies a router is a device [that] routes or forwards data
  • from one network to another
  • Based on their IP address when a data packet is received from the router the router
  • inspects the Datas IP address and
  • Determines if the packet was meant for its own network or if it's meant [for] another network if the router
  • Determines that the Data packet is meant for its own network it receives it
  • But if it's not meant for its own network it sends it off to another network
  • So a router is essentially the Gateway of a network
  • So here we have a private network with its router and we'll refer to this as the red [Network]
  • Indicated by the red colored screens on the computers and over here you're going to have different data packets
  • Indicated by their different colors which represents different ip?
  • Addresses and they are going to be entering the red networks router from the internet
  • Now the router is only going to accept the Red Data packets
  • because they are the only ones that are intended for this [network], so
  • All of the other data packets the yellows blues Greens ETC will be rejected by [this] router
  • Because they were not intended [for] this network because their IP addresses were not meant for this network
  • Now here is an expanded view of [routers] over the [internet] there are four networks here
  • Indicated by their different colors and each network has their own router
  • along with their hubs or switches and their computers so [right] now as you can see each network is just
  • Exchanging information within their own network their data is not going out on the internet
  • So they are not communicating with other networks
  • They are just exchanging Data within their own network using their hub or switch
  • Now let's go ahead and exchange data between different networks
  • So let's say for [example] that this computer here on the red [Network]
  • Wants to communicate with a computer here on the blue Network
  • So for this to happen the data packet has to leave their own network and go out on the [internet]
  • So the computer sends their data
  • And it goes to the Network's router and once the data packet reaches the router
  • The Router will look at the IP
  • address of the Data Packet and then forward the Data out on the internet to the next router and
  • then make its way to the blue networks router and
  • then to the intended destination computer
  • So in a nutshell this is how routers work?
  • So in conclusion hubs and switches are used to create networks while routers are used to connect networks

Download subtitle

Description

This is an animated video that explains the difference between a hub, switch, and a router. It explains how a router works, how a switch works and how a hub works.

This is what I personally use https://amzn.to/2Ng9vsp
It's a modem/router combo that I have in my home.