The difference between HUB and switch

Overview
After the HUB receives the data packet, it will forward it to all other ports, while the switch will only forward the data packet to the specific port (the corresponding computer MAC address).

1. Theoretical functional differences
HUB work At the physical layer, after receiving data, it will be forwarded to other ports, which just acts as a "transit station";
while the switch works at the data link layer, after receiving data, it will forward the data to the corresponding port according to the IP of the destination address. Data

2. The difference in network speed
HUB is a hub that supports half-duplex working mode, just like a walkie-talkie. At the same time, only one party can speak. After speaking, the other party can speak OVER. Ha ha. Support up to 10M network speed. And the bandwidth is shared, like a river, the more tributaries, the less flow of each tributary.
Relatively speaking, the switch has more advantages in these aspects: the full-duplex working mode is no longer a walkie-talkie, but a mobile phone, and both parties can hear it at the same time. Generally, it supports 100M network speed (now there are many Gigabit switches). Exclusive bandwidth. If the network speed of the incoming line is 2M, then the host connected to the switch, no matter how many units are connected, the theoretical network speed can also enjoy the bandwidth of 2M.
Now the switch has gradually replaced the status of the HUB, but in some special purposes, the HUB still plays a role that the switch cannot replace.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326961805&siteId=291194637