Difference between Hub and Switch

This article gives information about like layers, purpose, functionality, number of the port, speed, cost, elements to know more details about hub and switches.
  • Hub uses physical layer, Switch uses a data link layer.
  • Hub is a passive device, Switch is an active device.
  • Hub is to connect a network of personal computers together, they can be joined a central hub while Switch is to allow connection to multiple devices, manage ports and also have manage VLAN security settings.
  • In when we use hub electronics device that connects many networks device together so that device can exchange data while using networks switches is a computer networking device that is used to connect many more devices together on a computer network.
  • When we are using Hub data transmission using electrical signal or bits while When we are using switch data transmission using frame and packet.
  • Hub has 4/12 port while switches are multiport bridges that have 24/8 port.
  • Hub cannot learn or store MAC address and switch store MAC addresses in a lookup table.
  • In using hub speed up to 10 Mbps, using switch speed up to 10/100 Mbps or 1 Gbps.
  • A switch is an intelligent device, a hub is not an intelligent device.
  • Hub has one broadcast domain while a switch is one broadcast domain (unless VLAN implemented.
  • When we use switches many spanning-tree is possible and when we use hub there is no spanning-tree is possible.
  • When we have use hub transmission mode has a half duplex and when we use switches transmission mode has half/full duplex.
  • Sun system, Oracle, and Cisco are the manufactures of the hub while Cisco and D-link juniper are manufactures of switches.
  • Hubs were less cheap in the past but switch prices have come down significantly.
  • Switches have replaced hubs in most modern day application nowadays.
  • Collision doesn't happen in switches but are very common in hubs.
  • Bandwidth is shared among network elements causing slowdown.
  • The number of elements is severely limited for hubs as compared to switches.

Popular Posts