Hubs and switch are devices that let you connect one or more computers to other computers, networked devices, or even other networks. Each has two or more ports into which you plug in the cables to make the connection. There are some differences between switch vs hub. I often see the terms misused, so let’s clarify what each one really means so in this article I just make the comparison of both switch vs hub.
Comparison between switch vs hub
Device/function | ||
Layer | Physical Layer (Layer 1) -Hubs are classified as Physical layer (Layer 1) device of the Open system interconnected (OSI) model. | Data Link layer (layer2) and some switches working in layer 3 which is called multilayer switch |
Function | Mostly used for personal computer network - To connect a network of personal computers together, they can be connected through a central hub. | Multiple devices can be connect Port can be managed VLAN Can Create On each port security can apply |
Data Transmission form | Bits or Electrical Signals | Frame (L2 Switch) Frame & Packet (L3 switch) |
Ports | 4 Ports 8 Ports 12 Ports | 5 Ports 8 Ports 16 Ports 24 Ports 48 ports Modular Switch Soft Switch |
Transmission Type | Always performs data flooding to all ports, may be unicast, multicast or broadcast | First-time broadcast, then multicast and unicast as needed. |
Device Type | Passive Device (Without Software) | Active Device (With Software) & Networking device |
Used in | ||
Table | Can’t learn or store MAC address. | Learn and store mac address on its mac table |
Transmission Mode | Half duplex | Half Duplex and Full Duplex |
Broadcast Domain | Hub has single Broadcast Domain and single collision domain | Switch has single broadcast domain unless creating VLANs And each port of a switch is collision domain |
Spanning-Tree | No Spanning-Tree | Many Spanning-tree Possible in the switch |
Speed | 10Mbps | 10/100/1000 Mbps |
The address used for data transmission | Uses MAC address | Uses MAC address |
[…] Basic Function of a Network Ethernet Switch and a Network Ethernet Hub are same. That is to forward Layer 2 packets (Ethernet frames) from source device to destination device. But a Network switch is more intelligence than a hub.Because an Ethernet switch uses MAC addresses to make forwarding decisions. It is completely unaware of the protocol being carried in the data portion of the frame, such as an IPv4 packet. The switch makes its forwarding decisions based only on the Layer 2 Ethernet MAC addresses. […]
ReplyDelete