Hub vs Switch – Differences

Device Hub Switch
Layer Layer 1 device; Physical Layer Layer 2 device; Data link Layer
Device type Multiport repeater.

Pass all information received to all connected devices. It creates unnecessary traffic.

Network device.

Pass information only those devices need it. It avoids unnecessary traffic.

Network Use for smaller network Use for larger network
Function Connect a network, computers join in central hub Join multiple computers together within one local area network (LAN).
VLAN There is no VLAN function. VLAN can be created and security can be applied.
Broadcast One. One broadcast domain.

By default, do not breakup broadcast domain.

Forwarding Broadcast all connected devices. By default, do not forward packets to other networks like routers.
Bandwidth Provides less bandwidth. Provides more bandwidth.
Collision domain One.

Collision occurs commonly.



No collision occurs in full duplex switch.

Spanning Tree No Many
Duplex Half duplex Half / Full duplex
Ports Up to 12 ports Up to 48 ports
Speed Up to 10 Mbps Up to 10 Gbps


  • Layer 2 device; Data link Layer
  • Allow to connect multiple devices and port can be manged. Vlan can create & security can be apply.
  • Do not breakup broadcast domain by default
  • Do not forward packets to other networks like routers
  • Providing more bandwidth for LAN users
  • Only ‘Switch’ frames from one port to another within the switched network
  • Use hardware address to filter a network
  • Many collision domain
  • One broadcast domain


  • Layer 1 device; Physical Layer
  • To connect network, join through central hub
  • 1 Collision domain
  • 1 broadcast domain
  • Never full duplex
  • Multi-port repeater

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s