A hub and a router are both electronic devices used in computer systems networking. A router is a more sophisticated device with both hardware and software that is used to connect multiple area networks (LANs and WANs), or two or more logical subnets.

See also Hub vs. Switch.

Comparison chart

Hub versus Router comparison chart
Edit this comparison chartHubRouter
Layer Physical layer. Hubs are classified as Layer 1 devices per the OSI model. Network Layer (Layer 3 devices)
Function To connect a network of personal computers together, they can be joined through a central hub. Directs data in a network. Passes data between home computers, and between computers and the modem.
Data Transmission form Electrical signal or bits Packet
Ports 4/12 ports 2/4/8
Transmission Type Hubs always perform frame flooding; may be unicast, multicast or broadcast At Initial Level Broadcast then Uni-cast & Multicast
Device Type Passive Device (Without Software) Networking device
Table A network hub cannot learn or store MAC address. Store IP address in Routing table and maintain address at its own.
Transmission Mode Half duplex Full duplex
Broadcast Domain Hub has one Broadcast Domain. In Router, every port has its own Broadcast domain.
Definition An electronic device that connects many network device together so that devices can exchange data A router is a networking device that connects a local network to other local networks. At the Distribution Layer of the network, routers direct traffic and perform other functions critical to efficient network operation.
Speed 10Mbps 1-10 Mbps (Wireless); 100 Mbps (Wired)
Address used for data tramsmission Uses MAC address Uses IP address
Necessary for Internet Connection? No. No, but provides additional security and allow for multiple connections.

Share this comparison:

If you read this far, you should follow us:

"Hub vs Router." Diffen.com. Diffen LLC, n.d. Web. 21 Jan 2017. < >