-
Difference Between Switch and Hub:
1. From the perspective of OSI architecture, the hub belongs to the first layer of OSI's physical layer device, and the switch belongs to the second layer of OSI's data link layer device. It also means that the hub only plays the role of synchronization, amplification and shaping for data transmission, and cannot effectively process the short frames and fragments in data transmission, and cannot ensure the integrity and correctness of data transmission; The switch can not only synchronize, amplify and shape the data transmission, but also filter short frames and fragments.
2. From the perspective of working mode, the hub is a broadcast mode, that is to say, when a certain port of the hub is working, all other ports can listen to the information, which is easy to produce broadcast storms, and the network performance will be greatly affected when the network is large. When the switch is working, only the requesting port and the destination port respond to each other without affecting other ports, so the switch can isolate the collision domain and effectively suppress the generation of broadcast storms.
3. From the perspective of bandwidth, no matter how many ports there are in the hub, all ports share a bandwidth, only two ports can transmit data at the same time, and other ports can only wait, and the hub can only work in half-duplex mode; For switches, each port has an exclusive bandwidth, when the two ports work does not affect the work of the other ports, and the switch can work not only in half-duplex mode but also in full-duplex mode.
-
All ports on a hub compete for the bandwidth of a shared channel, so as the number of network nodes increases, the amount of data transferred increases, and the available bandwidth per node decreases. The hub transmits data in the form of broadcasts, i.e., to all ports. All ports on the switch have exclusive channel bandwidth to ensure fast and efficient data transmission on each port.
The switch provides an exclusive, point-to-point connection for the user, and packets are sent only to the destination port and not to all ports.
To put it simply: the former is shared bandwidth and the latter is exclusive bandwidth!
Example: 1st floor!
-
The hub is the OSI's first-house thermal physical house device, while the switch is the OSI's second-house data link device. That is to say, the hub only plays the role of synchronization, amplification and shaping of data transmission, and the short posts and fragments in the logarithmic transmission cannot be effectively processed, and the integrity and correctness of data transmission cannot be guaranteed; The switch can not only synchronize, amplify, and shape the data, but also filter short posts and fragments. This is the difference between a container and a switch.
-
The way it works is different.
Generally, switches are more powerful than hubs, and some switches also have routing functions.
The specific difference is popular.
If it's all 5 mouths, it's 100m, then.
The hub has 5 ports that share the 100M, while the switch has each port that is 100M.
They also work in different layers of ISO's OSI protocol.
Now the hub is almost eliminated, because the switch is already very cheap, 5 ports, only a few tens of yuan.
-
Let's take an example, for example, there are four machines in a, b, c d, connected by hubs, when they communicate with each other, for example, A wants to transmit data to B, but at the same time C also has to transmit data to D, they cannot be transmitted at the same time, that is to say, when A transmits data to B, C cannot transmit data to DAnd the switch allows them to do it at the same time.
Got it.
-
For example, if you use a hub with a bandwidth of 100 Mbit/s for 5 people, not 20 Mbit/s per person. It can also reach 100m, but it is not as powerful as a switch.
-
For example, the 100MB hub is 100MB shared, while the switch is 100MB dedicated.
The difference between a switch and a hub.
From the perspective of OSI architecture, hubs belong to the first layer physical layer devices of OSI, while switches belong to the second layer of data link devices of OSI. This means that the hub only plays the role of synchronization, amplification and shaping for data transmission, and cannot effectively deal with short frames and fragments in data transmission, and cannot ensure the integrity and correctness of data transmission; The switch can not only synchronize, amplify and shape the data transmission, but also filter short frames and fragments. >>>More
with crossed lines. Hubs and switches do not need to be configured. After the connection is made, the host can set the IP address of the same network segment to access the same network at the same time. >>>More
The hub does not have a switch** function, the information received from one port is broadcast from all other ports, and the hub only acts as a signal amplification. >>>More
The hub does not have a switch** function, the information received from one port is broadcast from all other ports, and the hub only acts as a signal amplification. >>>More