top of page

Hub vs Switch

WHAT IS IT ?

  • There are a lot of networking devices available in the market through with more than one computers can able to communicate each other.

  • But they all have different feature and functions.

  • Here we will discuss 2 network devices HUB and SWITCH.

  • Both are being used for making a network of no. of computers.

  • Hubs and switches serve as a central connection for all of your network equipment and handles a data type known as frames. 

Hub:

  • Is a common connection point for devices in a network. 

  • A hub sends data packets (frames) to all devices on a network, regardless of any MAC addresses contained in the data packet.

  • The hub contains multiple ports.

  • When a packet arrives at one port, it is copied to the other ports so that all segments of the LAN can see all packets.

Switch:

  • Switches are similar to hubs, only smarter.

  • A device that filters and forwards packets between LAN segments.

  • A switch in an Ethernet-based LAN reads incoming TCP/IP data packets/frames containing destination information as they pass into one or more input ports.

  • Here are the key differences between the hub and the switch in a network.

Hub

Switch

vs

  • Broadcast data to all connected computer.

Data

  • Sends data only to the specified computer.

Data

  • Half-duplex communication.

  • Only one device can send data at a time.

  • Full-duplex communication.

  • Multiple devices can send data at the same time.

  • A network hub cannot learn and store MAC address.

No CAM table

  • Uses content accessible memory (CAM) table to store corresponding MAC address with its port number.

Port no

Mac add.

CAM table

  • Hub sends data in the form of packets.

  • The switch sends data in the form of frames.

  • Works under physical layer of OSI model.

Hub

  • Works under data link layer of OSI model. 

Switch

bottom of page