0% found this document useful (0 votes)
120 views2 pages

Difference Between Hub, Switch and Router - GeeksforGeeks

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

Read Discuss Courses

decision about the route i.e. to determine which of several possible paths
between the source and destination is the best for a particular transmission.

It works on the network layer 3 and used in LANs, MANs and WANs. It stores
IP address and maintains address on its own.

Difference between Hub, Switch and Router :

Sr. Hub Switch Router


No

Hub is a physical
Switch is a data link layer Router is a network layer
1. layer device i.e. layer
device i.e. layer 2. device i.e. layer 3.
1.

A Hub works on the


Switch works on the basis A router works on the basis
2. basis of
of MAC address. of IP address.
broadcasting.

A Switch is a tele-
A Hub is a multiport communication device A router reads the header
repeater in which a which receives a message of incoming packet and
signal introduced at from any device forward it to the port for
3. the input of any port connected to it and then which it is intended there
appears at the transmits the message by determines the route. It
output of the all only to the device for can also perform filtering
available ports. which the message is and encapsulation.
intended.

A route is more
sophisticated and
intelligent device as it can
Hub is not an A Switch is an intelligent
read IP address and direct
intelligent device device as it passes on the
the packets to another
4. that may include message to the selective
network with specified IP
amplifier on device by inspecting the
address. Moreover routers
repeater. address.
can built address tables
that helps in routing
decisions.
Sr. Hub Switch Router
No

At least single
At least single network is Router needs at least two
5. network is required
required to connect. networks to connect.
to connect.

Hub is cheaper as Router is a relatively much


Switch is an expensive
6. compared to switch more expensive device
device than hub.
and router. than hub and switch.

Speed of original maximum speed for


hub 10Mbps and maximum speed is wireless is 1-10 Mbps and
7.
modern internet hub 10Mbps to 100Mbps. maximum speed for wired
is 100Mbps. connections is 100 Mbps.

Hubs are used in Routers are used in LANs,


8. Switch is used in LANs.
LANs. MANs and WANs.

Unlock the Power of Placement Preparation!


Feeling lost in OS, DBMS, CN, SQL, and DSA chaos? Our Complete Interview
Preparation Course is the ultimate guide to conquer placements. Trusted by
over 100,000+ geeks, this course is your roadmap to interview triumph.
Ready to dive in? Explore our Free Demo Content and join our Complete
Interview Preparation course.

Last Updated : 21 Dec, 2022 28

Similar Reads
Network Devices (Hub, Difference between Router
Repeater, Bridge, Switch, and Hub
Router, Gateways and…

Difference between Hub and Difference between Router


Switch and Switch

Difference between Router Difference between LAN


and Layer-3 Switch Switch and SAN Switch

You might also like