Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Should I use a hub or a switch?
Should I use a hub or a switch?
From the working mode, the hub is a broadcast mode, that is, when one port of the hub works, all other ports are well-known monitoring information, which is prone to broadcast storms. When the network is large, the network performance will be greatly affected, so what can be done to avoid this phenomenon? Switches can play this role. When the switch works, only the request port and the destination port respond to each other without affecting other ports, then the switch can isolate the collision domain and effectively suppress the broadcast storm.

In terms of bandwidth, no matter how many ports the hub has, all ports enjoy a bandwidth, only two ports can transmit data at the same time, and other ports can only wait; At the same time, the hub can only work in half-duplex mode. For the switch, each port has its own bandwidth, and when two ports work, it will not affect the work of other ports. At the same time, the switch can work in half-duplex mode and full-duplex mode.

From the perspective of OSI architecture, the hub belongs to the first physical layer equipment of OSI, while the switch belongs to the second data link layer equipment of OSI. This means that the hub only plays the role of synchronization, amplification and shaping of data transmission, and cannot effectively deal with short frames and fragments in data transmission, and cannot guarantee the integrity and correctness of data transmission; The switch can not only synchronize, amplify and shape data transmission, but also filter short frames and fragments.

To sum up, the switch is the general trend and the price is very cheap. Generally, the more reputable switches are TP-Link and Huawei.