1. Router :
Router is a networking device which works at the network layer i.e., third layer of the ISO-OSI model. It establish a simple connection between the networks in order to provide the data flow between the networks. Router transfers data in the form of packet is used in LAN as well as MAN.
2. Hub :
Hub is a simple networking device which operates only on the physical layer i.e., first layer of the ISO-OSI model. Hub is used to transmit the signal in the form of electric signals and does not provide packet filtering. It is type of half duplex transmission mode and is generally used in LAN only.
Difference between Router and Hub :
|1.||Router operates at the network layer of OSI model.||Hub operates on the physical layer of OSI model.|
|2.||Router provides the full duplex mode of transmission.||Hub provides the half duplex mode of transmission.|
|3.||Router transfers data in the form of packet.||Hub transmits data in the form of electric signals or bits.|
|4.||Router is very sophisticated device and widely used.||Hub is simply primitive type of device and is not generally used.|
|5.||Router is relatively expensive device.||Hub is not an intelligent device hence it is comparatively much cheaper.|
|6.||Router is used in LAN as well as MAN.||While Hub is generally used in LAN only.|
|7.||Routing are of two types : Adaptive and Non-adaptive routing.||Hubs are of two types : Active and Passive Hub.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.