What is hub?
- Hubs are devices used to link several computers together.
- They repeat any signal that comes in on one port and copy it to
the other ports (a process that is also called
broadcasting).
There are two types of hubs: active and passive.
-
- Passive hubs simply connect all ports together
electrically and are usually not powered.
- Active hubs use electronics to amplify and clean up
the signal before it is broadcast to the other ports.
- In the category of active hubs, there is also a class called
“intelligent” hubs, which are hubs that can be remotely managed on
the network.
Router
*******
- Routers are highly intelligent devices that connect multiple
network types and determine the best path for sending data.
- The advantage of using a router over a bridge is that routers
can determine the best path that data can take to get to its
destination.
- Like bridges, they can segment large networks and can filter
out noise. However, they are slower than bridges because they are
more intelligent devices; as such, they analyze every packet,
causing packet-forwarding delays. Because of this intelligence,
they are also more expensive.
- Routers are normally used to connect one LAN to another.
- Typically, when a WAN is set up, there will be at least two
routers used.
Switch
******
- A network switch is a computer networking
device that connects network segments.
- Low-end network switches appear nearly identical to network
hubs, but a switch contains more "intelligence" (and a slightly
higher price tag) than a network hub.
- Network switches are capable of inspecting data packets as they
are received, determining the source and destination device of that
packet, and forwarding it appropriately.
- By delivering each message only to the connected device it was
intended for, a network switch conserves network bandwidth and
offers generally better performance than a hub.
- A vital difference between a
hub and a switch is that all the
nodes connected to a hub share the bandwidth among themselves,
while a device connected to a switch port has the full
bandwidth all to itself.
- For example, if 10 nodes are communicating using a hub on a
10-Mbps network, then each node may only get a portion of the 10
Mbps if other nodes on the hub want to communicate as well. .
- But with a switch, each node could possibly communicate at the
full 10 Mbps.
if you have any doubt then please ask me without any hesitation
in the comment section below , if you like my answer then please
thumbs up for the answer , before giving thumbs down please discuss
the question it may possible that we may understand the question
different way and we can edit and change the answers if you argue,
thanks :)